https://sourceware.org/bugzilla/show_bug.cgi?id=28485
--- Comment #3 from Andrew Pullin ---
Ultimately, the workaround for this was to use the llvm/clang version of
objcopy to do the operation I needed to do to weaken symbols. Since the path
handling is consistent within their ecosystem, it was
https://sourceware.org/bugzilla/show_bug.cgi?id=28485
Alan Modra changed:
What|Removed |Added
Version|2.35.1 |2.35
--
You are receiving this mail
Hi Nick,
I filed a bug here:
https://sourceware.org/bugzilla/show_bug.cgi?id=28485
Per one of the replies, it seems like this might not be a "bug", but
simply a difference in definitions between binutils and llvm definitions
of the archive format.
It loos like the llvm format has allowances
Hi Andrew,
[Sorry for taking such a long time to reply to your email]
I am trying to localize some symbols in objects inside an archive.
Ultimately, it seems like the tools are failing because the .a appears to contain an
object with the name "bin/thumbv7em-none-eabihf.o".
If you extract
https://sourceware.org/bugzilla/show_bug.cgi?id=28485
--- Comment #2 from Alan Modra ---
(In reply to Andrew Pullin from comment #1)
> As far as I can tell, there is no defined behavior for how archive files
> with a path containing a directory should behavior with the ar utility.
https://sourceware.org/bugzilla/show_bug.cgi?id=28485
--- Comment #1 from Andrew Pullin ---
This appears to originate from here:
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=binutils/ar.c;h=8885585ef7537450f0f0990a5eeea7eb16bcad8f;hb=refs/heads/master#l1157
As far as I can tell,
https://sourceware.org/bugzilla/show_bug.cgi?id=28485
Bug ID: 28485
Summary: ar and objcopy stuck,failing on object name containing
'/' inside an archive
Product: binutils
Version: 2.35.1
Status: UNCONFIRMED
Hi folks,
I am having a little bit of trouble with ar and objcopy.
Unsure if I am doing something that I should not expect the tools to do,
or encountering a bug.
I am trying to localize some symbols in objects inside an archive.
Ultimately, it seems like the tools are failing because the .a