Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99247 - perl-5.8.6-r5: (hardened-) gcc-3.4.4 internal compiling error
Summary: perl-5.8.6-r5: (hardened-) gcc-3.4.4 internal compiling error
Status: RESOLVED DUPLICATE of bug 97538
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-16 10:40 UTC by Milan Holzäpfel
Modified: 2005-07-16 10:45 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 Milan Holzäpfel 2005-07-16 10:40:14 UTC
When I do an emerge perl on my uclibc-hardened system, I get this error:

| `sh  cflags "optimize='-Os -march=athlon-xp -pipe -fomit-frame-pointer'" 
numeric.o` -fPIC numeric.c
|           CCCMD =  i686-gentoo-linux-uclibc-gcc -DPERL_CORE -c -fno-strict-
aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -march=athlon-xp -
pipe -fomit-frame-pointer  -Wall
| numeric.c: In function `S_mulexp10':
| numeric.c:815: internal compiler error: in try_split, at emit-rtl.c:3343
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://bugs.gentoo.org/> for instructions.
| Preprocessed source stored into /var/tmp/portage/perl-5.8.6-r5/temp/ccXemZa9.
out file, please attach this to your bugreport.
| make: *** [numeric.o] Error 1
| 
| !!! ERROR: dev-lang/perl-5.8.6-r5 failed.
| !!! Function src_compile, Line 254, Exitcode 2
| !!! Unable to make
| !!! If you need support, post the topmost build error, NOT this status 
message.

I tried four times, and each time it produced exactly the same internal compiler 
error, so I assume it _is_ the compiler's fault :) 

This might be related to bug, comment #5 in bug #95582 (same error, also gcc-3.
4.4, other package),  bug #78544 ((amongst others) same error, gcc-3.4.3, other 
package), bug #79852 (slightly different error, gcc-3.4.3, other package). All 
of these reports are x86 arch, gcc-3.4, and non-hardened-profile (the latter 
AFAICT..) 

Regards,
Milan

Reproducible: Always
Steps to Reproduce:
1. emerge perl with gcc-3.4 on x86 (here uclibc-hardened system, but I suspect 
this applies to all gcc-3.4 on x86) 
Actual Results:  
internal compiler error

Expected Results:  
clean compile 

Portage 2.0.51.22-r1 (uclibc/x86/hardened, gcc-3.4.4, uclibc-0.9.27-r0, 2.6.11.
12-grsec-20 i686)
=================================================================
System uname: 2.6.11.12-grsec-20 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-linux-uclibc"
CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/
etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/src/pkg"
FEATURES="autoconfig buildpkg distlocks nodoc noinfo noman sandbox sfperms 
strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.
uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
ftp://gentoo.inode.at/source http://gentoo.inode.at/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage-pkg"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex apache2 berkdb big-tables bzip2 crypt curl gd gnutls 
hardened imagemagick imap jabber jpeg libwww mbox mmap mmx mng mysql ncurses 
perl php pic png python readline sse ssl subversion svg threads tidy truetype 
uclibc unicode utf8 vpopmail xml xml2 zlib userland_GNU kernel_linux 
elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Milan Holzäpfel 2005-07-16 10:45:14 UTC
I'm really good at finding out that my (almost exactly) my bug has already been 
submitted right after submitting the bug today :-/ 

*** This bug has been marked as a duplicate of 97538 ***