public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/35377] New: stack-protector: multiple definition of `__stack_chk_fail_local'
@ 2008-02-26 11:35 gzp at gmx dot net
2008-12-27 9:12 ` [Bug other/35377] " gzp at gmx dot net
0 siblings, 1 reply; 2+ messages in thread
From: gzp at gmx dot net @ 2008-02-26 11:35 UTC (permalink / raw)
To: gcc-bugs
I was compiled and installed gcc-4.2.3 on Linux 2.4, glibc 2.3.6
main configure options was:
--enable-shared=libstdc++
--enable-static
--disable-debug
--enable-cpp
--enable-languages=c,c++
--enable-threads
After successfully compile and install got some problems when compiling apps
using the -fstack-protector option:
Linking C executable at-parser
/pkg/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../libssp.a(ssp.o): In function
`__stack_chk_fail_local':
/home/gzp/src/gcc-4.2.3/obj/i686-pc-linux-gnu/libssp/../../../libssp/ssp.c:175:
multiple definition of `__stack_chk_fail_local'
/pkg/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../libssp_nonshared.a(libssp_nonshared_la-ssp-local.o):/home/gzp/src/gcc-4.2.3/obj/i686-pc-linux-gnu/libssp/../../../libssp/ssp-local.c:48:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [tests/at-parser] Error 1
libssp present only in static format, as libssp_nonshared.
--
Summary: stack-protector: multiple definition of
`__stack_chk_fail_local'
Product: gcc
Version: 4.2.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gzp at gmx dot net
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35377
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug other/35377] stack-protector: multiple definition of `__stack_chk_fail_local'
2008-02-26 11:35 [Bug other/35377] New: stack-protector: multiple definition of `__stack_chk_fail_local' gzp at gmx dot net
@ 2008-12-27 9:12 ` gzp at gmx dot net
0 siblings, 0 replies; 2+ messages in thread
From: gzp at gmx dot net @ 2008-12-27 9:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from gzp at gmx dot net 2008-12-27 09:11 -------
ping, the problem still exist, due the combinations of the configure options
(static vs shared)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35377
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-27 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 11:35 [Bug other/35377] New: stack-protector: multiple definition of `__stack_chk_fail_local' gzp at gmx dot net
2008-12-27 9:12 ` [Bug other/35377] " gzp at gmx dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).