[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-13 Thread charlet at gcc dot gnu dot org


--- Comment #7 from charlet at gcc dot gnu dot org  2008-08-13 13:20 ---
Closing, we're not in the business of figuring out what's wrong with debian's
version of GCC :-)


-- 

charlet at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034



[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-13 Thread dave at hiauly1 dot hia dot nrc dot ca


--- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca  2008-08-13 
13:15 ---
Subject: Re:  /bin/sh: line 1: 26087 Aborted  (core dumped) ./xsinfo
../../sinfo.h

> Sounds like your base Ada compiler may be corrupted, since the line above
> calls 'gnatmake', it does not use the newly built compiler.

I built GCC 4.3.1 using the gnat-4.3 package (4.3.1-1) as the base
Ada compiler.  The Debian base compiler is the one with which I observed
the segmentation faults building 4.4.0.  The segmentation fault doesn't
occur using the rebuilt 4.3.1 compiler.  So, it would seem the Debian
4.3.1-1 compiler contains a latent bug which can be corrected by
rebuilding.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034



[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-10 Thread dave at hiauly1 dot hia dot nrc dot ca


--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2008-08-10 
19:32 ---
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.

The problem seems to be with Debian GNAT 4.3.1.  My personal builds
of 4.3.0 and 4.3.1 don't exhibit the problem.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034



[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-07 Thread dave at hiauly1 dot hia dot nrc dot ca


--- 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 ?

[EMAIL PROTECTED]:~/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  0x 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



[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-06 Thread charlet at adacore dot com


--- Comment #3 from charlet at adacore dot com  2008-08-07 06:41 ---
Subject: Re:  /bin/sh: line 1: 26087 Aborted  (core dumped)
./xsinfo ../../sinfo.h

> > > mkdir -p ada/bldtools/einfo
> > > (cd ada/bldtools/sinfo && gnatmake -q xsinfo && ./xsinfo ../../sinfo.h )
> > > rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb
> > > ada/bldtools/einfo/xeinfo.adb
> > > cp -p ../../gcc/gcc/ada/einfo.ads ../../gcc/gcc/ada/einfo.adb
> > > ../../gcc/gcc/ada/xeinfo.adb ada/bldtools/einfo
> > > (cd ada/bldtools/einfo && gnatmake -q xeinfo && ./xeinfo ../../einfo.h )
> > > /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo
> > 
> > Sounds like your base Ada compiler may be corrupted, since the line above
> > calls 'gnatmake', it does not use the newly built compiler.
> 
> I belive it is xeinfo that's dropping core.  This occurs in stage2.

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 ?

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034



Re: [Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-06 Thread Arnaud Charlet
> > > mkdir -p ada/bldtools/einfo
> > > (cd ada/bldtools/sinfo && gnatmake -q xsinfo && ./xsinfo ../../sinfo.h )
> > > rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb
> > > ada/bldtools/einfo/xeinfo.adb
> > > cp -p ../../gcc/gcc/ada/einfo.ads ../../gcc/gcc/ada/einfo.adb
> > > ../../gcc/gcc/ada/xeinfo.adb ada/bldtools/einfo
> > > (cd ada/bldtools/einfo && gnatmake -q xeinfo && ./xeinfo ../../einfo.h )
> > > /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo
> > 
> > Sounds like your base Ada compiler may be corrupted, since the line above
> > calls 'gnatmake', it does not use the newly built compiler.
> 
> I belive it is xeinfo that's dropping core.  This occurs in stage2.

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 ?

Arno


[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-06 Thread dave at hiauly1 dot hia dot nrc dot ca


--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2008-08-06 
15:14 ---
Subject: Re:  /bin/sh: line 1: 26087 Aborted  (core dumped) ./xsinfo
../../sinfo.h

> --- Comment #1 from charlet at adacore dot com  2008-08-06 06:39 ---
> Subject: Re:   New: /bin/sh: line 1: 26087 Aborted  (core
> dumped) ./xsinfo ../../sinfo.h
> 
> > mkdir -p ada/bldtools/einfo
> > (cd ada/bldtools/sinfo && gnatmake -q xsinfo && ./xsinfo ../../sinfo.h )
> > rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb
> > ada/bldtools/einfo/xeinfo.adb
> > cp -p ../../gcc/gcc/ada/einfo.ads ../../gcc/gcc/ada/einfo.adb
> > ../../gcc/gcc/ada/xeinfo.adb ada/bldtools/einfo
> > (cd ada/bldtools/einfo && gnatmake -q xeinfo && ./xeinfo ../../einfo.h )
> > /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo
> 
> Sounds like your base Ada compiler may be corrupted, since the line above
> calls 'gnatmake', it does not use the newly built compiler.

I belive it is xeinfo that's dropping core.  This occurs in stage2.
The problem was introduced after revision 138716.  It builds ok.

> Could you do:
> 
> which gnatmake

/usr/bin/gnatmake

> which gnatls

/usr/bin/gnatls

> gnatls -v

GNATLS 4.3.1
Copyright (C) 1997-2007, Free Software Foundation, Inc.

Source Search Path:
   
   /usr/lib/gcc/hppa-linux-gnu/4.3.1/adainclude/


Object Search Path:
   
   /usr/lib/gcc/hppa-linux-gnu/4.3.1/adalib/


Project Search Path:
   
   /usr/share/ada/adainclude/

> chatr xeinfo

This is debian linux.  I will try debug xeinfo when the current build
completes.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034



[Bug ada/37034] /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo ../../sinfo.h

2008-08-05 Thread charlet at adacore dot com


--- Comment #1 from charlet at adacore dot com  2008-08-06 06:39 ---
Subject: Re:   New: /bin/sh: line 1: 26087 Aborted  (core
dumped) ./xsinfo ../../sinfo.h

> mkdir -p ada/bldtools/einfo
> (cd ada/bldtools/sinfo && gnatmake -q xsinfo && ./xsinfo ../../sinfo.h )
> rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb
> ada/bldtools/einfo/xeinfo.adb
> cp -p ../../gcc/gcc/ada/einfo.ads ../../gcc/gcc/ada/einfo.adb
> ../../gcc/gcc/ada/xeinfo.adb ada/bldtools/einfo
> (cd ada/bldtools/einfo && gnatmake -q xeinfo && ./xeinfo ../../einfo.h )
> /bin/sh: line 1: 26087 Aborted (core dumped) ./xsinfo

Sounds like your base Ada compiler may be corrupted, since the line above
calls 'gnatmake', it does not use the newly built compiler.

Could you do:

which gnatmake
which gnatls
gnatls -v
chatr xeinfo

?

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37034