Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34830 - gcc 3.2.3-r3 segfaults when compiling gentoo sources 2.4.20-r8
Summary: gcc 3.2.3-r3 segfaults when compiling gentoo sources 2.4.20-r8
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-01 09:09 UTC by Amith Varghese
Modified: 2003-12-01 18:04 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 Amith Varghese 2003-12-01 09:09:24 UTC
When i use genkernel to compile gentoo sources 2.4.20-r8, the build fails and I
get this error in /var/log/genkernel.log:

=============================================================================
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r8/include -Wall -Wstrict-protot
ypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -p
ipe -mpreferred-stack-boundary=2 -march=athlon-mp  -D_LINUX -I/usr/src/linux-2.4
.20-gentoo-r8/drivers/acpi/include -nostdinc -iwithprefix include -DKBUILD_BASEN
AME=evxfregn  -c -o evxfregn.o evxfregn.c
In file included from /usr/src/linux-2.4.20-gentoo-r8/drivers/acpi/include/acpi.
h:39,
                 from evxfregn.c:28:
/usr/src/linux-2.4.20-gentoo-r8/drivers/acpi/include/actbl.h:79: internal error:
 Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [evxfregn.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/drivers/acpi/events'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r8/drivers/acpi/events'
make[2]: *** [_subdir_events] Error 2
make[2]: *** Waiting for unfinished jobs....





Reproducible: Always
Steps to Reproduce:
1.  Upgrade to gcc 3.2.3-r3
2.  Wipe out /usr/src/linux-2.4.20-gentoo-r8 to ensure clean install
3.  Run genkernel
4.  Build stops before kernel finishes compiling

Actual Results:  
See details above

Expected Results:  
compile the kernel

emerge -v info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8
)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(TM) MP 1900+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:."
CLEAN_DELAY="5"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te
xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISPLAY="localhost:10.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vi"
FEATURES="sandbox ccache autoaddcvs"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurs
es"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="copperhead"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
KDEDIR="/usr/kde/3.1"
KDEDIRS="/usr"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAIL="/var/spool/mail/root"
MAKEOPTS="-j3"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-g
nu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man:/usr/qt/3/d
oc/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
OLDPWD="/usr/src"
PAGER="/usr/bin/less"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-g
nu/gcc-bin/3.2:/opt/ati/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/bla
ckdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="24113"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/opt"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/tmp"
PYTHONDOCS="/usr/share/doc/python-docs-2.2.3/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="vt100"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod mpe
g ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtk
html alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java gui
le mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk
 qt motif opengl mozilla gphoto2 ldap cdr apache2 curl dga dnd doc dvd ethereal
evms2 evo faad fbcon flash gb gd gtk2 hbci imap innodb lcms libgda maildir mdb m
oznocompose moznoirc moznomail music pda pic ppds radeon samba sasl scanner tiff
 usb vim-with-x wmf xinerama -apm"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
USE_ORDER="env:conf:auto:defaults"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"

=============================================================================
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

=============================================================================
GLIBC info:

Host type: i686-pc-linux-gnu
System: Linux copperhead 2.4.20-gentoo-r8 #1 SMP Thu Nov 27 08:26:24 EST 2003 i6
86 AMD Athlon(TM) MP 1900+ AuthenticAMD GNU/Linux
Architecture: i686

Addons: linuxthreads
Build CFLAGS: -march=athlon-mp -pipe -O2 -freorder-blocks
Build CC: gcc
Compiler version: 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
Kernel headers: 2.4.19
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no
Comment 1 Amith Varghese 2003-12-01 18:04:33 UTC
sorry, a reboot of my system seemed to fix all the weirdness and I can now compile fine.