error: ‘ggc_alloc_cleared_machine_function’ was not declared in this scope

Umesh Kalappa umesh.kalappa0@gmail.com
Thu Nov 20 13:42:00 GMT 2014


Hi All ,

Tried with gcc 4.8.3 build for mips as

$../src/gcc-4.8-2014.05/configure --target=mips   --enable-languages=c,c++

$make all-gcc

g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I.
-I../../src/gcc-4.8-2014.05/gcc -I../../src/gcc-4.8-2014.05/gcc/.
-I../../src/gcc-4.8-2014.05/gcc/../include
-I../../src/gcc-4.8-2014.05/gcc/../libcpp/include
-I../../src/gcc-4.8-2014.05/gcc/../libdecnumber
-I../../src/gcc-4.8-2014.05/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../src/gcc-4.8-2014.05/gcc/../libbacktrace     \
        ../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c -o mips.o
../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c: In function ‘bool
mips_cfun_use_frame_header_p()’:
../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c:10058:27: warning:
variable ‘frame’ set but not used [-Wunused-but-set-variable]
../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c: In function
‘machine_function* mips_init_machine_status()’:
../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c:16912:46: error:
‘ggc_alloc_cleared_machine_function’ was not declared in this scope
In file included from ../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c:19297:0:
../../src/gcc-4.8-2014.05/gcc/config/mips/mips.c:16913:1: warning:
control reaches end of non-void function [-Wreturn-type]
make[1]: *** [mips.o] Error 1
make[1]: Leaving directory
`/home/i16382/work/gcc_upgrade_4.8.3/4.8.3/microchip/build/gcc'
make: *** [all-gcc] Error 2

Googled for the same ,but no help .

Please can anyone help me here and above issue is blocking  us :(.

Thank you in advance
~Umesh



More information about the Gcc mailing list