Summary: | distcc issues? Compilation of sys-libs/glibc-2.3.6-r3 fails: cc1: error: unrecognized option `-fgcse-after-reload' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | [OLD] Development | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | asl, toolchain |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Skwar
2006-02-23 23:25:27 UTC
Sorry, I'm not on a hardened TC. That's a different system.. :) I now switched from gcc 3.3.5 to 3.4.5, and it's now failing with a different error message: cc1: error: unrecognized option `-fno-unit-at-a-time' cc1: error: unrecognized option `-fno-unit-at-a-time' i686-pc-linux-gnu-gcc ../sysdeps/generic/errno.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=prescott -pipe -mpreferred-stack-boundary=4 -g0 -O2 -fgcse-after-reload -finline-functions -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/csu -I.. -I../libio -I../nptl -I/Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -isystem /usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/csu/errno.o -MD -MP -MF /Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/csu/errno.o.dt -MT /Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/csu/errno.o cc1: error: unrecognized option `-fno-unit-at-a-time' cc1: error: unrecognized option `-fno-unit-at-a-time' distcc[23221] ERROR: compile ../sysdeps/generic/initfini.c on dewuga02.dewup.europe.delphiauto.net failed make[2]: *** [/Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/csu/initfini.s] Error 1 make[2]: *** Waiting for unfinished jobs.... distcc[23266] ERROR: compile /Gentoo/ccache/libc-start.tmp.dewuga02.23240.i on dewuga02.dewup.europe.delphiauto.net failed cc1: error: unrecognized option `-fgcse-after-reload' distcc[23240] ERROR: compile ../sysdeps/generic/libc-start.c on dewuga02.dewup.europe.delphiauto.net failed make[2]: *** [/Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/build-default-i686-pc-linux-gnu-nptl/csu/libc-start.o] Error 1 make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/0a/Gentoo/Portage/build/portage/glibc-2.3.6-r3/work/glibc-2.3.6' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.6-r3 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile glibc-2.3.6-r3.ebuild, line 1251: Called toolchain-glibc_src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. dewuga02 ~ # distcc[23291] ERROR: compile /Gentoo/ccache/dso_handle.tmp.dewuga02.23259.i on dewuga02.dewup.europe.delphiauto.net failed cc1: error: unrecognized option `-fgcse-after-reload' distcc[23259] ERROR: compile dso_handle.c on dewuga02.dewup.europe.delphiauto.net failed distcc[23300] ERROR: compile /Gentoo/ccache/version.tmp.dewuga02.23242.i on dewuga02.dewup.europe.delphiauto.net failed cc1: error: unrecognized option `-fgcse-after-reload' distcc[23242] ERROR: compile version.c on dewuga02.dewup.europe.delphiauto.net failed Hmm... When I disable distcc, compilation seems to work. Ah! It seems, that I had mixed versions of gcc. On one of the 3 distcc nodes, I had 3.4.5 and on the other two 3.3.x. Closing - UZD (User Zu Doof *G*) *** Bug 131501 has been marked as a duplicate of this bug. *** |