Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 768078

Summary: x11-libs/libva-2.7.1 - ld: .libs/libva_la-va.o: in function `va_parseConfig.part.0': va.c:(.text+0x222): undefined reference to `__stack_chk_fail_local' (on musl)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: aballier, ionen
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=706210
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2021-01-31 17:31:10 UTC
Created attachment 685293 [details]
build.log

[...]
libtool: link: i686-gentoo-linux-musl-gcc -shared  -fPIC -DPIC  .libs/libva_la-va.o .libs/libva_la-va_compat.o .libs/libva_la-va_fool.o .libs/libva_la-va_str.o .libs/libva_la-va_trace.o   -ldl  -fstack-protector -Os -march=pentium4 -fstack-protector -Wl,-version-script -Wl,/var/tmp/portage/x11-libs/libva-2.7.1/work/libva-2.7.1/va/libva.syms -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libva.so.2 -o .libs/libva.so.2.700.0
/usr/lib/gcc/i686-gentoo-linux-musl/10.2.0/../../../../i686-gentoo-linux-musl/bin/ld: .libs/libva_la-va.o: in function `va_parseConfig.part.0':
va.c:(.text+0x222): undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i686-gentoo-linux-musl/10.2.0/../../../../i686-gentoo-linux-musl/bin/ld: .libs/libva_la-va.o: in function `va_MessagingInit':
va.c:(.text+0x2c1): undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i686-gentoo-linux-musl/10.2.0/../../../../i686-gentoo-linux-musl/bin/ld: .libs/libva_la-va.o: in function `va_errorMessage':
va.c:(.text+0x462): undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i686-gentoo-linux-musl/10.2.0/../../../../i686-gentoo-linux-musl/bin/ld: .libs/libva_la-va.o: in function `va_infoMessage':
va.c:(.text+0x58f): undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i686-gentoo-linux-musl/10.2.0/../../../../i686-gentoo-linux-musl/bin/ld: .libs/libva_la-va.o: in function `va_openDriver':
va.c:(.text+0xf99): undefined reference to `__stack_chk_fail_local'
/usr/lib/gcc/i686-gentoo-linux-musl/10.2.0/../../../../i686-gentoo-linux-musl/bin/ld: .libs/libva_la-va_fool.o:va_fool.c:(.text+0x1a2): more undefined references to `__stack_chk_fail_local' follow
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:638: libva.la] Error 1
Comment 1 ernsteiswuerfel archtester 2021-01-31 17:31:41 UTC
Created attachment 685296 [details]
emerge --info
Comment 2 Jory A. Pratt gentoo-dev 2021-09-25 17:50:48 UTC
Gcc not links libssp_nonshared.a for all archs.