This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-980129/sh-elf build failure
- To: corsepiu at faw dot uni-ulm dot de
- Subject: Re: egcs-980129/sh-elf build failure
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 29 Jan 1998 20:27:37 -0700
- cc: egcs-bugs at cygnus dot com, amylaar at cygnus dot co dot uk
- Reply-To: law at cygnus dot com
In message <34D1456F.3FB00EA2@faw.uni-ulm.de>you write:
> egcs-980129 still fails to be build for --target=sh-elf :
>
> gcc -DCROSS_COMPILE -DIN_GCC -g -DHAVE_CONFIG_H -o genattrtab \
> genattrtab.o rtl.o print-rtl.o rtlanal.o ` case "obstack.o" in ?*) echo
> obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*)
> echo ;; esac `
> rtlanal.o: In function `dead_or_set_regno_p':
> /lfs/hermes/embedded/sh-elf/src/gcc/rtlanal.c:1162: undefined reference
> to `optimize'
> make: *** [genattrtab] Error 1
I've just checked ina fix for this. Just define the variable
"optimze" in genattrtab.c.
jeff