FS#3810 - Build of x86_64 target fails on x86_64 host (libtool erroneously picks /usr/lib64/libc.so) #7002
Labels
flyspray
release/19.07
pull request/issue targeted (also) for OpenWrt 19.07 release
toolchain
pull request/issue with toolchain related changes
zhubr:
I'm building openwrt 19.08.7 x86_64 target on an x86_64 linux box, and building fails in libpcre, with a libtool complaining that it tried to relink libpcreposix.la, and for that it found /usr/lib64/libc.so with an invalid ELF header. The complaint is true somewhat, because indeed /usr/lib64/libc.so is not an ELF on my system, but obviously it should not even be trying to pick a local system library at the first place.
There is a very old similar bugreport (solved long ago) --
https://dev.archive.openwrt.org/ticket/8399
Note: 32-bit x86 builds complete successfully on this same box.
The text was updated successfully, but these errors were encountered: