This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/21740] multiple definition of `__stack_chk_fail_local'


https://sourceware.org/bugzilla/show_bug.cgi?id=21740

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
On i686, __stack_chk_fail_local is used, we may get

[hjl@gnu-6 build-i686-linux]$ cc -g /tmp/ssp-1.c -g -fstack-protector -m32
-static -fPIC -L.
./libc.a(stack_chk_fail.o): In function `__stack_chk_fail':
/export/ssd/git/sources/glibc/debug/stack_chk_fail.c:27: multiple definition of
`__stack_chk_fail_local'
./libc.a(stack_chk_fail_local.o):/export/ssd/git/sources/glibc/debug/stack_chk_fail_local.c:44:
first defined here
collect2: error: ld returned 1 exit status
[hjl@gnu-6 build-i686-linux]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]