Mailinglist Archive: opensuse-packaging (114 mails)

< Previous Next >
Re: [opensuse-packaging] Stack protector isues?

On Sunday 2013-12-29 03:24, Ilya Chernykh wrote:

What causes this package to fail for 32-bit but build for 64-bit in Factory?

I receive the following error message:

[ 666s] /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS): In function
[ 666s]
undefined reference to `__stack_chk_fail'
[ 666s] collect2: error: ld returned 1 exit status
[ 666s] Error creating ./kdeprint/management/
Exit status 1.

__stack_chk_fail is only present in libc.a, but not libc_nonshared.a.

-rw-r--r-- 1 root root 23502316 Dec 10 13:09 libc.a
-rw-r--r-- 1 root root 72190 Dec 10 13:14 libc_nonshared.a

Given the huge size difference would indicate to me that whenever you
attempt to link in libc_nonshared.a (why would you do that on your
own?), you must also link in libc.a — and do so in the proper order,
which kdeprint might fail to do.

(And it also raises the question why you are even building
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >