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

           Summary: OpenSolaris link failure, link commands missing key
                    libraries
           Product: Build scripts
           Version: 2.7
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=5296)
 --> (http://llvm.org/bugs/attachment.cgi?id=5296)
Build and environment details.

The build process fails to link the LLVM tools. Specifically, the first tool to
build is 'opt' which results in 700+ undefined symbols.

I looked into the Makefiles and found that the "LINK_COMPONENTS" make variable
does not get the correct set of libraries. In fact, at the top level
Makefile.rules, the variable is set to "support system", however, these do not
seem to make it to the 'opt' make context.

The list of libraries for 'opt' is (from the g++ link command):

... -lLLVMipo -lLLVMScalarOpts -lLLVMInstrumentation -lLLVMAsmParser
-lLLVMBitWriter -lLLVMBitReader ...

It is missing at a minimum LLVMCore, which when added reduces the unresolved
externals to 400+.

The attachment has build and environment details.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to