This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] fix recent bootstrap breakage on darwin


Daniel Franke wrote:
Attached patch fixes the recent bootstrap breakage I introduced two days ago.
Rationale of the fix can be found in the new file gcc/config/darwin-f.c.


gcc: 2008-05-29 Daniel Franke <franke.daniel@gmail.com>

	PR target/36348
	* config/darwin-f.c: New.
	* config.gcc: Defined new variable, fortran_target_objs.
	(*-*-darwin*): Set fortran_target_objs.
	* Makefile.in: Defined new variable FORTRAN_TARGET_OBJS.
	* configure.ac: Substitute fortran_target_objs, set FORTRAN_TARGET_OBJS.
	* configure: Regenerated.

gcc/fortran:
2008-05-29  Daniel Franke  <franke.daniel@gmail.com>

	PR target/36348
	* Make-lang.in (F95_OBJS): Added dependency on FORTRAN_TARGET_OBJS.


Bootstrapped and regression tested on i686-pc-linux-gnu by myself, on darwin by Dominique Dhumieres. Ok for trunk?

Hm, did I miss something?


Did not bootstrap here, neiter on i686 nor on ppc darwin.

A piece like this is missing imo:

Index: t-darwin
===================================================================
--- t-darwin	(revision 136054)
+++ t-darwin	(working copy)
@@ -12,6 +12,10 @@

gt-darwin.h : s-gtype ; @true

+darwin-f.o: $(srcdir)/config/darwin-f.c $(CONFIG_H) $(SYSTEM_H) coretypes.h
+	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+	      $(srcdir)/config/darwin-f.c $(PREPROCESSOR_DEFINES)
+
 darwin-driver.o: $(srcdir)/config/darwin-driver.c \
   $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H)
 	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \


Also, a missing semicolon in darwin-f.c:45.



Bootstrapping ongoing.


Thanks,
Andreas





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