This is the mail archive of the
mailing list for the GCC project.
Generator programs can only be built with optimization enabled?
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Sun, 11 Jun 2006 13:20:21 -0700
- Subject: Generator programs can only be built with optimization enabled?
Typing "make" in $objdir/gcc (after a bootstrap) sometimes results in
build/gencondmd.o: In function `VEC_rtx_heap_reserve':
reference to `vec_heap_p_reserve'
For an ordinary "make" the generator programs are built without
optimization. But, rtl.h use DEF_VEC_*, the expansion of which includes
inline functions. With optimization disabled, the compiler apparently
emits the inline functions. The inline functions reference symbols
(like vec_heap_p_reserve) that are not included in the build objects
linked into the generator program.
I'm using a version of mainline that's a few weeks old; is this
something that has been recently fixed?
(650) 331-3385 x713