[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ar and objcopy stuck, failing on object name containing '/' inside a
From: |
Nick Clifton |
Subject: |
Re: ar and objcopy stuck, failing on object name containing '/' inside an archive? |
Date: |
Wed, 17 Nov 2021 16:13:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
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 the object files, localize them one by one and
then put them back, does the problem go away ?
(In theory this should not make any difference at all, but you never know...)
When I try to extract everything in the archive:
arm-none-eabi-ar x librustlib.a
it extracts all objects up to that problem object with the '/' in the name, but
none after it.
Is this a bug?
Yes. :-) Either the extraction should complete with all of the
files being retrieved or else an error message should be displayed
and the exit status set to failure.
Please could you file a bug report for this problem here:
https://sourceware.org/bugzilla/enter_bug.cgi?product=binutils
If you could include a copy of the archive, or simple instructions
on how to create a similar one, that would help a lot.
Cheers
Nick
- Re: ar and objcopy stuck, failing on object name containing '/' inside an archive?,
Nick Clifton <=