bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17832] New: strip --strip-unneeded removes needed symbol f


From: acfoltzer at acfoltzer dot net
Subject: [Bug binutils/17832] New: strip --strip-unneeded removes needed symbol from object file in archive
Date: Mon, 12 Jan 2015 19:48:44 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17832

            Bug ID: 17832
           Summary: strip --strip-unneeded removes needed symbol from
                    object file in archive
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: acfoltzer at acfoltzer dot net

Created attachment 8063
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8063&action=edit
archives in question

I'm working on a project targeting RHEL/CentOS 5.

On 32-bit systems with binutils 2.17, `strip --strip-unneeded` strips a
required symbol from a static archive, causing a subsequent linking to fail due
to an unresolved symbol.

On 64-bit systems with binutils 2.17, the same command does not cause any
problems.

I've attached the archives built for both architectures, both unstripped. The
symbol in question is `Threefish_256_Process_Block`, and should be defined in
the `threefish_block.o` member of the archive. After stripping, the 32-bit
version will have no symbols defined in that object file, but the 64-bit
version will keep it.

I did a local install of binutils 2.18, and using those there are no problems
on either architecture.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]