The bootstrap itself like described here: http://gcc.gnu.org/ml/gcc/2004-11/msg00289.html went fine so far, but 'sudo make install' failed like this:
./config.status: line 2: /dev/null: Operation not supported ./config.status: line 1: /dev/null: Operation not supported ./config.status: line 24: /dev/null: Operation not supported ./config.status: line 32: /dev/null: Operation not supported ./config.status: line 55: /dev/null: Operation not supported ./config.status: line 65: /dev/null: Operation not supported ./config.status: line 2: /dev/null: Operation not supported ./config.status: line 1: /dev/null: Operation not supported ./config.status: line 24: /dev/null: Operation not supported ./config.status: line 32: /dev/null: Operation not supported [looping infinitely, manually interrupted with Ctrl-C] ^Cmake[1]: *** [stamp-h1] Interrupt make: *** [install-intl] Interrupt The cause for this was a missing /dev/null which in turn was caused at some stage by 'sudo make install' itself. I can roughly determine the point when this happened in the output of 'make install' but I am no makefile expert so I wasn't able to track down this bug completely: mkdir /tmp/gcc/share cats="po/be.gmo po/ca.gmo po/da.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/ja.gmo po/ nl.gmo po/sv.gmo po/tr.gmo"; for cat in $cats; do \ lang=`basename $cat | sed 's/\.gmo$//'`; \ if [ -f $cat ]; then :; \ elif [ -f ../../gcc-4.0-20050102/gcc/$cat ]; then cat=../../gcc-4.0-20050102/gcc/$cat; \ else continue; \ fi; \ dir=/tmp/gcc/share/locale/$lang/LC_MESSAGES; \ echo /bin/sh ../../gcc-4.0-20050102/gcc/../mkinstalldirs $dir; \ /bin/sh ../../gcc-4.0-20050102/gcc/../mkinstalldirs $dir || exit 1; \ echo /usr/bin/install -c -m 644 $cat $dir/gcc.mo; \ /usr/bin/install -c -m 644 $cat $dir/gcc.mo; \ done until this point /dev/null existed for sure, I checked this during executing 'sudo make install' in another terminal session. The following rushed down the terminal window very quickly so anywhere from here on to the infinite loop deleting of /dev/null happened: rm -f /tmp/gcc/bin/gcc /usr/bin/install -c xgcc /tmp/gcc/bin/gcc rm -f /tmp/gcc/bin/i686-apple-darwin7.2.1-gcc-4.0.0 ( cd /tmp/gcc/bin && \ ln gcc i686-apple-darwin7.2.1-gcc-4.0.0 ) if [ -f gcc-cross ] ; then \ if [ -d /tmp/gcc/lib/gcc/i686-apple-darwin7.2.1/4.0.0/../../../../i686-apple-darwin7.2.1/bin/. ] ; then \ rm -f /tmp/gcc/lib/gcc/i686-apple-darwin7.2.1/4.0.0/../../../../i686-apple-darwin7.2.1/bin/gcc; \ /usr/bin/install -c gcc-cross /tmp/gcc/lib/gcc/i686-apple-darwin7.2.1/4.0.0/../../../../i686- apple-darwin7.2.1/bin/gcc; \ else true; fi; \ else \ rm -f /tmp/gcc/bin/i686-apple-darwin7.2.1-gcc-tmp; \ ( cd /tmp/gcc/bin && \ ln gcc i686-apple-darwin7.2.1-gcc-tmp && \ mv -f i686-apple-darwin7.2.1-gcc-tmp i686-apple-darwin7.2.1-gcc ); \ fi /bin/sh: line 1: /dev/null: Operation not supported /bin/sh: line 1: /dev/null: Operation not supported rm -f stamp-h1 /bin/sh ./config.status config.h ./config.status: line 24: /dev/null: Operation not supported ./config.status: line 32: /dev/null: Operation not supported ./config.status: line 55: /dev/null: Operation not supported ./config.status: line 65: /dev/null: Operation not supported ./config.status: line 2: /dev/null: Operation not supported ./config.status: line 100: /dev/null: Operation not supported ./config.status: line 1: /dev/null: Operation not supported ./config.status: line 24: /dev/null: Operation not supported ./config.status: line 32: /dev/null: Operation not supported ./config.status: line 55: /dev/null: Operation not supported ./config.status: line 65: /dev/null: Operation not supported ./config.status: line 2: /dev/null: Operation not supported ./config.status: line 1: /dev/null: Operation not supported Sorry for the somewhat fuzzy report, it's rather strange to me what happened here. regards, Lars -- Summary: make install for gcc-4.0-20050102 on i686-apple- darwin7.2.1 removes /dev/null Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lars dot sonchocky-helldorf at hamburg dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-apple-darwin7.2.1 GCC host triplet: i686-apple-darwin7.2.1 GCC target triplet: i686-apple-darwin7.2.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19248