Gentoo Archives: gentoo-hardened

From: Jan Klod <janklodvan@×××××.com>
To: gentoo-hardened <gentoo-hardened@l.g.o>
Subject: [gentoo-hardened] Failure when "switching" to hardened-gentoo profile
Date: Sat, 25 Oct 2008 18:44:23
Message-Id: ecc054e70810251144g1bafd188o887e0448e238ee73@mail.gmail.com
1 Hello.
2
3 I was trying to make a switch form normal, freshly installed gentoo to
4 hardened like described in PaX quickstart.
5 http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml Though, that
6 guide is missing to inform about when should I boot hardened-sources.
7 Not sure if after "emerge binutils gcc virtual/libc" or "emerge -e
8 world", but I got this error, which persists:
9
10 ============================================================================
11 *** stack smashing detected ***: cc1 - terminated
12 cc1: stack smashing attack in function ix86_split_to_parts - terminated
13 Report to http://bugs.gentoo.org/
14 i686-pc-linux-gnu-gcc: Internal error: Killed (program cc1)
15 Please submit a full bug report.
16 See <URL:http://bugs.gentoo.org/> for instructions.
17 make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/s_catanl.o]
18 Error 1
19 make[2]: Leaving directory
20 `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/math'
21 make[1]: *** [math/others] Error 2
22 make[1]: Leaving directory
23 `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
24 make: *** [all] Error 2
25 *
26 * ERROR: sys-libs/glibc-2.6.1 failed.
27 * Call stack:
28 * ebuild.sh, line 49: Called src_compile
29 * environment, line 3350: Called eblit-run 'src_compile'
30 * environment, line 1075: Called eblit-glibc-src_compile
31 * src_compile.eblit, line 181: Called toolchain-glibc_src_compile
32 * src_compile.eblit, line 122: Called die
33 * The specific snippet of code:
34 * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for
35 ${ABI} failed"
36 * The die message:
37 * make for default failed
38 *
39 * If you need support, post the topmost build error, and the call
40 stack if relevant.
41 * A complete build log is located at
42 '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/build.log'.
43 * The ebuild environment file is located at
44 '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
45 ============================================================================
46
47 Should I really discard my work with normal install (lost
48 configurations + some hustle) and use hardened stage3? (somehow I
49 don't believe, I discovered something really "bug")
50 And one more question: is hardened toolchain built userland going to
51 work with gentoo-sources?
52
53 Thank you...

Replies