avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] avr-gcc fails to build


From: Ormund Williams
Subject: [avr-gcc-list] avr-gcc fails to build
Date: Mon, 16 Apr 2001 15:05:48 -0400

Hi all

I am running SuSE 7.1, kernel: 2.4.3, native gcc: 2.95.2.

After unpacking binutils-010413.tar.bz2 in /usr/src/avr, I build
binutils using these cammands:

        cd /usr/src/avr/binutils-010413
        ./configure --target=avr
        make
        make install

the build completes without errors.  On attempting to do the same thing
for gcc using these commands:

        cd /usr/src/avr/gcc-20010205 
        ./configure --target=avr --enable-languages=c
        make

Make fails reporting a segfault:

. . .
/usr/src/avr/gcc-20010205/gcc/xgcc -B/usr/src/avr/gcc-20010205/gcc/
-B/usr/local/avr/bin/ -B/usr/local/avr/lib/ -isystem
/usr/local/avr/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config
-I./../include -DL_udivmodqi4 -xassembler-with-cpp -c
./config/avr/libgcc.S -o libgcc/./_udivmodqi4.o
xgcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./_udivmodqi4.o] Error 1
make[2]: Leaving directory `/usr/src/avr/gcc-20010205/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/src/avr/gcc-20010205/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/usr/src/avr/gcc-20010205'

I have gotten avr-gcc to build before using bunutils-010221,
gcc-20010205 and avr-libc-20010211 but I wanted to use the more recent
avr-libc-20010331 and the instructions advise using the latest snapshots
or cvs, did I just pick a bad combo, if so what combination of bunutils
and gcc should I use?  TIA

--
Ormund



reply via email to

[Prev in Thread] Current Thread [Next in Thread]