1 |
On Saturday 26 November 2005 04.36, Kumba wrote: |
2 |
> Karl-Johan 'Creideiki' Karlsson wrote: |
3 |
> > Hmm. While I was writing that, the build of glibc with |
4 |
> > binutils-2.16.91.0.4 failed with: |
5 |
> > |
6 |
> > {standard input}: Assembler messages: |
7 |
> > {standard input}:765: Error: symbol `__divdi3' is already defined |
8 |
> > {standard input}:830: Error: symbol `__moddi3' is already defined |
9 |
> > {standard input}:905: Error: symbol `__udivdi3' is already defined |
10 |
> > {standard input}:934: Error: symbol `__umoddi3' is already defined |
11 |
> > make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default- |
12 |
> > mips-unknown-linux-gnu-linuxthreads/csu/divdi3.os] Error 1 |
13 |
> [...] |
14 |
> Whether this is a glibc or binutils bug, is, however, uncertain. There's a |
15 |
> new glibc-2.3.6 in portage -- that might be worth a shot if you're feeling |
16 |
> brave. |
17 |
|
18 |
This bug seems to have been fixed in glibc-2.3.6-r1 (see |
19 |
5090_all_divdi3-asm-fix.patch in |
20 |
<http://dev.gentoo.org/~azarah/glibc/glibc-2.3.6-patches-1.2.tar.bz2>). |
21 |
|
22 |
glibc-2.3.6-r1 tried to apply a broken patch (reported for 2.3.5.20050722 in |
23 |
bug #105136), but with that patch removed it built using |
24 |
binutils-2.16.91.0.4. The self tests failed immediately, though. It seems to |
25 |
be binutils' fault: |
26 |
ld: BFD 2.16.91.0.4 assertion fail |
27 |
binutils-2.16.91.0.4/bfd/elfxx-mips.c:2349 |
28 |
(whole self test log attached) |
29 |
Installation also fails, with a segfault in |
30 |
glibc-2.3.6-r1/work/build-default-mips-unknown-linux-gnu-linuxthreads/elf/sln |
31 |
(see the other attached log). |
32 |
|
33 |
-- |
34 |
Karl-Johan "Creideiki" Karlsson |