1 |
Try without distcc, with a conservative MAKEOPTS setting and always |
2 |
ensure that the toolchain is built in this order: binutils, gcc, |
3 |
glibc. Failing that, you could bootstrap (be wary of /etc clobbering |
4 |
by baselayout) or roll the affected package again in a "clean" chroot |
5 |
before exporting it to the host. |
6 |
|
7 |
Apologies for the top post - my mobile device makes it unfeasible to |
8 |
post in the usual manner. |
9 |
|
10 |
Cheers, |
11 |
|
12 |
--Kerin |
13 |
|
14 |
On 14 Oct 2008, at 02:45, Matt Harrison <iwasinnamuknow@×××××××××.com> |
15 |
wrote: |
16 |
|
17 |
> It nearly finished compiling glibc, then I got hit with this: |
18 |
> |
19 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
20 |
> 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- |
26 |
> linux-gnu-nptl/math/libm_pic.a(s_ctanh.os): |
27 |
> In function `ctanh': |
28 |
> s_ctanh.c:(.text+0x1cf): undefined reference to `__divdc3' |
29 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
30 |
> linux-gnu-nptl/math/libm_pic.a(s_cpow.os): |
31 |
> In function `cpow': |
32 |
> s_cpow.c:(.text+0x6b): undefined reference to `__muldc3' |
33 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
34 |
> linux-gnu-nptl/math/libm_pic.a(s_ctanf.os): |
35 |
> In function `ctanf': |
36 |
> s_ctanf.c:(.text+0x180): undefined reference to `__muldc3' |
37 |
> s_ctanf.c:(.text+0x1c5): undefined reference to `__divsc3' |
38 |
> s_ctanf.c:(.text+0x1fc): undefined reference to `__muldc3' |
39 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
40 |
> linux-gnu-nptl/math/libm_pic.a(s_ctanhf.os): |
41 |
> In function `ctanhf': |
42 |
> s_ctanhf.c:(.text+0x18b): undefined reference to `__divsc3' |
43 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
44 |
> linux-gnu-nptl/math/libm_pic.a(s_cpowf.os): |
45 |
> In function `cpowf': |
46 |
> s_cpowf.c:(.text+0x3b): undefined reference to `__mulsc3' |
47 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
48 |
> linux-gnu-nptl/math/libm_pic.a(s_ctanl.os): |
49 |
> In function `ctanl': |
50 |
> s_ctanl.c:(.text+0x1d2): undefined reference to `__mulxc3' |
51 |
> s_ctanl.c:(.text+0x266): undefined reference to `__divxc3' |
52 |
> s_ctanl.c:(.text+0x2c5): undefined reference to `__mulxc3' |
53 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
54 |
> linux-gnu-nptl/math/libm_pic.a(s_ctanhl.os): |
55 |
> In function `ctanhl': |
56 |
> s_ctanhl.c:(.text+0x1f3): undefined reference to `__divxc3' |
57 |
> /var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
58 |
> linux-gnu-nptl/math/libm_pic.a(s_cpowl.os): |
59 |
> In function `cpowl': |
60 |
> s_cpowl.c:(.text+0xb3): undefined reference to `__mulxc3' |
61 |
> collect2: ld returned 1 exit status |
62 |
> distcc[25700] ERROR: compile (null) on localhost failed |
63 |
> make[2]: *** |
64 |
> [/var/tmp/portage/sys-libs/glibc-2.6.1/work/build-default-i686-pc- |
65 |
> linux-gnu-nptl/math/libm.so] |
66 |
> Error 1 |
67 |
> make[2]: Leaving directory |
68 |
> `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1/math' |
69 |
> make[1]: *** [math/others] Error 2 |
70 |
> make[1]: Leaving directory |
71 |
> `/var/tmp/portage/sys-libs/glibc-2.6.1/work/glibc-2.6.1' |
72 |
> make: *** [all] Error 2 |
73 |
> * |
74 |
> * ERROR: sys-libs/glibc-2.6.1 failed. |
75 |
> * Call stack: |
76 |
> * ebuild.sh, line 49: Called src_compile |
77 |
> * environment, line 3353: Called eblit-run 'src_compile' |
78 |
> * environment, line 1078: Called eblit-glibc-src_compile |
79 |
> * src_compile.eblit, line 181: Called toolchain- |
80 |
> glibc_src_compile |
81 |
> * src_compile.eblit, line 122: Called die |
82 |
> * The specific snippet of code: |
83 |
> * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for |
84 |
> ${ABI} failed" |
85 |
> * The die message: |
86 |
> * make for default failed |
87 |
> |
88 |
> |
89 |
> Any ideas? |
90 |
> |
91 |
> Thanks |
92 |
> |
93 |
> Matt |
94 |
> |