binutils update to 2.32 does not work anymore
The update to binutils-* 2.32 in commit 593fe01b breaks the build system:
configure:4513: checking for suffix of object files configure:4535: gcc -c -Os -fomit-frame-pointer -Os -fomit-frame-pointer conftest.c >&5 Error loading shared library libopcodes-2.32.so: Exec format error (needed by /usr/bin/as) Error loading shared library libbfd-2.32.so: Exec format error (needed by /usr/bin/as) Error loading shared library libz.so.1: Exec format error (needed by /usr/bin/as) Error relocating /usr/bin/as: bfd_errmsg: symbol not found Error relocating /usr/bin/as: deflateEnd: symbol not found Error relocating /usr/bin/as: bfd_arch_bits_per_address: symbol not found Error relocating /usr/bin/as: bfd_set_error_program_name: symbol not found Error relocating /usr/bin/as: xcalloc: symbol not found
This is from "config.log" in the builddir.
I'm reverting the commit and developing a fix for this.
Reproducing the error above:
- build binutils-armhf 2.32 for x86_64
pmbootstrap build --arch=armhf hello-world --force
I think this could be related to the recent triplet change for armhf, IIRC binutils was not updated since then.
Yep, pretty sure that this is the case. When building the previous binutils-armhf for x86_64 with --force, the same problem appears. This test was invalid, it installed the updated package from the binary repository. When testing again, the problem did not show up with the previous binuitls-armhf pmaport.
Oh, the 2.3.2 package did make it to the binary repo :\ I've deleted it from there now.
- binutils-aarch64 2.32 does work
- binutils-armv7 2.32 does work
- binutils-armhf 2.32 does not work
binutils-armhf 2.31 does work (even if recompiled)tested again, this does not work