Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2010 22:44:03 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        bf1783@gmail.com
Cc:        dougb@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: lang/perl5.10 doesn't build with gcc 4.5.1
Message-ID:  <AANLkTillxwO437ELLB4vEwJ2n9J54DNvq85rgHxY6N8q@mail.gmail.com>
In-Reply-To: <AANLkTimoea2dSiGKEFaOdT5xITtfYuSCh-Lj0G1iE4My@mail.gmail.com>
References:  <AANLkTimoea2dSiGKEFaOdT5xITtfYuSCh-Lj0G1iE4My@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 19, 2010 at 8:25 AM, b. f. <bf1783@googlemail.com> wrote:
> lang/perl5.* fails with -fstack-protector in CFLAGS, when built with
> the base system compiler, on some architectures. I used the attached
> patch with the base system compiler and lang/perl5.10 on 9-CURRENT
> i386 to fix the problem. =A0However, I never attempted to use it with
> lang/gcc45, because I did not want to introduce circular dependencies
> in my ports. =A0Your problem may be related.

This patch's logic is inverted:

$ make -f Makefile.cflags_test
-fstack-protector -fstack-protector-all
$ cat Makefile.cflags_test
CFLAGS+=3D	-fstack-protector -fstack-protector-all -funroll-loops

all:
	@echo ${CFLAGS:M-fstack-protector*}

I think you wanted :N...

HTH,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTillxwO437ELLB4vEwJ2n9J54DNvq85rgHxY6N8q>