#8931: perl fails to build with gcc4 - multiple definition of `__stack_chk_fail_local' -----------------------+------------------------- Reporter: scottmc | Owner: nobody Type: bug | Status: new Priority: high | Milestone: R1/alpha4 Component: - General | Version: R1/alpha3 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -----------------------+------------------------- Perl was building just a few weeks ago, so something has changed recently to cause this failure. {{{ CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack- protector -std=c89 -O -Wall -ansi -W -Wextra -Wdeclaration-after- statement -Wendif-labels -Wc++-compat LIBRARY_PATH=/boot/common/develop/haikuports/dev- lang/perl/work/perl-5.10.1:%A/lib:/boot/home/config/lib:/boot/common/lib:/boot/system/lib gcc -fstack-protector -o miniperl \ gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \ miniperlmain.o opmini.o perlmini.o -lnetwork /boot/develop/abi/x86/gcc4/tools/gcc-4.6.2-haiku-120121/lib/gcc/i586-pc- haiku/4.6.2/../../../libssp.a(ssp.o): In function `__stack_chk_fail_local': (.text+0x150): multiple definition of `__stack_chk_fail_local' /boot/develop/abi/x86/gcc4/tools/gcc-4.6.2-haiku-120121/lib/gcc/i586-pc- haiku/4.6.2/../../../libssp_nonshared.a(libssp_nonshared_la-ssp- local.o):(.text+0x0): first defined here collect2: ld returned 1 exit status make: *** [miniperl] Error 1 }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/8931> Haiku <http://dev.haiku-os.org> Haiku - the operating system.