Thread overview | |||||
---|---|---|---|---|---|
|
February 03, 2005 What's builtin-types.def? | ||||
---|---|---|---|---|
| ||||
Trying to compile gdc-0.10 with gcc-3.4.3 from Gentoo with configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --enable-java-awt=gtk --enable-languages=c,c++,f77,objc,java,d --disable-multilib fails with In file included from ../../src/gcc-3.4.3/gcc/d/d-builtins.c:109: ../../src/gcc-3.4.3/gcc/builtin-types.def: In function d_init_builtins': ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: parse error before '(' token ../../src/gcc-3.4.3/gcc/builtin-types.def:286: error: parse error before ')' token ../../src/gcc-3.4.3/gcc/builtin-types.def:289: error: parse error before ')' token ../../src/gcc-3.4.3/gcc/builtin-types.def:318: error: parse error before '(' token ../../src/gcc-3.4.3/gcc/builtin-types.def:319: error: parse error before ')' token ../../src/gcc-3.4.3/gcc/builtin-types.def:323: error: parse error before ')' token In file included from ../../src/gcc-3.4.3/gcc/d/d-builtins.c:246: ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: `BT_FN_INT_STRING_INT_SIZE_CONST_STRING_VALIST_ARG' undeclared (first use in this function) ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: (Each undeclared identifier is reported only once ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: for each function it appears in.) ../../src/gcc-3.4.3/gcc/builtin-types.def:286: error: called object is not a function ../../src/gcc-3.4.3/gcc/builtin-types.def:287: error: parse error before "DEF_FUNCTION_TYPE_6" ../../src/gcc-3.4.3/gcc/builtin-types.def:291: error: `BT_FN_VOID_VAR' undeclared (first use in this function) ../../src/gcc-3.4.3/gcc/builtin-types.def:318: error: `BT_FN_INT_STRING_INT_SIZE_CONST_STRING_VAR' undeclared (first use in this function) ../../src/gcc-3.4.3/gcc/builtin-types.def:319: error: called object is not a function ../../src/gcc-3.4.3/gcc/builtin-types.def:321: error: parse error before "DEF_FUNCTION_TYPE_VAR_5" ../../src/gcc-3.4.3/gcc/builtin-types.def:325: error: `BT_PTR_FN_VOID_VAR' undeclared (first use in this function) In file included from ../../src/gcc-3.4.3/gcc/d/d-builtins.c:326: ../../src/gcc-3.4.3/gcc/builtins.def:566: error: `BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VAR' undeclared (first use in this function) ../../src/gcc-3.4.3/gcc/builtins.def:568: error: `BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG' undeclared (first use in this function) ../../src/gcc-3.4.3/gcc/d/d-builtins.c:127: warning: unused variable `flag_isoc99' ../../src/gcc-3.4.3/gcc/d/d-builtins.c: At top level: ../../src/gcc-3.4.3/gcc/d/d-builtins.c:345: warning: unused parameter 'attrs' make[1]: *** [d/d-builtins.cglue.o] Error 1 make[1]: Leaving directory `/home/ben/code/packages/gcc-3.4.3.20050110/build/gcc' I have no clue what is broken here and how I could fix it. :( -ben |
February 03, 2005 Re: What's builtin-types.def? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benjamin Herr |
A security patch has been applied to the base 3.4.3 release. I'll have to update gdc to account for this. As a workaround, maybe you could prevent the patch from being applied?
David
Benjamin Herr wrote:
> Trying to compile gdc-0.10 with gcc-3.4.3 from Gentoo with
>
> configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --enable-java-awt=gtk --enable-languages=c,c++,f77,objc,java,d --disable-multilib
>
> fails with
>
> In file included from ../../src/gcc-3.4.3/gcc/d/d-builtins.c:109:
> ../../src/gcc-3.4.3/gcc/builtin-types.def: In function d_init_builtins':
> ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: parse error before '(' token
> ../../src/gcc-3.4.3/gcc/builtin-types.def:286: error: parse error before ')' token
> ../../src/gcc-3.4.3/gcc/builtin-types.def:289: error: parse error before ')' token
> ../../src/gcc-3.4.3/gcc/builtin-types.def:318: error: parse error before '(' token
> ../../src/gcc-3.4.3/gcc/builtin-types.def:319: error: parse error before ')' token
> ../../src/gcc-3.4.3/gcc/builtin-types.def:323: error: parse error before ')' token
> In file included from ../../src/gcc-3.4.3/gcc/d/d-builtins.c:246:
> ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: `BT_FN_INT_STRING_INT_SIZE_CONST_STRING_VALIST_ARG' undeclared (first use in this function)
> ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: (Each undeclared identifier is reported only once
> ../../src/gcc-3.4.3/gcc/builtin-types.def:284: error: for each function it appears in.)
> ../../src/gcc-3.4.3/gcc/builtin-types.def:286: error: called object is not a function
> ../../src/gcc-3.4.3/gcc/builtin-types.def:287: error: parse error before "DEF_FUNCTION_TYPE_6"
> ../../src/gcc-3.4.3/gcc/builtin-types.def:291: error: `BT_FN_VOID_VAR' undeclared (first use in this function)
> ../../src/gcc-3.4.3/gcc/builtin-types.def:318: error: `BT_FN_INT_STRING_INT_SIZE_CONST_STRING_VAR' undeclared (first use in this function)
> ../../src/gcc-3.4.3/gcc/builtin-types.def:319: error: called object is not a function
> ../../src/gcc-3.4.3/gcc/builtin-types.def:321: error: parse error before "DEF_FUNCTION_TYPE_VAR_5"
> ../../src/gcc-3.4.3/gcc/builtin-types.def:325: error: `BT_PTR_FN_VOID_VAR' undeclared (first use in this function)
> In file included from ../../src/gcc-3.4.3/gcc/d/d-builtins.c:326:
> ../../src/gcc-3.4.3/gcc/builtins.def:566: error: `BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VAR' undeclared (first use in this function)
> ../../src/gcc-3.4.3/gcc/builtins.def:568: error: `BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG' undeclared (first use in this function)
> ../../src/gcc-3.4.3/gcc/d/d-builtins.c:127: warning: unused variable `flag_isoc99'
> ../../src/gcc-3.4.3/gcc/d/d-builtins.c: At top level:
> ../../src/gcc-3.4.3/gcc/d/d-builtins.c:345: warning: unused parameter 'attrs'
> make[1]: *** [d/d-builtins.cglue.o] Error 1
> make[1]: Leaving directory `/home/ben/code/packages/gcc-3.4.3.20050110/build/gcc'
>
> I have no clue what is broken here and how I could fix it. :(
>
> -ben
|
February 04, 2005 Re: What's builtin-types.def? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | David Friedman wrote: > > A security patch has been applied to the base 3.4.3 release. I'll have to update gdc to account for this. As a workaround, maybe you could prevent the patch from being applied? > > David I see, thank you. gdc did indeed build now, and I am as far as I was before *g* (http://ilfirin.org/gdc) -ben |
Copyright © 1999-2021 by the D Language Foundation