[Top][All Lists]

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

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

From: Jason Kyle
Subject: [avr-gcc-list] avr-gcc fails to build
Date: Tue, 17 Apr 2001 12:26:18 +1200

Hi Ormund,

Try a later snapshot or current CVS of gcc, I had success with gcc-20010409
and binutils-010409 (NB avr-libc-20010331 requires a quick touch-up, see
mailing list archive).  Always, always, without fail, try a the latest
available version first :)  Remember that the avr target for gcc is a work
in progress and needs feedback in order to progress, keeping up to date is
important for everyone using this target as there are bug fixes and
optimisations happening often.


Jason Kyle

At 15:05 16/04/01 -0400, you wrote:
>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
>avr-gcc-list mailing list

reply via email to

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