1 |
Instead of solving your particular problem, let me draw your attention to |
2 |
the experimental hardened toolchain: |
3 |
https://hardened.gentooexperimental.org/trac/secure/ |
4 |
|
5 |
It provides hardened gcc-4.x based on kevquinn's initial effort. I've been |
6 |
using it without major hassles for several months now (since June). |
7 |
|
8 |
If you'll ever happen to give up on SELinux, please give a chance to |
9 |
grsecurity. |
10 |
|
11 |
Regards, |
12 |
Dw. |
13 |
-- |
14 |
dr Tóth Attila, Radiológus Szakorvos jelölt, 06-20-825-8057, 06-30-5962-962 |
15 |
Attila Toth MD, Radiologist in Training, +36-20-825-8057, +36-30-5962-962 |
16 |
|
17 |
On Ked, Október 14, 2008 03:45, Matt Harrison wrote: |
18 |
> It nearly finished compiling glibc, then I got hit with this: |
19 |
> |
20 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctan.os): |
21 |
> In function `ctan': |
22 |
> s_ctan.c:(.text+0x1f2): undefined reference to `__muldc3' |
23 |
> s_ctan.c:(.text+0x251): undefined reference to `__divdc3' |
24 |
> s_ctan.c:(.text+0x285): undefined reference to `__muldc3' |
25 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanh.os): |
26 |
> In function `ctanh': |
27 |
> s_ctanh.c:(.text+0x1cf): undefined reference to `__divdc3' |
28 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpow.os): |
29 |
> In function `cpow': |
30 |
> s_cpow.c:(.text+0x6b): undefined reference to `__muldc3' |
31 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanf.os): |
32 |
> In function `ctanf': |
33 |
> s_ctanf.c:(.text+0x180): undefined reference to `__muldc3' |
34 |
> s_ctanf.c:(.text+0x1c5): undefined reference to `__divsc3' |
35 |
> s_ctanf.c:(.text+0x1fc): undefined reference to `__muldc3' |
36 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanhf.os): |
37 |
> In function `ctanhf': |
38 |
> s_ctanhf.c:(.text+0x18b): undefined reference to `__divsc3' |
39 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpowf.os): |
40 |
> In function `cpowf': |
41 |
> s_cpowf.c:(.text+0x3b): undefined reference to `__mulsc3' |
42 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanl.os): |
43 |
> In function `ctanl': |
44 |
> s_ctanl.c:(.text+0x1d2): undefined reference to `__mulxc3' |
45 |
> s_ctanl.c:(.text+0x266): undefined reference to `__divxc3' |
46 |
> s_ctanl.c:(.text+0x2c5): undefined reference to `__mulxc3' |
47 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_ctanhl.os): |
48 |
> In function `ctanhl': |
49 |
> s_ctanhl.c:(.text+0x1f3): undefined reference to `__divxc3' |
50 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm_pic.a(s_cpowl.os): |
51 |
> In function `cpowl': |
52 |
> s_cpowl.c:(.text+0xb3): undefined reference to `__mulxc3' |
53 |
> collect2: ld returned 1 exit status |
54 |
> distcc[25700] ERROR: compile (null) on localhost failed |
55 |
> make[2]: *** |
56 |
> [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc-linux-gnu-nptl/math/libm.so] |
57 |
> Error 1 |
58 |
> make[2]: Leaving directory |
59 |
> `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/math' |
60 |
> make[1]: *** [math/others] Error 2 |
61 |
> make[1]: Leaving directory |
62 |
> `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1' |
63 |
> make: *** [all] Error 2 |
64 |
> * |
65 |
> * ERROR: sys-libs/glibc-2.6.1 failed. |
66 |
> * Call stack: |
67 |
> * ebuild.sh, line 49: Called src_compile |
68 |
> * environment, line 3353: Called eblit-run 'src_compile' |
69 |
> * environment, line 1078: Called eblit-glibc-src_compile |
70 |
> * src_compile.eblit, line 181: Called toolchain-glibc_src_compile |
71 |
> * src_compile.eblit, line 122: Called die |
72 |
> * The specific snippet of code: |
73 |
> * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for |
74 |
> ${ABI} failed" |
75 |
> * The die message: |
76 |
> * make for default failed |
77 |
> |
78 |
> |
79 |
> Any ideas? |
80 |
> |
81 |
> Thanks |
82 |
> |
83 |
> Matt |
84 |
> |