Bummer! It crapped out shortly after it started compiling. As far as I know gcc compiles itself, so why would this happen? CC -g -O2 -I./include -I. -I. -I./config -I./../include \ -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c rm -f SYSCALLS.c tmp-SYSCALLS.s gcc -c -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I. -I./config -I./../include gcov.c gcc -DIN_GCC -g -O2 -DHAVE_CONFIG_H gcov.o intl.o obstack.o ../libiberty/libiberty.a -o gcov thisdir=`pwd` ; \ sed -e "s:startfile=chillrt0:startfile=${thisdir}/ch/runtime/chillrt0.o:" \ -e "s:libpath=chillrt:libpath=-L${thisdir}/ch/runtime/:" \ -e "s:whatgcc=gcc:whatgcc=\"${thisdir}/xgcc -B${thisdir}/\":" \ -e "s:gnuchill_version=unknown:gnuchill_version=1.5.2:" \ -e "s:gnuchill_script_flags=:gnuchill_script_flags=\"\":" ./ch/chill.in > chill ; \ chmod a+x chill ; \ if [ -f ../gcc-cross ]; then \ whatgcc=`t='s,^,i686-pc-linux-gnu-,'; echo gcc | sed -e $t` ; \ else \ whatgcc=`t='s,x,x,'; echo gcc | sed -e $t` ; \ fi; \ sed -e "s:startfile=chillrt0:startfile=/usr/src/TESTS/gcc//lib/gcc-lib/i686-pc-linux-gnu/2.95.3/chillrt0.o:" \ -e "s:whatgcc=gcc:whatgcc=/usr/src/TESTS/gcc//bin/${whatgcc}:" \ -e "s:gnuchill_version=unknown:gnuchill_version=1.5.2:" \ -e "s:libpath=chillrt:libpath=:" \ -e "s:gnuchill_script_flags=:gnuchill_script_flags=\"\":" ./ch/chill.in > chill.install ; \ chmod a+x chill.install echo " toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o genrtl.o real.o dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o alias.o gcse.o integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o varray.o regclass.o regmove.o local-alloc.o global.o reload.o reload1.o caller-save.o insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o lcm.o profile.o insn-attrtab.o i386.o getpwd.o convert.o mbchar.o dyn-string.o splay-tree.o graph.o sbitmap.o resource.o hash.o" | sed -e 's, \([a-z0-9]\), ../\1,g' -e 's/\.o/.o/g' >stamp-objlist cd ch; make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=ar" "BISON=bison" "BISONFLAGS=" "CFLAGS=-g -O2" "CLIB=" "GCC_FOR_TARGET=/usr/src/TESTS/gcc/src/gcc-2.95.3/gcc/xgcc -B/usr/src/TESTS/gcc/src/gcc-2.95.3/gcc/ -B/usr/src/TESTS/gcc//i686-pc-linux-gnu/bin/ -I/usr/src/TESTS/gcc//i686-pc-linux-gnu/include" "LDFLAGS=" "LEX=" "LEXFLAGS=" "LN=ln" "LN_S=ln -s" "MAKEINFO=/usr/src/TESTS/gcc/src/gcc-2.95.3/texinfo/makeinfo/makeinfo " "MAKEINFOFLAGS=" "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 ] )" "SHELL=/bin/sh" "STAGE_PREFIX=" "exeext=" "build_exeext=" "objext=.o" "exec_prefix=/usr/src/TESTS/gcc/" "prefix=/usr/src/TESTS/gcc/" "local_prefix=/usr/local" "gxx_include_dir=/usr/src/TESTS/gcc//lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../..`echo /usr/src/TESTS/gcc/ | sed -e 's|^/usr/src/TESTS/gcc/||' -e 's|/[^/]*|/..|g'`/include/g++-3" "tooldir=/usr/src/TESTS/gcc//i686-pc-linux-gnu" "gcc_tooldir=/usr/src/TESTS/gcc//lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../i686-pc-linux-gnu" "bindir=/usr/src/TESTS/gcc//bin" "libsubdir=/usr/src/TESTS/gcc//lib/gcc-lib/i686-pc-linux-gnu/2.95.3" "datadir=/usr/src/TESTS/gcc//share" "distdir=../tmp/\$(subdir)" "localedir=/usr/src/TESTS/gcc//share/locale" "CC=gcc" "CHILLFLAGS=-g -O2" "CHILL_FOR_TARGET=gcc" "CHILL_LIB=-lchill" "GNUCHILL_VERSION=1.5.2" ../cc1chill make[2]: Går til katalog '/usr/src/TESTS/gcc/src/gcc-2.95.3/gcc/ch' gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include parse.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include actions.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include except.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include grant.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include lang.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include tree.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include lex.c gcc -c -DIN_GCC -g -O2 -I. -I.. -I. -I./.. -I./../config -I./../../include decl.c decl.c: In function ‘start_struct’: decl.c:4451: error: argument ‘code’ doesn’t match prototype ch-tree.h:736: error: prototype declaration make[2]: *** [decl.o] Fejl 1 make[2]: Forlader katalog '/usr/src/TESTS/gcc/src/gcc-2.95.3/gcc/ch' make[1]: *** [cc1chill] Fejl 2 make[1]: Forlader katalog '/usr/src/TESTS/gcc/src/gcc-2.95.3/gcc' make: *** [all-gcc] Fejl 2 This is what I did before starting the compile: dualpc:/usr/src/TESTS/gcc/src/gcc-2.95.3 # ./configure --help Usage: configure [OPTIONS] [HOST] Options: [defaults in brackets] --prefix=MYDIR install into MYDIR [/usr/local] --exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local] --help print this message [normal config] --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [determined via config.guess] --norecursion configure this directory only [recurse] --program-prefix=FOO prepend FOO to installed program names [""] --program-suffix=FOO append FOO to installed program names [""] --program-transform-name=P transform installed names by sed pattern P [""] --site=SITE configure with site-specific makefile for SITE --srcdir=DIR find the sources in DIR [. or ..] --target=TARGET configure for TARGET [TARGET=HOST] --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp] --nfp configure for software floating point [hard float] --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR) --without-FOO package FOO is NOT available --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR) --disable-FOO do not include feature FOO Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc. dualpc:/usr/src/TESTS/gcc/src/gcc-2.95.3 # ./configure --prefix=/usr/src/TESTS/gcc/ --exec-prefix=/usr/src/TESTS/gcc/ Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /usr/src/TESTS/gcc/src/gcc-2.95.3 using "mt-frag" Configuring libiberty... creating cache ../config.cache 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... gcc checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for POSIXized ISC... no checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for sys/file.h... yes checking for sys/param.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 sys/resource.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for getcwd... yes checking for getpagesize... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkstemps... no checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for sigsetmask... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... yes checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... yes checking for getrusage... yes checking for on_exit... yes checking for psignal... yes checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... yes updating cache ../config.cache creating ./config.status creating Makefile creating testsuite/Makefile creating config.h Configuring texinfo... loading cache ../config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... no checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... (cached) ranlib checking for texconfig... false checking for POSIXized ISC... no checking for minix/config.h... no checking whether to enable maintainer-specific portions of Makefiles... no checking for Cygwin32 environment... no checking for Mingw32 environment... no checking for executable suffix... no checking for sigblock... yes checking for tputs in -lncurses... yes checking for ncurses/termcap.h... no checking for ANSI C header files... (cached) yes checking for fcntl.h... yes checking for pwd.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for termcap.h... yes checking for termio.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for sys/fcntl.h... yes checking for sys/file.h... (cached) yes checking for sys/ptem.h... no checking for sys/time.h... (cached) yes checking for sys/ttold.h... no checking for sys/wait.h... (cached) yes checking for off_t... yes checking return type of signal handlers... void checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for vprintf... (cached) yes checking for setvbuf... yes checking for getcwd... (cached) yes checking for memset... (cached) yes checking for bzero... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for sigprocmask... yes checking for sigsetmask... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for inline... inline checking for size_t... yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... yes checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for munmap... yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... : checking for catalogs to be installed... de fr updating cache ../config.cache creating ./config.status creating Makefile creating doc/Makefile creating info/Makefile creating intl/Makefile creating lib/Makefile creating makeinfo/Makefile creating po/Makefile.in creating util/Makefile creating config.h Configuring gcc... loading cache ../config.cache checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking whether a default assembler was specified... no checking whether a default linker was specified... no checking for gawk... gawk checking for flex... lex checking for yywrap in -ll... no checking whether ln works... yes checking whether ln -s works... yes checking for volatile... yes checking for ranlib... (cached) ranlib checking for bison... no checking for byacc... no checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for limits.h... (cached) yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for stab.h... yes checking for sys/file.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/times.h... yes checking for sys/stat.h... yes checking for direct.h... no checking for thread.h... no checking for pthread.h... yes checking for gnatbind... no checking whether cpp understands the stringify operator... yes checking for inttypes.h... yes checking for strtoul... (cached) yes checking for bsearch... yes checking for strerror... (cached) yes checking for putenv... (cached) yes checking for popen... yes checking for bcopy... (cached) yes checking for bzero... (cached) yes checking for bcmp... (cached) yes checking for index... (cached) yes checking for rindex... (cached) yes checking for strchr... (cached) yes checking for strrchr... (cached) yes checking for kill... yes checking for getrlimit... yes checking for setrlimit... yes checking for atoll... yes checking for atoq... no checking for sysconf... (cached) yes checking for isascii... yes checking for gettimeofday... (cached) yes checking for strsignal... (cached) yes checking for putc_unlocked... yes checking for fputc_unlocked... yes checking for fputs_unlocked... yes checking for vprintf... (cached) yes checking whether the printf functions support %p... yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for working vfork... (cached) yes checking whether malloc must be declared... no checking whether realloc must be declared... no checking whether calloc must be declared... no checking whether free must be declared... no checking whether bcopy must be declared... no checking whether bzero must be declared... no checking whether bcmp must be declared... no checking whether index must be declared... no checking whether rindex must be declared... no checking whether getenv must be declared... no checking whether atol must be declared... no checking whether sbrk must be declared... no checking whether abort must be declared... no checking whether atof must be declared... no checking whether strerror must be declared... no checking whether getcwd must be declared... no checking whether getwd must be declared... no checking whether strsignal must be declared... yes checking whether putc_unlocked must be declared... no checking whether fputs_unlocked must be declared... yes checking whether strstr must be declared... no checking whether getrlimit must be declared... no checking whether setrlimit must be declared... no checking for sys_siglist declaration in signal.h or unistd.h... yes checking if mkdir takes one argument... no Using `./config/i386/i386.c' to output insns. Using `./config/i386/i386.md' as machine description file. Using `./config/i386/linux.h' as target machine macro file. Using `./config/i386/xm-i386.h' as host machine macro file. checking for strerror in -lcposix... no checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for argz.h... (cached) yes checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for nl_types.h... (cached) yes checking for malloc.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for __argz_count... (cached) yes checking for __argz_stringify... (cached) yes checking for __argz_next... (cached) yes checking for LC_MESSAGES... (cached) yes checking whether NLS is requested... no checking assembler alignment features... .p2align including maximum skip checking assembler subsection support... working .subsection -1 checking assembler instructions... filds fists Links are now set up to build a native compiler for i686-pc-linux-gnu updating cache ../config.cache creating ./config.status creating Makefile creating intl/Makefile creating po/Makefile.in creating fixinc/Makefile creating cp/Makefile creating f/Makefile creating java/Makefile creating auto-host.h linking ./intl/libgettext.h to intl/libintl.h Merged x-linux. Merged t-linux and i386/t-crtstuff and t-install-cpp. Created `ch/Makefile'. Merged x-linux. Merged t-linux and i386/t-crtstuff and t-install-cpp. Created `objc/Makefile'. creating libintl.h Configuring etc... loading cache ../config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c creating ./config.status creating Makefile dualpc:/usr/src/TESTS/gcc/src/gcc-2.95.3 # make ----- "Martin Møller" <martin@mail.martinm-76.dk> wrote:
Hmm... Seems 2.95 is what it wants...
COMPILING the kernel:
- Make sure you have gcc 2.95.3 available.
It doesn't mention if newer ones will work, only that older ones will not.
I guess I'll try to build 2.95.3 or thereabouts and see what happens...
/Martin.
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org