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

Re: [openrisc] build or32-gcc with gcc 3.2



> On Wednesday 26 March 2003 18:25, al.provist@f...  wrote: 
> > Hi, 
> > I try to build gcc for or32 with my gcc-3.2 (Mandrake Linux 
> 9.0 3.2-1mdk). 
> > I have these warnings: 
> > .... 
> > gcc -c -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g 
> -O2 -W -Wall 
> > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
> -Wtraditional 
> > -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE  -W 
> -Wall 
> > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
> -Wtraditional 
> > -pedantic -Wno-long-long -I. -I.. 
> -I../../../gcc-3.1/gcc/fixinc 
> > -I../../../gcc-3.1/gcc/fixinc/.. 
> -I../../../gcc-3.1/gcc/fixinc/../config 
> > -I../../../gcc-3.1/gcc/fixinc/../../include 
> > ../../../gcc-3.1/gcc/fixinc/fixfixes.c In file included from 
> > ../../../gcc-3.1/gcc/fixinc/fixlib.h:31, 
> >                  from 
> ../../../gcc-3.1/gcc/fixinc/fixfixes.c:52: 
> > ../../../gcc-3.1/gcc/system.h:589:21: warning: poisoning 
> existing macro 
> > "ASM_OPEN_PAREN" ../../../gcc-3.1/gcc/system.h:589:36: 
> warning: poisoning 
> > existing macro "ASM_CLOSE_PAREN" 
> ../../../gcc-3.1/gcc/system.h:605:23: 
> > warning: poisoning existing macro "EASY_DIV_EXPR" 
> > ../../../gcc-3.1/gcc/system.h:605:37: warning: poisoning 
> existing macro 
> > "IMPLICIT_FIX_EXPR" .... 
> > 
> > and at the end, these errors: 
> > 
> > .... 
> > In file included from ../config.h:18, 
> >                  from ../../../gcc-3.1/gcc/fixinc/fixlib.h:30, 
> >                  from ../../../gcc-3.1/gcc/fixinc/server.h:57, 
> >                  from ../../../gcc-3.1/gcc/fixinc/server.c:54: 
> > ../../../gcc-3.1/gcc/config/or32/or32.h:726:9: attempt to use 
> poisoned 
> > "IMPLICIT_FIX_EXPR" 
> ../../../gcc-3.1/gcc/config/or32/or32.h:729:9: attempt 
> > to use poisoned "EASY_DIV_EXPR" 
> > ../../../gcc-3.1/gcc/config/or32/or32.h:1146:9: attempt to use 
> poisoned 
> > "ASM_OPEN_PAREN" 
> ../../../gcc-3.1/gcc/config/or32/or32.h:1147:9: attempt to 
> > use poisoned "ASM_CLOSE_PAREN" make[2]: *** [server.o] Erreur 
> 1 
> > make[2]: Quitte le répertoire 
> `/foo/bar/or1k/gcc-ucl/gcc/fixinc' 
> > make[1]: *** [fixinc.sh] Erreur 2 
> > make[1]: Quitte le répertoire `/foo/bar/or1k/gcc-ucl/gcc' 
> > make: *** [all-gcc] Erreur 2 
> > 
> > I have the same errors with solaris gcc-3.2 
> > 
> > Some ideas? 
> I have never seen such errors before. Can  you build any other 
> target? 

this is gcc-3.2 beeing more strict with poisoned defines. it's fixed
now in the cvs.

phoenix.
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml