From owner-freebsd-perl@FreeBSD.ORG Sat Jun 19 05:42:15 2010 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36370106566B for ; Sat, 19 Jun 2010 05:42:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id D4B5E8FC0A for ; Sat, 19 Jun 2010 05:42:14 +0000 (UTC) Received: (qmail 27333 invoked by uid 399); 19 Jun 2010 05:15:34 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Jun 2010 05:15:34 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C1C5275.9000907@FreeBSD.org> Date: Fri, 18 Jun 2010 22:15:33 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: perl@FreeBSD.org, freebsd-ports@FreeBSD.org X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: lang/perl5.10 doesn't build with gcc 4.5.1 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2010 05:42:15 -0000 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/