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

2010-06-22 Thread Doug Barton
On Mon, 21 Jun 2010, Garrett Cooper wrote: This patch's logic is inverted: Doesn't matter, ports Makefile fu isn't going to get the job done to remove -fstack-protector, see my post tonight about this. Doug -- Improve the effectiveness of your Internet presence with a dom

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

2010-06-22 Thread b. f.
On 6/22/10, Garrett Cooper wrote: > On Sat, Jun 19, 2010 at 8:25 AM, b. f. 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 >

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

2010-06-22 Thread Garrett Cooper
On Sat, Jun 19, 2010 at 8:25 AM, b. f. 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 ne

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

2010-06-21 Thread Doug Barton
On 06/20/10 03:56, Ashish SHUKLA wrote: Try adding '-lssp_nonshared' to the LDFLAGS. Thanks for the suggestion, but that didn't help. What did help is the attached patch, which doesn't fix, but does avoid the problem with trying to find libssp. With that patch the resulting perl passed all th

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

2010-06-20 Thread Ashish SHUKLA
Doug Barton writes: > 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-al

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

2010-06-19 Thread Doug Barton
On 06/19/10 08:25, b. f. 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

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

2010-06-19 Thread b. f.
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

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

2010-06-18 Thread Doug Barton
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-prote