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

             Bug #: 13144
           Summary: opt should not be stripped during installation
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


'opt' is stripped in Release builds, but this causes removals of some symbols
which can be needed by loaded plugins. In a dynamic build of LLVM this is not a
problem but in static builds this might prevent plugin usage. Plugins
themselves cannot be statically linked with LLVM libs as this will cause
duplicate symbols when loading them into 'opt'.

Solution is not to strip 'opt' in any case (KEEP_SYMBOLS := 1).

I sent a mail to llvmdev about this:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-June/050689.html

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