[LLVMbugs] [Bug 12950] New: compiler-rt fails to build with bootstrapped clang at r157206

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 25 15:11:26 PDT 2012


             Bug #: 12950
           Summary: compiler-rt fails to build with bootstrapped clang at
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

1. Do a regular build of llvm + clang + compiler-rt at r157206 (works fine),
with gcc or an existing clang as compiler
2. Do a bootstrap build of llvm + clang + compiler-rt, with the just-built

Expected: Works.

Actual: compiler-rt fails to build.

The error message is just:

make[5]: ***
Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: ***
Error 1
make[4]: *** [BuildRuntimeLibraries] Error 2
make[3]: *** [compiler-rt/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1

When building with VERBOSE=1, I see that ar is called like `ar 2> /dev/null`,
which explains why no error output is printed. If I remove that and rerun the
failing command, the output is:

/usr/bin/ranlib: object:
malformed object (unknown load command 1)
ar: internal ranlib command failed

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