[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Thu Aug 7 17:14:00 GMT 2008
------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2008-08-07 17:12 -------
Subject: Re: /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo
../../sinfo.h
> Right, and xeinfo is built with your base compiler. I'd try with an older
> or more recent base GNAT version. It's more likely a latent bug in
> GCC 4.3.1 only showing now because xeinfo dependencies have changed.
>
> > > chatr xeinfo
> >
> > This is debian linux. I will try debug xeinfo when the current build
> > completes.
>
> Ooops, what about "ldd xeinfo" then ?
dave@gsyprf11:~/gcc-4.4/objdir/gcc/ada/bldtools/sinfo$ ldd xsinfo
libgcc_s.so.4 => /lib/libgcc_s.so.4 (0x40215000)
libc.so.6 => /lib/libc.so.6 (0x40545000)
/lib/ld.so.1 (0x40248000)
The backtrace isn't very informative but indicates an abort:
This GDB was configured as "hppa-linux"...
Reading symbols from /home/dave/gcc-4.4/objdir/prev-gcc/libgcc_s.so.4...done.
Loaded symbols for /home/dave/gcc-4.4/objdir/./prev-gcc/libgcc_s.so.4
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `./xsinfo ../../sinfo.h'.
Program terminated with signal 6, Aborted.
[New process 24437]
#0 0x405e23ac in getpid () from /lib/libc.so.6
(gdb) bt
#0 0x405e23ac in getpid () from /lib/libc.so.6
#1 0x4057d390 in abort () from /lib/libc.so.6
#2 0x00000000 in ?? ()
I think I need to try a build with debug libraries. The program doesn't
fail when run it from the command line. I have now seen this problem
with two build compilers: a personal build of 4.2.1 and debian 4.3.1.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034
More information about the Gcc-bugs
mailing list