PATCH to represent column numbers using source_location
Per Bothner
per@bothner.com
Tue Feb 17 18:41:00 GMT 2004
Eric Botcazou wrote:
> It broke bootstrap on SPARC/Solaris with the vendor compiler:
>
> cc -xarch=v9 -erroff -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE -o
> gengtype \
> gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
> ild: (undefined symbol) linemap_line_start -- referenced in the text segment
> of gengtype.o
Well, I tried 'rm gengtype.o' followed by either:
make gengtype CC='gcc -fno-inline'
or:
make gengtype CC='gcc -fkeep-inline-functions'
In both cases in linked without problems.
However, I'm assuming problem is that gengtype.h
includes (indirectly) line-map.h without linking
in line-map.o.
The problem is that rtl.h is including input.h.
That seems rather questionable. Perhaps we should
remove the #inluced "input.h" in rtl.h and see
what breaks.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Gcc-patches
mailing list