This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: <binutils at sourceware dot org>, Eric Christopher <echristo at apple dot com>, Martin Schwidefsky <schwidefsky at de dot ibm dot com>, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Sat, 24 Dec 2016 00:35:06 +0000
- Subject: Re: hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
- Authentication-results: sourceware.org; auth=none
- References: <20161222051439.GB9304@bubble.grove.modra.org>
On Thu, 22 Dec 2016, Alan Modra wrote:
> This stops an --enable-targets selection affecting the main target in
> regards to forcing 64-bit archives. It also means mips64 and s390x
> will revert to binutils-2.25 and binutils-2.26 behaviour of not
> forcing 64-bit archives at least in the common case when plugins were
> enabled.
>
> Since it appears no one even noticed the 2.25 and 2.26 behaviour on
> mips and s390, I think it's safe to go back to creating the standard
> archives on those targets. They will still create 64-bit archives if
> the size of their contents is too large for the 32-bit format.
Ack. This does sound reasonable to me if not obvious -- switching the
archive format based solely on the list of configured targets regardless
of the currently selected one or any explicit user action looks like a
questionable approach to me to say the least. Thanks for the fix.
Maciej