[llvm-commits] Recent apple changes broke the Ada build

Duncan Sands duncan.sands at math.u-psud.fr
Mon Nov 3 00:30:20 PST 2008


Hi Bill, I'm getting these errors when building Ada:

libbackend.a(dwarf2out.o): In function `add_type_attribute':
gcc/dwarf2out.c:11732: undefined reference to `generic_block_literal_struct_type'
libbackend.a(gtype-desc.o):(.rodata+0x9f8): undefined reference to `generic_block_literal_struct_type'
libbackend.a(tree.o): In function `build_block_pointer_type':
gcc/tree.c:5112: undefined reference to `generic_block_literal_struct_type'
gcc/tree.c:5113: undefined reference to `build_generic_block_struct_type'
gcc/tree.c:5113: undefined reference to `generic_block_literal_struct_type'

Can you please take care of it.  I understand that you can't reasonably
try to build Ada before committing, but maybe in the future you can check
that Fortran builds (both languages usually fail to build when Apple changes
put C stuff in non-C places): it should just be a matter of adding "fortran"
to --enable-languages=.  Since Fortran is (hopefully) going to be included in
the next release, it would anyway be good to regularly test Fortran.

Ciao,

Duncan.



More information about the llvm-commits mailing list