Subject: Re: HEADS UP: static libraries and FORTIFY_SOURCE
To: None <tech-toolchain@NetBSD.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-toolchain
Date: 05/29/2007 23:36:04
On Tue, 29 May 2007, Hisashi T Fujinaka wrote:
>
> on Tue, 29 May 2007, Thor Lancelot Simon wrote:
>
>> [Apologies for not giving more notice/warning about turning on
>> FORTIFY_SOURCE for some system libraries at the time of my commit; it's
>> clear to me now that the implications for 3rd-party code were considerably
>> greater than I mistakenly expected]
>
> Could this be why I see:
>
> installsets ===> distrib/sets (with: INSTALLDIR=/ INSTALLSETS=)
> cd /usr/src/distrib/sets && DESTDIR=/usr/src/obj.i386/destdir.i386
> MACHINE=i386 MACHINE_ARCH=i386
> CKSUM=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbcksum
> DB=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbdb HOST_SH=/bin/sh
> MAKE=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbmake
> MKTEMP=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbmktemp
> MTREE=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbmtree
> PAX=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbpax
> TSORT=/usr/src/obj.i386/tooldir.NetBSD-4.99.20-i386/bin/nbtsort\ -q /bin/sh
> ./maketars -d /usr/src/obj.i386/destdir.i386 -M
> /usr/src/obj.i386/destdir.i386/METALOG.sanitised -N /usr/src/etc -i /
> Copying set base
> Copying set comp
> /usr/lib/libz.so.1: Cannot write-enable text segment: Permission denied
>
> And now I'm hosed?
>
> Perhaps it's my shell?
Hmm. And reboot tells me init is dying.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte