This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to represent column numbers using source_location


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]