This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC build problem
- From: "Dasarath Weeratunge" <dasarath at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 5 Mar 2008 15:33:20 -0500
- Subject: GCC build problem
I added a field to struct basic_block_def in basic-block.h of type
struct pointer_set_t.
Now when I try to rebuild GCC build fails with error:
libbackend.a(gtype-desc.o): In function `gt_pch_nx_basic_block_def':
/scratch/dweeratu/gcc/build/gcc/gtype-desc.c:2472: undefined reference
to `gt_pch_nx_pointer_set_t'
/scratch/dweeratu/gcc/build/gcc/gtype-desc.c:2473: undefined reference
to `gt_pch_nx_pointer_set_t'
libbackend.a(gtype-desc.o): In function `gt_ggc_mx_basic_block_def':
/scratch/dweeratu/gcc/build/gcc/gtype-desc.c:708: undefined reference
to `gt_ggc_mx_pointer_set_t'
/scratch/dweeratu/gcc/build/gcc/gtype-desc.c:709: undefined reference
to `gt_ggc_mx_pointer_set_t'
collect2: ld returned 1 exit status
It looks as if some auto generated files are not been regenerated
properly. This happens
even if I completely redo the build.
How can this be fixed?
thanks,
-- dasarath