[LLVMbugs] [Bug 1436] NEW: Bootstrapping llvm-gcc4 fails at compile-time, not configure-time

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 18 22:41:07 PDT 2007


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

           Summary: Bootstrapping llvm-gcc4 fails at compile-time, not
                    configure-time
           Product: Build scripts
           Version: cvs
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: autoconf
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: danchr at daimi.au.dk


I forgot to pass --enable-llvm to the configure script. Unfortunately, this lead
to a compile-time error which didn't make sense to me.

Optimally, the configure script should have detected that llvm-gcc4 was unable
to bootstrap in my environment[1], and reported the error to me. I'll post a
patch which has llvm-gcc4 check for LLVM and fail if it isn't present.

Reid indicated that it might bootstrap in Apple-private environments, but
shouldn't configure then detect those? Please say so if you want the patch to
detect Darwin 9, or anything else that might cause the bootstrap failure.

This is my first bug to LLVM; any constructive criticism would be greatly
appreciated :-)

[1] A fairly standard setup of Mac OS X 10.4.9.

P.S.: For the record, I was attempting a profiledbootstrap, and I'm afraid I've
lost the original failure. Still, isn't it a fair assumption that anyone
attempting to compile llvm-gcc4 on Tiger would be doing so for LLVM?



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list