Bootstrap difficulties on powerpc-apple-darwin6.8 (Mac OS X 10.2.8)

Di-an JAN dianj@sdf.lonestar.org
Wed Sep 29 13:09:00 GMT 2004


On Mon, 27 Sep 2004, Tom Tromey wrote:

> I'll test this patch here too, I'll probably add it back as it seems
> like the only reasonable way to address PR 17222.

http://gcc.gnu.org/ml/gcc/2004-09/msg01520.html

Could the addition be moved back to where it was originally,
next to the rule for lib-gnu-awt-xlib.la which also use the same
technique?  Patch attached.  Tested with full bootstrap on
i686-pc-cygwin.

While we're touching that file, I noticed the list of java files
is out of order starting wit gnu/regexp/CharIndexed.java
I'm unable to test a patch for that at the moment.

Di-an Jan
-------------- next part --------------
Index: libjava/Makefile.am
===================================================================
RCS file: /cvsroot/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.417
diff -c -3 -p -r1.417 Makefile.am
*** libjava/Makefile.am	28 Sep 2004 20:37:39 -0000	1.417
--- libjava/Makefile.am	29 Sep 2004 07:16:19 -0000
*************** libgcj_la_DEPENDENCIES = libgcj-@gcc_ver
*** 211,225 ****
  	java/lang/fdlibm.h java/lang/ieeefp.h java/lang/mprec.h \
  	$(LIBLTDL) $(LIBFFI) $(ZLIBS) $(GCLIBS) $(propertyo_files)
  
- ## Pass the list of object files to libtool in a temporary file to
- ## avoid tripping platform command line length limits.
- libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
- 	@echo Creating list of files to link...
- 	@: $(call write_entries_to_file,$(libgcj_la_OBJECTS),libgcj.objectlist)
- 	$(libgcj_la_LINK) -objectlist libgcj.objectlist \
- 	$(libgcj_la_LIBADD) \
- 	-rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(LIBS)
- 
  # Include THREADLIBS here to ensure that the correct version of
  # certain linuxthread functions get linked:
  ## The mysterious backslash in the grep pattern is consumed by make.
--- 211,216 ----
*************** $(gtk_awt_peer_sources:.java=.lo): %.lo:
*** 571,576 ****
--- 562,575 ----
  gnu/gcj/runtime/StackTrace.lo: gnu/gcj/runtime/StackTrace.java
  	$(LTGCJCOMPILE) -fno-optimize-sibling-calls -o $@ -c $<
  
+ ## Pass the list of object files to libtool in a temporary file to
+ ## avoid tripping platform command line length limits.
+ libgcj.la: $(libgcj_la_OBJECTS) $(libgcj_la_DEPENDENCIES)
+ 	@echo Creating list of files to link...
+ 	@: $(call write_entries_to_file,$(libgcj_la_OBJECTS),libgcj.objectlist)
+ 	$(libgcj_la_LINK) -objectlist libgcj.objectlist $(libgcj_la_LIBADD) \
+ 	-rpath $(toolexeclibdir) $(libgcj_la_LDFLAGS) $(LIBS)
+ 
  lib-gnu-awt-xlib.la: $(lib_gnu_awt_xlib_la_OBJECTS) $(lib_gnu_awt_xlib_la_DEPENDENCIES)
  	@echo Creating list of files to link...
  	@: $(call write_entries_to_file,$(lib_gnu_awt_xlib_la_OBJECTS) $(lib_gnu_awt_xlib_la_LIBADD),lib_gnu_awt_xlib.objectlist)


More information about the Gcc mailing list