This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: emacs build failed using egcs


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]