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: Fri, 25 Nov 2005 03:43:42
Message-Id: 43868839.8030507@gentoo.org
In Reply to: Re: [gentoo-mips] Emacs in X with toolkits? by Karl-Johan 'Creideiki' Karlsson
Karl-Johan 'Creideiki' Karlsson wrote:
> On Thursday 24 November 2005 19.23, Stephen P. Becker wrote: >> If you aren't already, try using binutils-2.16.1. > > Now that's interesting. I built the system using binutils-2.16.90.0.3 (~mips > at the time), then downgraded to 2.16.1 to solve bug #112809. Now, Emacs > won't even emerge - the temacs binary (seems to be a semi-standalone elisp > compiler used to bootstrap Emacs) segfaults immediately upon start, and GDB > only says: > > (gdb) run -batch -l loadup dump > Starting program: /var/tmp/portage/emacs-21.4-r1/work/emacs-21.4/src/temacs > -batch -l loadup dump > Warning: > Cannot insert breakpoint -2. > Error accessing memory address 0x266f3: Input/output error. > > Binutils-2.16.91.0.2 gives the same error, but with 2.16.90.0.3 at least Emacs > builds, even though it doesn't run in X. Perhaps rebuilding the entire system > with 2.16.1 or 2.16.91.0.2 would make Emacs build?
This tells me it's some super-funky binutils b0rkage going on. Try binutils-2.16.91.0.3 and 2.16.91.0.4 if you can (they're not keyworded, so you'll have to employ an overlay or the files in /etc/portage to unmask them). I know that 2.16.91.0.3 acts funny on glibc (iirc), but I haven't tested 2.16.91.0.4 on anything. That all said, looks like a binutils thing, which are usually tricky to track down. This will probably mean that emacs will remain unkeyworded for mips until the bug is ever found and nailed. --Kumba -- Gentoo/MIPS Team Lead Gentoo Foundation Board of Trustees "Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond -- 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>