Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24207 - ebuild failure on gcc-3.2.3-r1
Summary: ebuild failure on gcc-3.2.3-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-09 16:41 UTC by Gregory Engel
Modified: 2003-10-29 04:12 UTC (History)
1 user (show)

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 Gregory Engel 2003-07-09 16:41:47 UTC
stage2/xgcc -Bstage2/ -B/usr/i586-pc-linux-gnu/bin/ -c -DIN_GCC    -mcpu=k6 -Os
-pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  
-DHAVE_CONFIG_H    -I. -If -I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc
-I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/f
-I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/config
-I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/../include
/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/f/ste.c -o f/ste.o
/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/f/ste.c: In function
`ffeste_io_cilist_':
/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/f/ste.c:1494: internal error:
Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [f/ste.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.2.3-r1 failed.
!!! Function src_compile, Line 350, Exitcode 2
!!! (no error message)



emerge info
Portage 2.0.48-r1 (selinux-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-selinux-r5 i586 AMD-K6tm w/ multimedia extensions
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 libwww mmx nls xml2 zlib gdbm berkdb slang readline perl crypt selinux
ncurses pam python tcpd ssl"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-mcpu=k6 -mmmx -Os -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Steps to Reproduce:

1)  emerge -U gcc
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-16 11:30:47 UTC
For what its worth, your -mcpu in CXXFLAGS should be i586, NOT i686.

Then, can you also rather try with CFLAGS="-mcpu=k6 -O2 -pipe" ?

Thanks.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 11:32:48 UTC
got no more info
Comment 3 Marc Doughty 2003-10-28 17:10:08 UTC
The i586 vs i686 is EXACTLY what happened. The illegal instruction was probably
a CMOV or something that the K6 can't handle.

Can this get closed out?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-10-29 04:12:53 UTC
wrong CFLAGS