https://bugzilla.novell.com/show_bug.cgi?id=408230 Summary: gcc: building gcc-arm fails Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jorschiedt@novell.com QAContact: qa@suse.de Found By: --- Trying to build a gcc-arm crosscompiler from gcc-43 src rpm always fails with:
make[2]: Entering directory `/usr/src/packages/BUILD/gcc-4.3.1-20080507/arm-elf/libgcc' Makefile:144: ../.././gcc/libgcc.mvars: No such file or directory make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'. Stop. make[2]: Leaving directory `/usr/src/packages/BUILD/gcc-4.3.1-20080507/arm-elf/libgcc'
extracted souce packages for binutils and gcc: @host:/usr/src/packages/BUILD> rpmbuild -bp ../SPECS/binutils.spec @host:/usr/src/packages/BUILD> rpmbuild -bp ../SPECS/gcc43.spec Building the binutils (from /usr/src/packages/BUILD): TARGET=arm-elf PREFIX=${HOME}/${TARGET} ## build binutls BINUTILS_OK=../binutils-OK pushd binutils-2.18.50 if [ ! -f ${BINUTILS_OK} ] ; then make distclean /configure --srcdir=`pwd` --target=${TARGET} \ --prefix=${PREFIX} make && make install && touch ${BINUTILS_OK} fi popd Building the compiler: TARGET=arm-elf PREFIX=${HOME}/${TARGET} OPTIONS="--with-cpu=arm9 --prefix=${PREFIX}" OPTIONS="${OPTIONS} --enable-multilib" OPTIONS="${OPTIONS} --enable-languages=c" OPTIONS="${OPTIONS} --enable-clocale=gnu" OPTIONS="${OPTIONS} --disable-libm" OPTIONS="${OPTIONS} --disable-libc" OPTIONS="${OPTIONS} --disable-threads" OPTIONS="${OPTIONS} --disable-nls" OPTIONS="${OPTIONS} --disable-libssp" OPTIONS="${OPTIONS} --disable-intl" # OPTIONS="${OPTIONS} --disable-libiberty" OPTIONS="${OPTIONS} --with-newlib" pushd gcc-4.3.1-20080507 make distclean /configure --srcdir=`pwd` --target=${TARGET} ${OPTIONS} unset LIBRARY_PATH unset CFLAGS make > make.log 2>make.err.log && make install popd Build fails with
Makefile:144: ../.././gcc/libgcc.mvars: No such file or directory make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'. Stop.
Trying a "pushd gcc-4.3.1-20080507; make clean; popd" also leads to the same error. Attached: make.log, make.err.log, -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.