c/1814: fr30-elf 2.97 cross-compiler segmentation faults on FreeBSD 4.2-stable building libgcc
dakott@pobox.com
dakott@pobox.com
Tue Jan 30 18:56:00 GMT 2001
>Number: 1814
>Category: c
>Synopsis: fr30-elf 2.97 cross-compiler segmentation faults on FreeBSD 4.2-stable building libgcc
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Jan 30 18:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: David Kott
>Release: gcc version 2.97 20010130 (experimental)
>Organization:
>Environment:
FreeBSD 4.2-stable
>Description:
xgcc seg. faults compiling libgcc2.c at line 747.
gmake[1]: Entering directory `/usr/home/da/fr30/gcc/gcc'
for d in libgcc; do \
if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/home/da/fr30-gcc/fr30-elf/bin/ -isystem /usr/home/da/fr30-gcc/fr30-elf/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include -DL_divdi3 -c ./libgcc2.c -o libgcc/./_divdi3.o
./libgcc2.c: In function `__divdi3':
./libgcc2.c:747: Internal error: Segmentation fault.
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
gmake[1]: *** [libgcc/./_divdi3.o] Error 1
gmake[1]: Leaving directory `/usr/home/da/fr30/gcc/gcc'
gmake: *** [libgcc.a] Error 2
>How-To-Repeat:
Configure gcc version 2.97 20010130 (experimental) thusly:
./configure --prefix=/usr/home/da/fr30-gcc --target=fr30-elf
chdir to the gcc subdirectory:
cd gcc
GNU make a cross-compiler:
gmake LANGUAGES=c
N.B. GNU make is named "gmake" on my system. This differentiates it from my systemic make.
>Fix:
Unknown at this time.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list