svn commit: r195697 - in head: . contrib/gcc/config gnu/lib/libgcc gnu/lib/libssp/libssp_nonshared lib/libc lib/libc/sys libexec/rtld-elf share/mk

Alexander Kabaev kabaev at gmail.com
Fri Jul 17 01:18:32 UTC 2009


On Thu, 16 Jul 2009 22:00:28 +0000
"b. f." <bf1783 at googlemail.com> wrote:

> >Author: kan
> >Date: Tue Jul 14 21:19:13 2009
> >New Revision: 195697
> >URL: http://svn.freebsd.org/changeset/base/195697
> 
> >Log:
> >  Second attempt at eliminating .text relocations in shared libraries
> >  compiled with stack protector.
> 
> Unfortunately, on r195705 i386 (world and kernel), this breaks a clean
> (i.e., no other ports or packages installed, clean work directory)
> build of lang/perl5.8 or lang/perl5.10  with -fstack-protector or
> -fstack-protector-all in the CFLAGS, using the base system compiler:
> 

<SKIP>

> LD_LIBRARY_PATH=/tmp/usr/ports/lang/perl5.8/work/perl-5.8.9 cc
> -pthread -Wl,-E  -L/usr/local/lib -o miniperl  `echo  gv.o toke.o
> perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o
> perl.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  |
> sed 's/ op.o / /'`  miniperlmain.o opmini.o -lm -lcrypt -lutil
> *** Error code 1
> 
> Stop in /usr/ports/lang/perl5.8.
> *** Error code 1
> 
> 
> I would not be surprised to find that it affects a large number of
> other ports in a similar manner.  So it seems that some further
> changes are required.
> 
> Regards,
>                  b.

The port does not pass -fstack-protector to link command line and is
broken. 

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090717/dbd1bef0/signature.pgp


More information about the freebsd-current mailing list