This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Problem building uberbaum for --target=m68k-elf


I ran into the following problem building the uberbaum tree for
--target=m68k-elf: 

/home/peter/work/cvs-gnu/obj/gcc/xgcc -B/home/peter/work/cvs-gnu/obj/gcc/ -nostdinc -B/home/peter/work/cvs-gnu/obj/m68k-elf/newlib/ -isystem /home/peter/work/cvs-gnu/obj/m68k-elf/newlib/targ-include -isystem /home/peter/work/cvs-gnu/uberbaum/newlib/libc/include -B/home/mylocal/uberbaum/m68k-elf/m68k-elf/bin/ -B/home/mylocal/uberbaum/m68k-elf/m68k-elf/lib/ -isystem /home/mylocal/uberbaum/m68k-elf/m68k-elf/include -L/home/peter/work/cvs-gnu/obj/ld -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/home/peter/work/cvs-gnu/uberbaum/gcc -I/home/peter/work/cvs-gnu/uberbaum/gcc/. -I/home/peter/work/cvs-gnu/uberbaum/gcc/config -I/home/peter/work/cvs-gnu/uberbaum/gcc/../include -msoft-float -DL_mulsi3 -xassembler-with-cpp -c /home/peter/work/cvs-gnu/uberbaum/gcc/config/m68k/lb1sf68.asm -o libgcc/msoft-float/_mulsi3.o
Assembler messages:
Error: unrecognized option `no-68881-mc68020'
make[2]: *** [libgcc/msoft-float/_mulsi3.o] Error 1
make[2]: Leaving directory `/home/peter/work/cvs-gnu/obj/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/peter/work/cvs-gnu/obj/gcc'
make: *** [all-gcc] Error 2


The problem is caused by a missing space in the ASM_SPEC in
gcc/config/m68k/m68k-none.h that causes the two -m parameters to run
together: 


[peter@baradas m68k]$ cvs -z9 diff -Nu m68k-none.h
Index: m68k-none.h
===================================================================
RCS file: /cvs/uberbaum/gcc/config/m68k/m68k-none.h,v
retrieving revision 1.3
diff -u -r1.3 m68k-none.h
--- m68k-none.h	16 Dec 1998 21:06:54 -0000	1.3
+++ m68k-none.h	19 Dec 2002 18:29:52 -0000
@@ -143,7 +143,7 @@
 
 #undef ASM_SPEC
 #define ASM_SPEC "\
-%{m68851}%{mno-68851}%{m68881}%{mno-68881}%{msoft-float:-mno-68881 }%{m68000}%{m68302}%{mc68000}%{m68010}%{m68020}%{mc68020}%{m68030}%{m68040}%{m68020-40:-mc68040 }%{m68020-60:-mc68040 }%{m68060}%{mcpu32}%{m68332}%{m5200}%{!mc68000:%{!m68000:%{!m68302:%{!m68010:%{!mc68020:%{!m68020:%{!m68030:%{!m68040:%{!m68020-40:%{!m68020-60:%{!m68060:%{!mcpu32:%{!m68332:%{!m5200:%(asm_cpu_default) }}}}}}}}}}}}}} \
+%{m68851}%{mno-68851}%{m68881}%{mno-68881}%{msoft-float:-mno-68881 }%{m68000}%{m68302}%{mc68000}%{m68010}%{m68020}%{mc68020}%{m68030}%{m68040}%{m68020-40:-mc68040 }%{m68020-60:-mc68040 }%{m68060}%{mcpu32}%{m68332}%{m5200} %{!mc68000:%{!m68000:%{!m68302:%{!m68010:%{!mc68020:%{!m68020:%{!m68030:%{!m68040:%{!m68020-40:%{!m68020-60:%{!m68060:%{!mcpu32:%{!m68332:%{!m5200:%(asm_cpu_default) }}}}}}}}}}}}}} \
 "
 
 /* cc1/cc1plus always receives all the -m flags. If the specs strings above 

-- 
peter@baradas.org


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