On Sun, Oct 10, 2021 at 6:45 PM JH <[email protected]> wrote:
>
> Hi,
>
> I have following errors:
>
> No GNU_HASH in the ELF binary
> /build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/solar/1.0.0-0/packages-split/wifi_signal,
> didn't pass LDFLAGS? [ldflags]
>
> So I add --hash-style=gnu to my Makefile:
>
> LD_FLAGS += --hash-style=gnu
> LDFLAGS = LD_FLAGS
>
> But that does not work:
>
> arm-oe-linux-gnueabi-gcc: error: unrecognized command line option
> '--hash-style=gnu'
>
> What is wrong about the error if the  --hash-style=gnu is not the right fix?
>

So it seems your makefile is not respecting the LDFLAGS coming from
the environment during linking.
perhaps you should fix that in your linking rules. hardcoding hash
style like this is not portable.

> Thank you.
>
> Kind regards.
>
> JH
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55019): https://lists.yoctoproject.org/g/yocto/message/55019
Mute This Topic: https://lists.yoctoproject.org/mt/86227801/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to