[LLVMbugs] [Bug 8659] New: tcmalloc in Chromium segfaults when compiled with both -fPIC and integrated-as

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Nov 21 18:44:19 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8659

           Summary: tcmalloc in Chromium segfaults when compiled with both
                    -fPIC and integrated-as
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chromium at hybridsource.org
                CC: llvmbugs at cs.uiuc.edu


integrated-as was turned on by default in Chromium this week
(http://crrev.com/66265), but Chromium trunk built with clang trunk 119910
segfaults right away when run on FreeBSD amd64.  If I compile with clang using
no-integrated-as, Chromium works fine with the system GNU assembler. 
Alternately, removing the -fPIC flag from the tcmalloc component alone also
fixes the problem.  Since -fPIC doesn't pose a problem for the GNU assembler,
this is probably a bug in clang's integrated-as that is somehow surfaced by
tcmalloc, as the rest of Chromium compiles fine with the -fPIC/integrated-as
combo.  Let me know what other info might help reduce this problem.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list