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]

Re: Make madness on irix6.5


On Nov  9, 2000, "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> wrote:

> Current cvs seems to go into an infinite recursive make on irix6.5.  (Well
> it got to a depth of 209 before I killed it)  The problem seems to be due to
> multilibs as it keeps adding "-mabi=64" to  LIBGCC2_CFLAGS.

Oops.  That's my fault (even though I'd much rather blame whoever
decided to create a multilib dirname containing `=' :-).  Does this
fix the problem?

Index: gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
	interpreting $out as a macro assignment.

Index: gcc/mklibgcc.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/mklibgcc.in,v
retrieving revision 1.22
diff -u -p -r1.22 mklibgcc.in
--- gcc/mklibgcc.in 2000/11/08 03:51:34 1.22
+++ gcc/mklibgcc.in 2000/11/09 04:49:30
@@ -363,6 +363,8 @@ for f in $EXTRA_MULTILIB_PARTS; do
     flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
     case $dir in
     .) out=$f ; t= ;;
+    # Prevent `make' from interpreting $out as a macro assignment
+    *=*) out="./$dir/$f" ; t=./$dir/ ;;
     *) out="$dir/$f" ; t=$dir/ ;;
     esac
 

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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