Re: 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

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Thu, 16 Jul 2009 21:18:22 -0400
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

Received on Thu Jul 16 2009 - 23:18:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC