lang/perl5.10 doesn't build with gcc 4.5.1

Garrett Cooper yanefbsd at gmail.com
Tue Jun 22 05:44:04 UTC 2010


On Sat, Jun 19, 2010 at 8:25 AM, b. f. <bf1783 at 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.  However, I never attempted to use it with
> lang/gcc45, because I did not want to introduce circular dependencies
> in my ports.  Your 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+=	-fstack-protector -fstack-protector-all -funroll-loops

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

I think you wanted :N...

HTH,
-Garrett


More information about the freebsd-ports mailing list