Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32605 - internal compiler error when emerge modules-2.4.26
Summary: internal compiler error when emerge modules-2.4.26
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High major
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 01:27 UTC by jochen
Modified: 2004-09-02 05:09 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 jochen 2003-11-03 01:27:43 UTC
gcc -march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr -fomit-fra
me-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functi
ons=4 -fstack-protector-all -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DP
ACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGRE
PORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -DCOMMON_3264 -DELF_MACHINE_H='"elf_i386.h
"' -DARCH_i386 -DONLY_32 -c -o obj_kallsyms.o obj_kallsyms.c
In file included from obj_kallsyms.c:26:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr -fomit-fra
me-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functi
ons=4 -fstack-protector-all -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DP
ACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGRE
PORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -DCOMMON_3264 -DELF_MACHINE_H='"elf_i386.h
"' -DARCH_i386 -DONLY_32 -c -o obj_common.o obj_common.c
In file included from obj_common.c:28:
../include/util.h:42: warning: built-in function `log' declared as non-function
obj_common.c: In function `obj32_set_symbol_compare':
obj_common.c:87: error: sweep_string_in_operand: unknown fp usage
(insn 84 83 85 (nil) (parallel [
            (set (reg:SI 83)
                (plus:SI (reg:SI 82)
                    (reg/f:SI 54 virtual-stack-vars)))
            (clobber (reg:CC 17 flags))
        ]) -1 (nil)
    (nil))
obj_common.c:87: internal compiler error: in sweep_string_in_operand, at protect
or.c:1504
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
gcc -march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr -fomit-fra
me-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functi
ons=4 -fstack-protector-all -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DP
ACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGRE
PORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0   -DCOMMON_3264 -DELF_MACHINE_H='"elf_i386.h
"' -DARCH_i386 -DONLY_32 -c -o obj_load.o obj_load.c
Preprocessed source stored into /var/tmp/portage/modutils-2.4.26/temp/cc3jXgqv.o
ut file, please attach this to your bugreport
make[1]: *** [obj_common.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from obj_load.c:30:
../include/util.h:42: warning: built-in function `log' declared as non-function
make[1]: Leaving directory `/var/tmp/portage/modutils-2.4.26/work/modutils-2.4.2
6/obj'
make: *** [all] Error 2

!!! ERROR: sys-apps/modutils-2.4.26 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.20-xfs-r3)
=================================================================
System uname: 2.4.20-xfs-r3 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -fstack-protector-all"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -mcpu=pentium3 -mmmx -msse -fforce-addr
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt
-falign-functions=4 -fstack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox strict userpriv ccache distcc"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
ftp://sunsite.cnlab-switch.ch/mirror/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="avi foomaticdb gif jpeg libg++ mad mpeg nls pdflib png spell xml2 xmms xv
zlib gdbm slang X sdl tcpd pam libwww perl python esd imlib oggvorbis gtk motif
opengl xfs berkdb -3dnow -arts -qt -kde acl apm crypt dga doc dvd gphoto2 gpm
imap ipv6 java jikes kerberos mbox oss pcmcia ncurses readline sse tetex
truetype x86 -gnome -qtmt -quicktime -svga -mikmod tcltk mldonkeypango -afs ssl
clamav gtkhtml xface -cups encode lufsusermount"
Comment 1 jochen 2003-11-03 10:39:03 UTC
appears to be caused by the -fstack-protector-all. Stepping back to -fstack-protector
works for me
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-03 14:35:16 UTC
Not sure if this falls under the known issues.
Comment 3 solar (RETIRED) gentoo-dev 2004-01-08 02:31:15 UTC
To be honest here I dont want to go adding -fstack-protector-all to all the ebuilds in portage that fail to work with ssp -all. 
We simply lack the resources for that under taking. 
However what I've done is add some hooks in the flag-o-matic.eclass to make sure that when one is filtered the other get filtered automagicly. 
But in reality your taking your chances with that CFLAGS combo you got going on.

So as Martin said. Known Issue..
Comment 4 Robert Moss (RETIRED) gentoo-dev 2004-06-27 20:32:58 UTC
Well... erm... shouldn't this one be no longer open then? Also, did we report the ICE upstream?
Comment 5 jochen 2004-09-02 05:09:54 UTC
that bug is obviously totally out of date..