[LLVMbugs] [Bug 13144] New: opt should not be stripped during installation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 19 01:24:06 PDT 2012


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: unassignedbugs at nondot.org
        ReportedBy: carlos.delalama at urjc.es
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list