[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: arm eabi port available (was: Re: arm eabi port, patches)

On Fri, Jan 12, 2007 at 02:01:28AM +0100, Lennert Buytenhek wrote:

> gcc currently segfaults (not ICEs, but segfaults) when natively
> building libfortran.  This needs looking into.

This is a minimal test case that crashes the fortran compiler (seen
when building "../../../src/libgfortran/generated/_mod_i8.F90" during
a native gcc build.)

IIRC, it also happens when building an unpatched gcc 4.1.1 tree, and
Koen Kooi (CC, OE developer) tells me that it also happens when cross-

iop0:~/gcc-4.1-4.1.1ds2/build/arm-linux-gnueabi/libgfortran# cat blah.F90
elemental function specific__mod_i8 (p1, p2)
   integer (kind=8), intent (in) :: p1, p2
   integer (kind=8) :: specific__mod_i8

   specific__mod_i8 = mod (p1, p2)
end function
iop0:~/gcc-4.1-4.1.1ds2/build/arm-linux-gnueabi/libgfortran# /root/gcc-4.1-4.1.1ds2/build/./gcc/gfortran -B/root/gcc-4.1-4.1.1ds2/build/./gcc/ -c blah.F90 -o blah.o
blah.F90: In function 'specific__mod_i8':
blah.F90:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.

Reply to: