Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23748 - sys-devel/libperl-5.8.0 fails to compile with no sane/informative error (Internal error)
Summary: sys-devel/libperl-5.8.0 fails to compile with no sane/informative error (Inte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 05:01 UTC by Henning C. Nielsen
Modified: 2003-09-08 04:35 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 Henning C. Nielsen 2003-06-30 05:01:28 UTC
I am in the process of installing Gentoo 1.4 on my Powerpc 7600/132, which I
have done successfully 1 og 2 times before (cant remember). But now I get this
no sence making error and I have no clue what is wrong.
Right now I am trying again with make instead of emake.

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

Actual Results:  
Finding dependencies for util.o.
Finding dependencies for walk.o.
make[2]: Entering directory `/var/tmp/portage/libperl-5.8.0/work/perl-5.8.0/x2p'
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
make[2]: Leaving directory `/var/tmp/portage/libperl-5.8.0/work/perl-5.8.0/x2p'
Updating makefile...
make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.0/work/perl-5.8.0/x2p'
`sh  cflags "optimize='-O3 -pipe -mcpu=604'" perl.o` -fPIC perl.c
`sh  cflags "optimize='-O3 -pipe -mcpu=604'" gv.o` -fPIC gv.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 
-pipe -mcpu=604 -Wall
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 
-pipe -mcpu=604 -Wall
`sh  cflags "optimize='-O3 -pipe -mcpu=604'" toke.o` -fPIC toke.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 
-pipe -mcpu=604 -Wall
`sh  cflags "optimize='-O3 -pipe -mcpu=604'" perly.o` -fPIC perly.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 
-pipe -mcpu=604 -Wall
`sh  cflags "optimize='-O3 -pipe -mcpu=604'" op.o` -fPIC op.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O3 
-pipe -mcpu=604 -Wall
gcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make: *** [toke.o] Error 1
make: *** Waiting for unfinished jobs....
                 
!!! ERROR: sys-devel/libperl-5.8.0 failed.
!!! Function src_compile, Line 227, Exitcode 2
!!! Unable to make libperl.so

Expected Results:  
Compile libperl with no errors

LiveCD root # env-update && source /etc/profile
>>> Regenerating /etc/ld.so.cache...
LiveCD root # gcc
gcc: no input files
LiveCD root # gcc --version
gcc (GCC) 3.2.2 20030322 (Gentoo Linux 1.4 3.2.2-r2)
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.

LiveCD root # emerge info
!!! No gcc found. You probably need to 'source /etc/profile' to update
!!! the environment of this terminal and possibly other terminals also.
              
Portage 2.0.48-r1 (default-ppc-1.4, [unavailable], glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-ppc-r4 ppc
GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo ftp://gentoo.linux.no/pub/gentoo
ftp://trumpetti.atm.tut.f
i/gentoo http://gentoo.oregonstate.edu
http://www.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="ppc mitshm aalib -acl -acpi -afs -alsa -apache2 apm -arts -atlas berkdb
-bonobo -canna -cdr -cjk crypt -cups -curl -debug -dga -directfb -doc -dvb -dvd
-emacs -encode -esd -ethereal -ev6 -evo -fbcon -firebird -flash -freetds
-freewnn -gb gd gdbm -ggi gif -gnome -gphoto2 gpm -gps -gtk -gtk2 -gtkhtml
-guile -imap imlib -innodb -informix ipv6 -jack -java jikes jpeg -junit -kde
-kerberos -krb4 -ladcca -lcms -ldap -leim -libg++ -libgda libwww -lirc -maildir
-matrox mbox -mcal -mikmod memlimit motif -mozilla mpeg -mpi -mule mysql -nas
-ncurses -nhc98 nls nocardbus -oav -oci8 -odbc -oggvorbis -opengl -oss pam
-pcmcia -pda -pdflib perl -plotutils png -pnp -postgres -prebuilt python -qt
-quicktime readline -ruby samba sasl -scanner -sdl slang -slp -snmp -socks5
-spell ssl -static -tcltk tcpd -tetex tiff -truetype -trusted -usb -wavelan wmf 
-X -Xaw3d -xface -xinerama -xml -xml2 -xmms -xv -zeo zlib -ppc"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=604"
CXXFLAGS="-O3 -pipe -mcpu=604"
ACCEPT_KEYWORDS="ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="ccache"

I dont know why it says it cant find gcc. I can run gcc fine from bash and I
have compiled other programs fine sofar. I have only one compiler installed.
Hmm. Very strange, maybe that is part of my problem.
Comment 1 Henning C. Nielsen 2003-06-30 05:54:27 UTC
Yay! It works if the ebuild uses make instead of emake on line 227.

Again I dont have any clue why this happened but would appreciate if someone could educate me and bonk me on my head for using some insane setting or something...
Comment 2 Paul Collins 2003-07-23 13:24:52 UTC
I also had difficulty getting libperl-5.8.0.ebuild to compile using emake, though my problem came up in sigthread.h
Changed emake to make (to force it to not use distcc) and got successful compile. I suspect that libperl does not like being built in parallel for some reason or another.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2003-07-23 14:51:16 UTC
Would anyone be willing to try an altered ebuild? I believe we had (at one point anyway) changed everything to read 

emake || make ||  die 

(note additional "|| make" conditional). I'm not sure where along the line this was removed, would need to read through the CVS log, but would appreciate it if someone can confirm that this fixes their problems. I can supply modified ebuilds if that's easier. Thanks!
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2003-09-08 04:35:08 UTC
no word in a month and a half.