[yocto] No GNU_HASH in the elf binary: error
Greg Wilson-Lindberg
GWilson at sakuraus.com
Mon Oct 9 11:59:52 PDT 2017
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-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Greg Wilson-Lindberg <GWilson at sakuraus.com>
Sent: Monday, October 9, 2017 11:42:42 AM
To: yocto at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171009/d31d0119/attachment.html>
More information about the yocto
mailing list