This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

BfinToolChain: compiler error


Hello!

I tried to build the new GCC-4.1.0 for "bfin-elf" but i got an internal compiler error. First i 
built a bfin-toolchain to get the binutils binaries to use when building the new GCC. I 
added this "$BFINTC_BUILD/output/bin" directory to my PATH variable. The GCC config 
options were these: 
--target=bfin-elf --disable-nls --disable-libgcj --disable-multilib --enable-languages=c 
--with-gnu-as --with-gnu-ld --disable-shared --disable-threads --with-newlib
--prefix=$BFINTC_BUILD/output

And the error msg:

/home/feri/prog/embedded/blackfin/sources/gcc-4.1/gcc/host-i686-pc-linux-gnu/gcc/xgcc 
  -B/home/feri/prog/embedded/blackfin/sources/gcc-4.1/gcc/host-i686-pc-linux-gnu/gcc/ 
  -B/home/feri/prog/embedded/blackfin/build/output//bfin-elf/bin/ 
  -B/home/feri/prog/embedded/blackfin/build/output//bfin-elf/lib/ 
  -isystem /home/feri/prog/embedded/blackfin/build/output//bfin-elf/include 
  -isystem /home/feri/prog/embedded/blackfin/build/output//bfin-elf/sys-include -O2  
  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
  -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -N  -g  -DIN_LIBGCC2 
  -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc -I../.././gcc/. 
  -I../.././gcc/../include -I../.././gcc/../libcpp/include  -fexceptions  -c ../.././gcc/unwind-dw2.c 
  -o libgcc/./unwind-dw2.o
../.././gcc/unwind.inc: In function '_Unwind_ForcedUnwind':
../.././gcc/unwind.inc:216: error: unrecognizable insn:
(insn 79 78 85 4 ../.././gcc/unwind.inc:216 (unspec_volatile [
            (reg:SI 75)
        ] 0) -1 (nil)
    (nil))
../.././gcc/unwind.inc:216: internal compiler error: in extract_insn, at recog.c:2082
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/home/feri/prog/embedded/blackfin/sources/gcc-4.1/gcc
/host-i686-pc-linux-gnu/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/feri/prog/embedded/blackfin/sources/gcc-4.1/gcc
/host-i686-pc-linux-gnu/gcc'
make: *** [all-gcc] Error 2

Have i missed something important?? 

Thanks for your help.

Regards,
Feri



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]