Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2009 21:18:22 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        "b. f." <bf1783@googlemail.com>
Cc:        kan@freebsd.org, freebsd-current@freebsd.org, kib@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   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
Message-ID:  <20090716211822.3663ca36@kan.dnsalias.net>
In-Reply-To: <d873d5be0907161500m22d31a42y4e447c909ee8f4a0@mail.gmail.com>
References:  <d873d5be0907161500m22d31a42y4e447c909ee8f4a0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/xEA5ViOxHdbJOB_Z+BJkDZY
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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

> >Author: kan
> >Date: Tue Jul 14 21:19:13 2009
> >New Revision: 195697
> >URL: http://svn.freebsd.org/changeset/base/195697
>=20
> >Log:
> >  Second attempt at eliminating .text relocations in shared libraries
> >  compiled with stack protector.
>=20
> 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:
>=20

<SKIP>

> LD_LIBRARY_PATH=3D/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
>=20
> Stop in /usr/ports/lang/perl5.8.
> *** Error code 1
>=20
>=20
> 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.
>=20
> Regards,
>                  b.

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

--=20
Alexander Kabaev

--Sig_/xEA5ViOxHdbJOB_Z+BJkDZY
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iD8DBQFKX9FjQ6z1jMm+XZYRAtJeAJ9pVUiKXnqHrL1JJc4j8gUU6ymnAACfR7N9
nMIQrCQUDuTZawG1o07PUCQ=
=qxqS
-----END PGP SIGNATURE-----

--Sig_/xEA5ViOxHdbJOB_Z+BJkDZY--



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