[LLVMbugs] [Bug 8676] New: Clang fails to selfhost on i386-darwin10: missing __eprintf symbol

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 23 16:11:54 PST 2010


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

           Summary: Clang fails to selfhost on i386-darwin10: missing
                    __eprintf symbol
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: stoklund at 2pi.dk
                CC: llvmbugs at cs.uiuc.edu


A simple i386-apple-darwin10 clang selfhost fails with a linker error:

http://google1.osuosl.org:8011/builders/clang-i386-darwin10-selfhost-rel/builds/15

Undefined symbols:
  "___eprintf", referenced from:
      ___eprintf$non_lazy_ptr in
libLLVMSystem.a(SearchForAddressOfSpecialSymbol.o)
     (maybe you meant: ___eprintf$non_lazy_ptr)
ld: symbol(s) not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Presumably, compiling clang with compiler-rt should fix this, but that requires
ARM bits to be installed, see PR8655.

-- 
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