Date: Fri, 18 Jun 2010 22:15:33 -0700 From: Doug Barton <dougb@FreeBSD.org> To: perl@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: lang/perl5.10 doesn't build with gcc 4.5.1 Message-ID: <4C1C5275.9000907@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
I've been experimenting with the idea of using gcc 4.5.1 as my "ports compiler" and ran into this problem: CCCMD = /usr/local/bin/gcc45 -DPERL_CORE -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.10.1/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -std=c89 -pipe -g -march=native -g -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat LD_LIBRARY_PATH=/usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1 /usr/local/bin/gcc45 -pthread -Wl,-E -fstack-protector -L/usr/local/lib -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 -lm -lcrypt -lutil gv.o: In function `Perl_gv_fetchfile_flags': /usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1/gv.c:161: undefined reference to `__stack_chk_fail_local' gv.o: In function `Perl_gv_stashpvn': /usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1/gv.c:878: undefined reference to `__stack_chk_fail_local' gv.o: In function `Perl_gv_fetchpvn_flags': /usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1/gv.c:1426: undefined reference to `__stack_chk_fail_local' toke.o: In function `S_feature_is_enabled': /usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1/toke.c:586: undefined reference to `__stack_chk_fail_local' toke.o: In function `S_intuit_more': /usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1/toke.c:2724: undefined reference to `__stack_chk_fail_local' toke.o:/usr/local/tmp/usr/local/ports/lang/perl5.10/work/perl-5.10.1/toke.c:2835: more undefined references to `__stack_chk_fail_local' follow /usr/local/bin/ld: miniperl: hidden symbol `__stack_chk_fail_local' isn't defined /usr/local/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status *** Error code 1 Full log is at http://people.freebsd.org/~dougb/perl-510-build.log It works fine with gcc 4.2.1. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1C5275.9000907>