Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64755 - compile error sys-kernel/linux26-headers-2.6.8.1 (possibly gcc-3.4 related)
Summary: compile error sys-kernel/linux26-headers-2.6.8.1 (possibly gcc-3.4 related)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Travis Tilley (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 07:07 UTC by alexander j pierce
Modified: 2004-09-30 23:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexander j pierce 2004-09-20 07:07:49 UTC
*
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [N/m/y/?] (NEW) n
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [M/n/y/?] m
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      scripts/mod/empty.o
cc1: error: unrecognized option `-fno-unit-at-a-time'
distcc[3494] ERROR: compile scripts/mod/empty.c on <hostname> failed
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

!!! ERROR: sys-kernel/linux26-headers-2.6.8.1 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! prepare failed

Reproducible: Always
Steps to Reproduce:
emerge linux26-headers



Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r1 i686)
=================================================================
System uname: 2.6.8-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.binarycompass.org"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cscope
cups curl dedicated dga dnd dv dvd encode ethereal faad flac fltk foomaticdb
gdbm gif glut gnome gnutls gphoto2 gtk gtk2 guile icc imagemagick imap imlib
jack java jpeg lcms ldap libg++ libwww live lua mad mikmod mldonkeypango mng
mozcalendar mozilla mozp3p mozsvg mpeg mpi ncurses nls offensive oggvorbis
openal opengl oss pam parse-clocks pdflib perl pic png postgres python qt qt-mt
quicktime readline ruby samba sdl skey slang slp spell sse ssl tcltk tcpd theora
tiff transcode truetype usb videos wmf wxwin wxwindows x86 xface xine xml xml2
xmms xosd xprint xv xvid zlib"
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-09-30 23:23:37 UTC
cc1: error: unrecognized option `-fno-unit-at-a-time'

looks like you need to fix your cflags. that's a flag recognised only by gcc 3.4. if you use distcc... ALL distcc hosts need to use gcc 3.4.