Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29943 - libperl 5.8.0 fails to build during emerge system, preventing installation
Summary: libperl 5.8.0 fails to build during emerge system, preventing installation
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High blocker
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-29 12:38 UTC by Tim Smith
Modified: 2006-02-04 06:05 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 Tim Smith 2003-09-29 12:38:56 UTC
emerge system gets as far as libperl (first package i think) and returns the 
following:

'sh cflags "optimize=" -mcpu=ultrapsarc -O3 -pipe' -fPIC op.c 
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -mcpu=ultrasparc -O3 -pipe -Wall 


gcc: Internal error: Terminated (program cc1) 
(standard input): Assembler messages: 
(standard input):0: Warning: end of file not at end of a line; newline inserted 
make : *** [toke.o] Error 1 
make: *** waiting for unfinished jobs 
(standard input): 843: Error Illigal operands 


!!! ERROR sys-devel/libperl-5.8.0 failed/ 
!!! Function src_compile line 235 exitcode 2 
!!! Unable to make libperl.so








the system is a sun ultra1, with the default settings (following the installer 
to the emerge system step) with USE -java

Reproducible: Always
Steps to Reproduce:
1.emerge system

Actual Results:  
starts to emerge libperl, then spits out the error above

Expected Results:  
should have built libperl and continued with emerge system....

sun ultra1, 167mhz cpu, 128mb ram, 256mb swap, creator3d ffb, type 5 kb+mouse, 
nothing fancy

I listed severity as blocker since it currently is prohibiting proper 
installation .....
Comment 1 Jason Wever (RETIRED) gentoo-dev 2003-09-29 16:07:26 UTC
If you emerge system again, does this still happen?

Also can you provide a few more lines before this happens?
Comment 2 Joe Kallar (RETIRED) gentoo-dev 2003-10-03 15:16:00 UTC
Have you tried the patch in bug 29846?
http://bugs.gentoo.org/show_bug.cgi?id=29846
Comment 3 Romang 2003-10-09 05:06:51 UTC
Hello,

I have the same error.

CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -march=athlon -O3 -pipe
-fomit-frame-pointer  -Wall
gcc -o libperl.so.1.5.8 -L/usr/local/lib perl.o malloc.o gv.o toke.o perly.o
op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o
sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o
deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o
pp_pack.o pp_sort.o  -lnsl -ldl -lm -lcrypt -lutil -lc -lbsd  -Wl,-soname
-Wl,libperl.so.`echo libperl.so.1.5.8 | cut -d. -f3`
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../crt1.o(.text+0x18): In
function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libperl.so.1.5.8] Error 1

!!! ERROR: sys-devel/libperl-5.8.1 failed.
!!! Function src_compile, Line 206, Exitcode 2
!!! Unable to make libperl.so

Regards.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2003-10-09 12:15:58 UTC
Romag,

As this is a sparc bug, I'd ask that you open a new bug for your problem.


Tim

Can you provide the info mentioned in note #2?
Comment 5 Andrew Cooks (RETIRED) gentoo-dev 2003-11-25 04:02:22 UTC
Please test again and reopen this bug if the problem persists.