This is the mail archive of the gcc-bugs@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]

Re: 3.1 Parallel build failure on sparc


Alexandre Oliva wrote:

> Actually, I've just investigated it a little bit.  The patch seems
> unnecessary to me.  It looks like someone used the wrong version of
> automake to rebuild libffi/Makefile.in (AFAIK, it does indeed require
> some specific version of automake to be rebuilt), and Bryce ended up
> thinking there was something to fix.  But it was probably just a
> matter of rebuilding Makefile.in with the right snapshot of automake.
> Unfortunately, I don't know which snapshot that is.  Does anybody?

Yeah, I used the "automake for gcj" which is at
ftp://ftp.freesoftware.com/.0/sourceware/java/automake-gcj-1.4.tar.gz

As far as I know, this is just automake 1.4 hacked to not complain about files
in subdirectories. It seems a bit crap if we have to use different versions of
automake for different directories in gcc, especially if one of the required
automakes is a mysterious snapshot version.

I'm going to try checking in this patch. This changes libffi configure to do
_exactly_ what libjava does to create its subdirectories. Please let me know if
it helps.

regards

  [ bryce ]


2001-03-29  Bryce McKinlay  <bryce@albatross.co.nz>

 * configure.in: Use different syntax for subdirectory creation.
 * configure: Rebuilt.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libffi/configure.in,v
retrieving revision 1.10.4.2
diff -u -r1.10.4.2 configure.in
--- configure.in        2001/03/27 00:58:21     1.10.4.2
+++ configure.in        2001/03/28 23:37:47
@@ -145,10 +145,5 @@
 )

 # Make target subdirectories if required.
-if ! test -d src; then
-  mkdir src
-fi
-
-if ! test -d src/${TARGETDIR}; then
-  mkdir src/${TARGETDIR}
-fi
+test -d src || mkdir src
+test -d src/${TARGETDIR} || mkdir src/${TARGETDIR}

regards

  [ bryce ]



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