[yocto] No GNU_HASH in the elf binary: error
Greg Wilson-Lindberg
GWilson at sakuraus.com
Mon Oct 9 11:42:42 PDT 2017
I'm getting a "No GNU_HASH in the elf binary" error. The documentation says to add LD_FLAGS to the ld command line, but it's already there:
LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
Here is the command that produces the offending elf binary:
arm-poky-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/raspberrypi3 -shared -Wl,-soname,libcanfestival_can_socket.so -o libcanfestival_can_socket.so can_socket.o
Can anyone shed more light on this? Could there be some reason that the flags aren't being passed to the loader? Or some other missing flag?
Regards,
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171009/2494417b/attachment.html>
More information about the yocto
mailing list