$ echo "TCLIBC = 'musl'" >> conf/local.conf $ echo "MACHINE = 'qemux86'" >> conf/local.conf $ bitbake flac ... | libtool: link: (cd .libs/libFLAC++-static.lax/libFLAC-static.a && i686-oe-linux-musl-gcc-arx "/buildarea5/hjia/oe-core/build/tmp/work/core2-32-oe-linux-musl/flac/1.5.0/build/src/libFLAC++/ ../libFLAC/.libs/libFLAC-static.a") | build/tmp/work/core2-32-oe-linux-musl/flac/1.5.0/recipe-sysroot-native/usr/bin/ i686-oe-linux-musl/../../libexec/i686-oe-linux-musl/gcc/i686-oe-linux-musl/15.2.0/ld: .libs/metadata.o: in function `FLAC::Metadata::VorbisCo mment::set_comment(unsigned int, FLAC::Metadata::VorbisComment::Entry const&)': | /usr/src/debug/flac/1.5.0/src/libFLAC++/metadata.cpp:913:(.text+0x2032): undefined reference to `__stack_chk_fail_local' ...
Disable stack smash protection to workaround the failure Signed-off-by: Hongxu Jia <[email protected]> --- meta/recipes-multimedia/flac/flac_1.5.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb index d6df801aec..1813b75faa 100644 --- a/meta/recipes-multimedia/flac/flac_1.5.0.bb +++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb @@ -26,6 +26,10 @@ EXTRA_OECONF = "--disable-oggtest \ --without-libiconv-prefix \ " +# /usr/src/debug/flac/1.5.0/src/libFLAC++/metadata.cpp:913: +# (.text+0x2032): undefined reference to `__stack_chk_fail_local' +EXTRA_OECONF:append:libc-musl = " --disable-stack-smash-protection" + PACKAGECONFIG ??= " \ ogg \ " -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229263): https://lists.openembedded.org/g/openembedded-core/message/229263 Mute This Topic: https://lists.openembedded.org/mt/117242048/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
