Re: "make Linux" error
Adam Megacz <[email protected]>
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT |
| Message-ID | <[email protected]> |
Yah, this will get fixed as a side effet of me checking in NanoGoat (which totally rejiggers the Makefiles). -a Andrew Kohlsmith <[email protected]> writes: > I know that the platform-specifics aren't supposed to build yet, I was just > testing to see what _did_ happen. I get some very weird results, like gcc > not being able to compile an executable. I would have thought the error > would have been somewhere in the compilation of XWT: > > building gcc-3.3... > cd upstream/gcc-3.3/build-i686-pc-linux-gnu; \ > PATH=$PATH:`pwd`/../../install/bin \ > \ > make > make[2]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu' > make[3]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/libiberty' > make[4]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/libiberty/testsuite' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/libiberty/testsuite' > make[3]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/libiberty' > make[3]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/zlib' > : make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" > "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" > "INSTALL=/bin/sh /home/andrew/xwt/ibex/upstream/gcc-3.3/src/install-sh -c" > "INSTALL_DATA=/bin/sh /home/andrew/xwt/ibex/upstream/gcc-3.3/src/install-sh > -c -m 644" > "INSTALL_PROGRAM=/bin/sh /home/andrew/xwt/ibex/upstream/gcc-3.3/src/install-sh > -c " > "INSTALL_SCRIPT=/bin/sh /home/andrew/xwt/ibex/upstream/gcc-3.3/src/install-sh > -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" > "MAKE=make" "MAKEINFO=/home/andrew/xwt/ibex/upstream/gcc-3.3/src/missing > makeinfo --no-split " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" > "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" > "exec_prefix=/home/andrew/xwt/ibex/upstream/install" > "infodir=/home/andrew/xwt/ibex/upstream/install/info" > "libdir=/home/andrew/xwt/ibex/upstream/install/lib" > "prefix=/home/andrew/xwt/ibex/upstream/install" > "tooldir=/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu" "AR=ar" > "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" > "RANLIB=ranlib" "DESTDIR=" DO=all multi-do > make[3]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/zlib' > make[3]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/fastjar' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/fastjar' > make[3]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc' > (cd intl && make all) > make[4]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/intl' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/intl' > make > GCC_FOR_TARGET="/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/xgcc > -B/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/lib/ > -isystem /home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/include" > \ > BUILD_PREFIX="" BUILD_PREFIX_1="loser-" \ > AR_FOR_TARGET="ar" \ > AR_CREATE_FOR_TARGET="ar rc" \ > AR_FLAGS_FOR_TARGET="" \ > CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long " \ > RANLIB_FOR_TARGET="ranlib" \ > RANLIB_TEST_FOR_TARGET="[ -f ranlib ] || ( [ "i686-pc-linux-gnu" = > "i686-pc-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \ > NM_FOR_TARGET="/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/nm" > AWK="gawk" \ > LIBGCC2_CFLAGS="-O2 -DIN_GCC -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g > -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \ > INCLUDES="-I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/config > -I../../src/gcc/../include" \ > CONFIG_H="tconfig.h " MACHMODE_H="machmode.h > machmode.def ../../src/gcc/config/i386/i386-modes.def" \ > LIB1ASMSRC='' \ > MAKEOVERRIDES= \ > -f libgcc.mk all > make[4]: Entering directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc' > for d in libgcc; do \ > if [ -d $d ]; then true; else /bin/sh ../../src/gcc/mkinstalldirs $d; fi; > \ > done > if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi > make[4]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc' > make[3]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc' > Configuring in i686-pc-linux-gnu/libiberty > loading cache ../config.cache > checking whether to enable maintainer-specific portions of Makefiles... no > checking for makeinfo... no > checking for perl... perl > checking host system type... i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > checking for ar... ar > checking for ranlib... ranlib > checking for > gcc... /home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/xgcc > -B/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/lib/ > -isystem /home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/include > checking whether we are using GNU C... yes > checking > whether /home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/xgcc > -B/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/lib/ > -isystem /home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/include > accepts -g... yes > checking > whether /home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/xgcc > -B/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/lib/ > -isystem /home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/include > and cc understand -c and -o together... yes > checking for POSIXized ISC... no > checking for working const... yes > checking for inline... inline > checking for a BSD compatible install... /usr/bin/ginstall -c > xhost-mkfrag is unchanged > checking how to run the C > preprocessor... /home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/xgcc > -B/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/lib/ > -isystem /home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/include > -E > checking for sys/file.h... yes > checking for sys/param.h... yes > checking for limits.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for unistd.h... yes > checking for strings.h... yes > checking for sys/time.h... yes > checking for time.h... yes > checking for sys/resource.h... yes > checking for sys/stat.h... yes > checking for sys/mman.h... yes > checking for fcntl.h... yes > checking for alloca.h... yes > checking for sys/pstat.h... no > checking for sys/sysmp.h... no > checking for sys/sysinfo.h... yes > checking for machine/hal_sysinfo.h... no > checking for sys/table.h... no > checking for sys/sysctl.h... yes > checking for sys/systemcfg.h... no > checking for sys/wait.h that is POSIX.1 compatible... yes > checking whether time.h and sys/time.h may both be included... yes > checking whether errno must be declared... no > checking for ANSI C header files... no > checking for uintptr_t... no > checking for pid_t... yes > checking whether the C compiler > ( /home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/xgcc > -B/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu/gcc/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/bin/ > -B/home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/lib/ > -isystem /home/andrew/xwt/ibex/upstream/install/i686-pc-linux-gnu/include > -O2 -g -O2 ) works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. > make[2]: *** [configure-target-libiberty] Error 1 > make[2]: Leaving directory > `/home/andrew/xwt/ibex/upstream/gcc-3.3/build-i686-pc-linux-gnu' > make[1]: *** [.build_gcc-3.3_i686-pc-linux-gnu] Error 2 > make[1]: Leaving directory `/home/andrew/xwt/ibex' > make: *** [Linux] Error 2 > [email protected]:~/xwt/ibex$ > > _______________________________________________ > core mailing list > [email protected] > http://lists.xwt.org/listinfo/core > -- "It's lucky," he added, after a pause, "that there are such a lot of islands in the world. I almost envy you, Mr. Watson." -- Mustapha Mond