Hi everyone!

I've been trying to install hardened-amd64 non-multilib Gentoo on my new
box, but I keep hitting bug #122274 (comment #2) or something similar.
I fetch the latest stage3 and portage snapshot, chroot into this
environment, 'emerge --sync', 'emerge portage', 'emerge -C pam-shadow',
'emerge shadow pam openssh', 'emerge gcc glibc' which results in an
unusable system. Any consequent emerge I've tried crashes
upon the first gcc call with the same error:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find /usr/lib64/libc_nonshared.a

The original stage3's /usr/lib64 does contain this
library, but after the upgrade of glibc it shows up in /usr/lib. The
only solution I could make up was to move everything from /usr/lib
to /usr/lib64, symlink /usr/lib -> /usr/lib64 and then start emerging
things (including glibc). But this tweak seems just unclean
and potentially dangerous. Does anybody happen to have an idea as to how
get things running in a proper and clean way? Some relevant info about the
system attached at the end. Thanks in advance for any hint or
pointer. The aforementioned bug has been reopened for quite some
time without any visible progress (maybe things are supposed to be OK now).

Regards
-Roman

-----------------
Profile: /usr/portage/profiles/hardened/amd64
C(XX)FLAGS: "-O2 -pipe
-fomit-frame-pointer -march=athlon64 -mmmx -msse -msse2 -m3dnow"
# emerge -pv glibc | grep USE
[ebuild   R   ] sys-libs/glibc-2.3.6-r4  USE="hardened nls nptl -build
-erandom -glibc-compat20 -glibc-omitfp -nptlonly -profile" 0 kB
-- 
[email protected] mailing list

Reply via email to