Sorry to bother you guys again, but please take a look and help me solve this
My source Code versions:
gcc-6.2.0
texinfo-6.3
binutils-2.27
gmp-6.1.2
mpc-1.0.3
isl-0.18
mpfr-3.1.5
(http://wiki.osdev.org/Building_GCC)
After calling make command and waiting for hours it break down with the following errors:
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:35: error: 'vkid' does not name a type
extern size_t ggc_get_size (const vkid *);
^~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'void* ggc_realloc(void*, size_t)':
../../gcc-6.2.0/gcc/ggc-common.c:131:29: error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
old_size = ggc_get_size (x);
^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'int gt_pch_note_object(void*, void*, gt_note_pointers)':
../../gcc-6.2.0/gcc/ggc-common.c:287:38: error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
(*slot)->size = ggc_get_size (obj);
^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
Makefile recipe for target 'ggc-common.o' failed
make[3]: *** [ggc-common.o] Error 1
make[3]: Leaving directory '/home/lokesh/src/build-gcc/gcc'
Makefile:4476: recipe for target 'all-stage3-gcc' failed
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile recipe for target 'stage3-bubble' failed
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile:919: recipe for target 'all' failed
make: *** [all] Error 2
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:35: error: 'vkid' does not name a type
extern size_t ggc_get_size (const vkid *);
^~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'void* ggc_realloc(void*, size_t)':
../../gcc-6.2.0/gcc/ggc-common.c:131:29: error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
old_size = ggc_get_size (x);
^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
../../gcc-6.2.0/gcc/ggc-common.c: In function 'int gt_pch_note_object(void*, void*, gt_note_pointers)':
../../gcc-6.2.0/gcc/ggc-common.c:287:38: error: invalid conversion from 'void*' to 'const int*' [-fpermissive]
(*slot)->size = ggc_get_size (obj);
^
In file included from ../../gcc-6.2.0/gcc/ggc-common.c:28:0:
../../gcc-6.2.0/gcc/ggc-internal.h:101:15: note: initializing argument 1 of 'size_t ggc_get_size(const int*)'
extern size_t ggc_get_size (const vkid *);
^~~~~~~~~~~~
Makefile recipe for target 'ggc-common.o' failed
make[3]: *** [ggc-common.o] Error 1
make[3]: Leaving directory '/home/lokesh/src/build-gcc/gcc'
Makefile:4476: recipe for target 'all-stage3-gcc' failed
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile recipe for target 'stage3-bubble' failed
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory '/home/lokesh/src/build-gcc'
Makefile:919: recipe for target 'all' failed
make: *** [all] Error 2
GCC Build Issue
-
- Member
- Posts: 5587
- Joined: Mon Mar 25, 2013 7:01 pm
Re: GCC Build Issue
That's supposed to say "void", not "vkid". It looks like you might have a hardware problem.varun wrote:../../gcc-6.2.0/gcc/ggc-internal.h:101:35: error: 'vkid' does not name a type
extern size_t ggc_get_size (const vkid *);
^~~~
Re: GCC Build Issue
Have we just witnessed a random bit flip?Octocontrabass wrote:That's supposed to say "void", not "vkid". It looks like you might have a hardware problem.varun wrote:../../gcc-6.2.0/gcc/ggc-internal.h:101:35: error: 'vkid' does not name a type
extern size_t ggc_get_size (const vkid *);
^~~~
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
Compiler Development Forum