
ps.m at gmx
Mar 14, 2005, 5:07 AM
Post #7 of 9
(210 views)
Permalink
|
|
Re: Re: bootstrap.sh fails with a Segmentation Fault
[In reply to]
|
|
On Sat, 12 Mar 2005, Frank Schreiner wrote: > Am Freitag, den 11.03.2005, 23:43 +0100 schrieb Peter S. Mazinger: > > On Fri, 11 Mar 2005, Frank Schreiner wrote: > > > > I cant answer your question, but how does it come that you miss the pie > > use flag? maybe the selinux profile does not set USE="pie" ? > > HMM, now i tried to install a stage3 but it`s the same effect, when i > try to install a kernel-source it segfaults at the qmerge process and > this also happens when i try to emerge portage itself (at bc). > > I didn`t changed any settings in the make.conf. just installed stage 3 > and tried to emerge hardened-dev-source. I do following to be sure that I have correct toolchain, from a stage1 (this procedure works also to switch from a normal stage to hardened) set the proper relative (relative is important) link to make.conf and check w/ emerge info what FEATURES/USE are enabled (for hardened you need hardened pic pie), I do not use selinux, so cant tell what you should see there emerge -O gnuconfig emerge -O gcc-config if I want to use multiple versions of the toolchain I also emerge -O binutils-config (you need USE="multislot") for this USE="build" emerge -O binutils run binutils-config if installed and select the newly installed binutils USE="build nocxx" emerge -O gcc run gcc-config and select newly installed gcc emerge your preferred headers you want to use in conjunction w/ *libc USE="build" emerge -O {g,uc}libc this should be enough to allow you to bootstrap correctly (I sometimes repeat the above steps once again , so that they are really synced up) if you start from a stage3 you should omit from USE "build" and/or "nocxx" but you are not allowed probably to switch headers (well, I wouldn't do that, it calls for trouble) Peter -- Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 -- gentoo-hardened [at] gentoo mailing list
|