meta-rust-bin icon indicating copy to clipboard operation
meta-rust-bin copied to clipboard

fix build error without LDFLAGS

Open sprhawk opened this issue 2 years ago • 2 comments

my custom recipe could be built under dunfell before. after I switch to hardknott, it reported: doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]

I added LDFLAGS into RUST_FLAGS

sprhawk avatar Nov 16 '21 05:11 sprhawk

Hi @sprhawk, can you provide more information on the software you were building that required this along with the Yocto version and any other details? Sorry for missing this when it first came in.

posborne avatar Sep 01 '22 22:09 posborne

@posborne hello, it was too long ago, I have forgotten it. I should be a c-interop library inside rust project, I was using hardknott

sprhawk avatar Sep 02 '22 06:09 sprhawk

I believe other changes will resolve the root of this by fixing the linker wrapper script path.

posborne avatar Oct 07 '23 02:10 posborne