I had implemented the recommended fix for this error but it didn't take on the 
first try. I sent out the email and started on another error and the GNU_HASH 
error has now disappeared. So I guess this thread needs to be ignored, sorry 
for the noise.


Regards,

Greg

________________________________
From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Greg Wilson-Lindberg <gwil...@sakuraus.com>
Sent: Monday, October 9, 2017 11:42:42 AM
To: yocto@yoctoproject.org
Subject: [yocto] No GNU_HASH in the elf binary: error


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