This is the mail archive of the gcc@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]
Other format: [Raw text]

Cannot build C/ObjC on TOT...


The TOT as of this writing (and the objc-improvements-merge-20030721 tag I created earlier
in the day) is now failing when the following sequence of commands is issued:


../../../src/gcc/HEAD/gcc/configure --prefix /home/zlaski/fsf/dst/gcc/HEAD --disable-checking --enable-languages=c,objc
make 'CFLAGS=-O0 -g3'
make install


The failure looks as follows:

/bin/sh ../../../src/gcc/HEAD/gcc/mkinstalldirs /home/zlaski/fsf/dst/gcc/HEAD /home/zlaski/fsf/dst/gcc/HEAD
make[1]: Entering directory `/home/zlaski/fsf/obj/gcc/HEAD/gcc'
for file in cc1 cc1obj; do \
if [ -f $file ] ; then \
rm -f /home/zlaski/fsf/dst/gcc/HEAD/lib/gcc-lib/i686-pc-linux-gnu/3.4/$file; \
/usr/bin/install -c $file /home/zlaski/fsf/dst/gcc/HEAD/lib/gcc-lib/i686-pc-linux-gnu/3.4/$file; \
else true; \
fi; \
done
/usr/bin/install: cannot create regular file `/home/zlaski/fsf/dst/gcc/HEAD/lib/gcc-lib/i686-pc-linux-gnu/3.4/cc1': No such file or directory
/usr/bin/install: cannot create regular file `/home/zlaski/fsf/dst/gcc/HEAD/lib/gcc-lib/i686-pc-linux-gnu/3.4/ cc1obj': No such file or directory
make[1]: *** [install-common] Error 1
make[1]: Leaving directory `/home/zlaski/fsf/obj/gcc/HEAD/gcc'
make: *** [install-gcc] Error 2


This is on RedHat Linux 8.0, and used to work a few days ago. I tried the above fragment by hand, and discovered that

(1) /usr/bin/install will succeed if the /home/zlaski/fsf/dst/gcc/HEAD/lib/gcc-lib/i686-pc-linux-gnu/3.4/ folder exists, and
(2) the mkinstallhdrs script (or its minions) appears to nuke that very folder.


Initially, I had a vague suspicion about the following recent check-in:

2003-07-20 Phil Edwards <pme@gcc.gnu.org>

* install-sh: Update to newer upstream versions (associated with
aclocal 1.7).
* mkinstalldirs: Likewise.
* missing: Likewise, plus $1Help2man -> $1 typo fix.


However, reverting it locally did not do the trick... :-(

Thanks in advance for any clues.

--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477


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