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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to