Am 08.01.2014 01:09, schrieb Ilya Chernykh:
On Tuesday 07 January 2014 14:51:24 Andreas Schwab wrote:
The symbol is part of libc.so as well, given the name libc_nonshared.a is always linked statically - libc.so is a linker script:
/* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf64-x86-64) GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-x86-64.so.2 ) )
I think this is a bug in the linker in the logic for --as-needed in connection with GROUP. Apparently the linker does not go back and search libc.so.6 again for the undefined symbol __stack_chk_fail referenced by libc_nonshared.a. If I either remote --as-needed or add -lc a second time the link succeeds.
I doi not see --as-needed in the affected package from Factory.
It's default unless you set SUSE_ASNEEDED=0 Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org