Gentoo Archives: gentoo-hardened

From: Matt Harrison <iwasinnamuknow@×××××××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] glibc not using PIE
Date: Tue, 14 Oct 2008 01:45:54
Message-Id: 48F3F9D6.5000304@genestate.com
In Reply to: Re: [gentoo-hardened] glibc not using PIE by Matt Harrison
1 It nearly finished compiling glibc, then I got hit with this:
2
3 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctan.os):
4 In function `ctan':
5 s_ctan.c:(.text+0x1f2): undefined reference to `__muldc3'
6 s_ctan.c:(.text+0x251): undefined reference to `__divdc3'
7 s_ctan.c:(.text+0x285): undefined reference to `__muldc3'
8 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanh.os):
9 In function `ctanh':
10 s_ctanh.c:(.text+0x1cf): undefined reference to `__divdc3'
11 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpow.os):
12 In function `cpow':
13 s_cpow.c:(.text+0x6b): undefined reference to `__muldc3'
14 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanf.os):
15 In function `ctanf':
16 s_ctanf.c:(.text+0x180): undefined reference to `__muldc3'
17 s_ctanf.c:(.text+0x1c5): undefined reference to `__divsc3'
18 s_ctanf.c:(.text+0x1fc): undefined reference to `__muldc3'
19 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanhf.os):
20 In function `ctanhf':
21 s_ctanhf.c:(.text+0x18b): undefined reference to `__divsc3'
22 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpowf.os):
23 In function `cpowf':
24 s_cpowf.c:(.text+0x3b): undefined reference to `__mulsc3'
25 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanl.os):
26 In function `ctanl':
27 s_ctanl.c:(.text+0x1d2): undefined reference to `__mulxc3'
28 s_ctanl.c:(.text+0x266): undefined reference to `__divxc3'
29 s_ctanl.c:(.text+0x2c5): undefined reference to `__mulxc3'
30 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanhl.os):
31 In function `ctanhl':
32 s_ctanhl.c:(.text+0x1f3): undefined reference to `__divxc3'
33 /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpowl.os):
34 In function `cpowl':
35 s_cpowl.c:(.text+0xb3): undefined reference to `__mulxc3'
36 collect2: ld returned 1 exit status
37 distcc[25700] ERROR: compile (null) on localhost failed
38 make[2]: ***
39 [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm.so]
40 Error 1
41 make[2]: Leaving directory
42 `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/math'
43 make[1]: *** [math/others] Error 2
44 make[1]: Leaving directory
45 `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1'
46 make: *** [all] Error 2
47 *
48 * ERROR: sys-libs/glibc-2.6.1 failed.
49 * Call stack:
50 * ebuild.sh, line 49: Called src_compile
51 * environment, line 3353: Called eblit-run 'src_compile'
52 * environment, line 1078: Called eblit-glibc-src_compile
53 * src_compile.eblit, line 181: Called toolchain-glibc_src_compile
54 * src_compile.eblit, line 122: Called die
55 * The specific snippet of code:
56 * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for
57 ${ABI} failed"
58 * The die message:
59 * make for default failed
60
61
62 Any ideas?
63
64 Thanks
65
66 Matt

Replies

Subject Author
Re: [gentoo-hardened] glibc not using PIE atoth@××××××××××.hu
Re: [gentoo-hardened] glibc not using PIE Kerin Millar <kerframil@×××××.com>