[Bug binutils/28485] ar and objcopy stuck,failing on object name containing '/' inside an archive

2022-06-22 Thread pullin at berkeley dot edu
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

[Bug binutils/28485] ar and objcopy stuck,failing on object name containing '/' inside an archive

2022-06-22 Thread amodra at gmail dot com
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

Re: ar and objcopy stuck, failing on object name containing '/' inside an archive?

2021-11-17 Thread Andrew Pullin
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

Re: ar and objcopy stuck, failing on object name containing '/' inside an archive?

2021-11-17 Thread Nick Clifton
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

[Bug binutils/28485] ar and objcopy stuck,failing on object name containing '/' inside an archive

2021-10-21 Thread amodra at gmail dot com
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.

[Bug binutils/28485] ar and objcopy stuck,failing on object name containing '/' inside an archive

2021-10-21 Thread pullin at berkeley dot edu
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,

[Bug binutils/28485] New: ar and objcopy stuck,failing on object name containing '/' inside an archive

2021-10-21 Thread pullin at berkeley dot edu
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

ar and objcopy stuck, failing on object name containing '/' inside an archive?

2021-10-16 Thread Andrew Pullin
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