Mark Mitchell <[EMAIL PROTECTED]> writes: | Typing "make" in $objdir/gcc (after a bootstrap) sometimes results in | errors like: | | build/gencondmd.o: In function `VEC_rtx_heap_reserve': | /net/sparrowhawk/scratch/mitchell/src/lto/gcc/rtl.h:195: undefined | 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.
this must be a bug, not a feature. I think we already have PRs about it. -- Gaby