This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21740] multiple definition of `__stack_chk_fail_local'
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 10 Jul 2017 18:16:33 +0000
- Subject: [Bug libc/21740] multiple definition of `__stack_chk_fail_local'
- Auto-submitted: auto-generated
- References: <bug-21740-131@http.sourceware.org/bugzilla/>
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.