[LLVMbugs] [Bug 10155] New: C library functions in object files (building Qt's zlib)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 19 02:25:42 PDT 2011


           Summary: C library functions in object files (building Qt's
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: vanboxem.ruben at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=6748)
 --> (http://llvm.org/bugs/attachment.cgi?id=6748)
commandline and "nm" output for Clang and GCC objects

With Clang 3.0, on Windows x64 (built with GCC 4.6 for x86_64-w64-mingw32), a
lot of C library functions are placed in the .text section of object files
using them.

I have attached a text file detailing the commandlines (with a lot of Qt
specific stuff that shouldn't be very important) used to build the
"libbootstrap" library, with the "nm" output for both GCC and Clang produced
output. Note all the C library functions introduced in the .text section in the
case of Clang. This only seems to be a problem in the zlib source files, but
not all of them.

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