[llvm-bugs] [Bug 48124] New: We're trying to move to llvm-strip for our static libs

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 9 17:46:04 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48124

            Bug ID: 48124
           Summary: We're trying to move to llvm-strip for our static libs
           Product: libraries
           Version: 11.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Linker
          Assignee: unassignedbugs at nondot.org
          Reporter: jeffr at radgametools.com
                CC: llvm-bugs at lists.llvm.org

with llvm-strip -x S libname.a

And we're getting tons of errors saying:

"libname.a: not stripping symbol '.L.str' because it is named in a relocation"

There errordoesn't say the obj file that it comes from, so we don't know where
to look, and it's always a literal const char string. 

What's should we be looking here?

We use --strip-all --discard-all with the gcc strip and it works fine, so is
llvm-strip just more aggressive?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201110/5e95f56e/attachment-0001.html>


More information about the llvm-bugs mailing list