This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
Minor patch to gcc/Makefile.in for 19990714 snapshot for alp
- To: <oliva@dcc.unicamp.br>, <egcs-patches@egcs.cygnus.com>
- Subject: Minor patch to gcc/Makefile.in for 19990714 snapshot for alp
- From: <rodneybrown@pmsc.com>
- Date: Thu, 15 Jul 99 12:12:52 -0500
On alpha-dec-osf4.0e the build of the 19990714 snapshot failed as follows.
Fixed by the patch below.
I'll probably be blocked by ORBS on this, so please resend or apply
Alexandre.
..
if [ xlibgcc1.a != xlibgcc1-asm.a ]; \
then true; \
else \
/usr/local/bin/make GCC_FOR_TARGET="./xgcc -B./ \
-B/usr/local/alpha-dec-osf4.0e/bin/ \
-I/usr/local/alpha-dec-osf4.0e/include" \
AR_FOR_TARGET="ar" \
AR_FLAGS_FOR_TARGET="rc" \
CC="gcc" CFLAGS="-g" \
HOST_PREFIX="" HOST_PREFIX_1="loser-" \
LANGUAGES="c " \
LIBGCC2_CFLAGS="-O2 -DIN_GCC -DHAIFA -g -I./include -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED " libgcc1.a; \
fi
rm -rf tmplibgcc.a tmpcopy
mkdir tmpcopy
if [ xlibgcc1.a != x ]; \
then (cd tmpcopy; ar x ../libgcc1.a); \
else true; \
fi
(cd tmpcopy; ar x ../libgcc2.a)
ar: Error: ________64ELEL_ cannot create
make[3]: *** [stmp-multilib-sub] Error 1
make[3]: Leaving directory `/user/rand/rdb/src/egcs-19990714.obj/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/user/rand/rdb/src/egcs-19990714.obj/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/user/rand/rdb/src/egcs-19990714.obj/gcc'
make: *** [bootstrap-lean] Error 2
Fixed by copying the chmod into the stmp-multilib-sub target
--- egcs-19990714/gcc/Makefile.in.orig Tue Jul 13 07:35:39 1999
+++ egcs-19990714/gcc/Makefile.in Thu Jul 15 11:47:14 1999
@@ -1246,6 +1246,7 @@
then (cd tmpcopy; $(AR_FOR_TARGET) x ../$(LIBGCC1)); \
else true; \
fi
+ -(cd tmpcopy; chmod +w * > /dev/null 2>&1)
(cd tmpcopy; $(AR_FOR_TARGET) x ../$(LIBGCC2))
(cd tmpcopy; $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) ../tmplibgcc.a
*$(objext))
rm -rf libgcc2.a tmpcopy
and as an attachment
--- egcs-19990714/gcc/Makefile.in.orig Tue Jul 13 07:35:39 1999
+++ egcs-19990714/gcc/Makefile.in Thu Jul 15 11:47:14 1999
@@ -1246,6 +1246,7 @@
then (cd tmpcopy; $(AR_FOR_TARGET) x ../$(LIBGCC1)); \
else true; \
fi
+ -(cd tmpcopy; chmod +w * > /dev/null 2>&1)
(cd tmpcopy; $(AR_FOR_TARGET) x ../$(LIBGCC2))
(cd tmpcopy; $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) ../tmplibgcc.a *$(objext))
rm -rf libgcc2.a tmpcopy