hppa-linux-gnu-ranlib: libcpp.a: File format not recognized

Maciej W. Rozycki macro@imgtec.com
Sat Dec 24 00:35:00 GMT 2016
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



More information about the Binutils mailing list