This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: emacs build failed using egcs
- To: joerg dot pietschmann at zkb dot ch
- Subject: Re: emacs build failed using egcs
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 02 Jul 1999 05:57:18 -0600
- cc: egcs-bugs <egcs-bugs at egcs dot cygnus dot com>
- Reply-To: law at cygnus dot com
In message <377CA515.9D30D316@zkb.ch>you write:
> On powerpc-ibm-aix4.2.1.0, the dumped emacs-20.3 gets an SIGSEGV
> during startup if compiled with egcs-19990629. It works fine if
> compiled with the native cc. The undumped emacs (temacs) works also
> regardless of the compiler used.
>
> The problem is somewhere in the startup code:
That would tend to indicate a bug in undump, not egcs.
> Dump of assembler code for function __start:
> 0x10000150 <__start>: stw r3,0(r2)
> 0x10000154 <__start+4>: stw r4,4(r2)
> 0x10000158 <__start+8>: cmpw r30,r31
I suspect r2 should have been set up by the kernel before transferring control
to the user program.
An AIX expert will probably have to look at this one. It's highly unlikely
I can debug it.
jeff