Mailinglist Archive: opensuse-packaging (155 mails)

< Previous Next >
Re: [opensuse-packaging] Re: Stack protector isues?
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 as well, given the name libc_nonshared.a
is always linked statically - is a linker script:

/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
GROUP ( /lib64/ /usr/lib64/libc_nonshared.a AS_NEEDED (
/lib64/ ) )

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 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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >