------- Comment #2 from equinox-gccbug at diac24 dot net 2007-06-20 17:51 ------- Created an attachment (id=13749) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13749&action=view) Script for compiling test.c with different flags
# sh ./test.sh -fno-stack-protector : -fno-stack-protector -fvisibility=internal: -fno-stack-protector -DVIS_ATTR: -fno-stack-protector -DVIS_PRAGMA: -fno-stack-protector -DVIS_PRAGMA -DREF_BEFORE: -fstack-protector-all : -fstack-protector-all -fvisibility=internal: -fstack-protector-all -DVIS_ATTR: -fstack-protector-all -DVIS_PRAGMA: /usr/lib/gcc/i686-colt-linux-gnu/4.1.2/../../../../i686-colt-linux-gnu/bin/ld: /tmp/ccHCfgCk.o(.text+0x14): unresolvable relocation against symbol `__stack_chk_guard@@LIBSSP_1.0' /usr/lib/gcc/i686-colt-linux-gnu/4.1.2/../../../../i686-colt-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status -fstack-protector-all -DVIS_PRAGMA -DREF_BEFORE: -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32434