Gentoo Archives: gentoo-mips

From: Kumba <kumba@g.o>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] Emacs in X with toolkits?
Date: Sat, 26 Nov 2005 03:37:19
Message-Id: 4387D83A.4080007@gentoo.org
In Reply to: Re: [gentoo-mips] Emacs in X with toolkits? by Karl-Johan 'Creideiki' Karlsson
1 Karl-Johan 'Creideiki' Karlsson wrote:
2 >
3 > The temacs binary built with either of them breaks in the same way as before.
4 > I'm currently rebuilding glibc and GCC with binutils-2.16.91.0.4, since:
5 > 1) The system is built with binutils-2.16.90.0.3.
6 > 2) Emacs built with binutils-2.16.90.0.3 works (sort of).
7 > 3) Emacs doesn't build with any other binutils version.
8 >
9 > Hypothesis: Emacs needs to be built with the same binutils as something else.
10 > Check: Rebuild system with 2.16.91.0.4, rebuilding Emacs works.
11 >
12 > Hypothesis: Emacs only builds with 2.16.90.0.3 (of those versions >= 2.16.1
13 > available in Portage).
14 > Check: Rebuild system with 2.16.91.0.4, rebuilding Emacs fails, downgrade to
15 > binutils-2.16.90.0.3, rebuilding Emacs works.
16 >
17 > Hmm. While I was writing that, the build of glibc with binutils-2.16.91.0.4
18 > failed with:
19 >
20 > {standard input}: Assembler messages:
21 > {standard input}:765: Error: symbol `__divdi3' is already defined
22 > {standard input}:830: Error: symbol `__moddi3' is already defined
23 > {standard input}:905: Error: symbol `__udivdi3' is already defined
24 > {standard input}:934: Error: symbol `__umoddi3' is already defined
25 > make[2]: *** [/var/tmp/portage/glibc-2.3.5-r2/work/build-default-
26 > mips-unknown-linux-gnu-linuxthreads/csu/divdi3.os] Error 1
27 >
28 > New plan: Rebuild everything with binutils-2.16.1 instead of 2.16.91.0.4. That
29 > should only take a week...
30
31 Well, that confirms 2.16.91.0.[34] is h0rked. That's the same error (iirc) that
32 I saw w/ .3. 2.16.91.0.2 was the only one that built glibc correctly.
33
34 Whether this is a glibc or binutils bug, is, however, uncertain. There's a new
35 glibc-2.3.6 in portage -- that might be worth a shot if you're feeling brave. I
36 haven't gotten to testing that yet as I'm still tweaking some new kernel
37 releases, probably followed by newer mips-headers.
38
39
40 --Kumba
41
42 --
43 Gentoo/MIPS Team Lead
44 Gentoo Foundation Board of Trustees
45
46 "Such is oft the course of deeds that move the wheels of the world: small hands
47 do them because they must, while the eyes of the great are elsewhere." --Elrond
48 --
49 gentoo-mips@g.o mailing list

Replies

Subject Author
Re: [gentoo-mips] Emacs in X with toolkits? Karl-Johan 'Creideiki' Karlsson <creideiki+gentoo-mips@××××××××××.se>
Re: [gentoo-mips] Emacs in X with toolkits? Karl-Johan 'Creideiki' Karlsson <creideiki+gentoo-mips@××××××××××.se>