Gentoo Archives: gentoo-user

From: Roman Zilka <rzilka@××××.cz>
To: gentoo-user@l.g.o
Subject: [gentoo-user] amd64-hardened breaks upon glibc emerge
Date: Fri, 07 Jul 2006 11:27:09
Message-Id: 20060707132025.A31920@eniac.gvid.cz
1 Hi everyone!
2
3 I've been trying to install hardened-amd64 non-multilib Gentoo on my new
4 box, but I keep hitting bug #122274 (comment #2) or something similar.
5 I fetch the latest stage3 and portage snapshot, chroot into this
6 environment, 'emerge --sync', 'emerge portage', 'emerge -C pam-shadow',
7 'emerge shadow pam openssh', 'emerge gcc glibc' which results in an
8 unusable system. Any consequent emerge I've tried crashes
9 upon the first gcc call with the same error:
10
11 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld:
12 cannot find /usr/lib64/libc_nonshared.a
13
14 The original stage3's /usr/lib64 does contain this
15 library, but after the upgrade of glibc it shows up in /usr/lib. The
16 only solution I could make up was to move everything from /usr/lib
17 to /usr/lib64, symlink /usr/lib -> /usr/lib64 and then start emerging
18 things (including glibc). But this tweak seems just unclean
19 and potentially dangerous. Does anybody happen to have an idea as to how
20 get things running in a proper and clean way? Some relevant info about the
21 system attached at the end. Thanks in advance for any hint or
22 pointer. The aforementioned bug has been reopened for quite some
23 time without any visible progress (maybe things are supposed to be OK now).
24
25 Regards
26 -Roman
27
28 -----------------
29 Profile: /usr/portage/profiles/hardened/amd64
30 C(XX)FLAGS: "-O2 -pipe
31 -fomit-frame-pointer -march=athlon64 -mmmx -msse -msse2 -m3dnow"
32 # emerge -pv glibc | grep USE
33 [ebuild R ] sys-libs/glibc-2.3.6-r4 USE="hardened nls nptl -build
34 -erandom -glibc-compat20 -glibc-omitfp -nptlonly -profile" 0 kB
35 --
36 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] amd64-hardened breaks upon glibc emerge Richard Fish <bigfish@××××××××××.org>