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]

[COMMITTED] Fix bootstrap on powerpc-darwin


At first I thought this was just a missing dependancies as I was building at -j3
but then I looked at regression tester and I noticed that it failed the same way.


Anyways the problem is that diagnostic.h uses N_OPTS from options.h but does not
include it. Now config/rs6000/host-darwin.c comes along and includes diagnostic.h
but not options.h so we get an error saying N_OPTS is not defined. So instead of
just fixing config/rs6000/host-darwin.c, I decided to fix diagnostic.h to include
options.h and update the dependancies. Oh, I did notice that host-ppc-darwin.o
did not include the correct dependancies for diagnostic.h anyways so I fixed that
to use the macro.


Committed as obvious after a quick build.

Thanks,
Andrew Pinski

ChangeLog:

	* diagnostic.h: Include options.h.
	* config/rs6000/x-darwin (host-ppc-darwin.o): Correct the
	dependancies for diagnostic.h.
	* Makefile.in (DIAGNOSTIC_H): Add options.h



Attachment: fixdarwin.diff.txt
Description: Text document


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