Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112243 - perl-5.8.6-r6 fails to build on AMD64
Summary: perl-5.8.6-r6 fails to build on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 112245 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-12 01:36 UTC by Benedikt Böhm (RETIRED)
Modified: 2005-11-12 02:39 UTC (History)
2 users (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 Benedikt Böhm (RETIRED) gentoo-dev 2005-11-12 01:36:58 UTC
I'm trying to build stages for amd64, though stage3 aborts with the follwoing 
error: 
 
/usr/bin/ar rcu libperl.a perl.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 
`sh  cflags "optimize='-O2'" opmini.o` -fPIC -DPERL_EXTERNAL_GLOB opmini.c 
          CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing 
-pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  -Wall 
x86_64-pc-linux-gnu-gcc -L/usr/local/lib -o miniperl \ 
    miniperlmain.o opmini.o libperl.a 
libperl.a(pp.o)(.text+0x2b23): In function `Perl_pp_pow': 
: undefined reference to `pow' 
libperl.a(pp.o)(.text+0x3991): In function `Perl_pp_modulo': 
: undefined reference to `floor' 
libperl.a(pp.o)(.text+0x39b9): In function `Perl_pp_modulo': 
: undefined reference to `floor' 
libperl.a(pp.o)(.text+0x3a8b): In function `Perl_pp_modulo': 
: undefined reference to `fmod' 
libperl.a(pp.o)(.text+0x89fc): In function `Perl_pp_atan2': 
: undefined reference to `atan2' 
libperl.a(pp.o)(.text+0x8ae3): In function `Perl_pp_sin': 
: undefined reference to `sin' 
libperl.a(pp.o)(.text+0x8c23): In function `Perl_pp_cos': 
: undefined reference to `cos' 
libperl.a(pp.o)(.text+0x8fa3): In function `Perl_pp_exp': 
: undefined reference to `exp' 
libperl.a(pp.o)(.text+0x913a): In function `Perl_pp_log': 
: undefined reference to `log' 
libperl.a(pp.o)(.text+0x9365): In function `Perl_pp_sqrt': 
: undefined reference to `sqrt' 
libperl.a(pp.o)(.text+0x9528): In function `Perl_pp_int': 
: undefined reference to `ceil' 
libperl.a(pp.o)(.text+0x953e): In function `Perl_pp_int': 
: undefined reference to `floor' 
libperl.a(pp_pack.o)(.text+0x54c9): In function `S_pack_rec': 
: undefined reference to `floor' 
libperl.a(pp_pack.o)(.text+0x54ed): In function `S_pack_rec': 
: undefined reference to `floor' 
collect2: ld returned 1 exit status 
make: *** [miniperl] Error 1 
 
!!! ERROR: dev-lang/perl-5.8.6-r6 failed. 
!!! Function src_compile, Line 262, Exitcode 2 
!!! Unable to make 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 
i tried to recompile libperl in the catalyst chroot, but it didn't do any 
good.. also google wasn't too informative on the issue..
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-12 01:48:15 UTC
*** Bug 112245 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-12 01:55:24 UTC
Looks like duplicate of Bug 104509; Bug 104509, comment #10 says fixed in CVS,
but does not say how. :-) CCing amd64. 
Comment 3 Chris White (RETIRED) gentoo-dev 2005-11-12 02:11:10 UTC
It's not linking to -lm. 
 
I'll have to see why it isn't... 
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2005-11-12 02:23:01 UTC
http://viewcvstest.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/perl/perl-5.8.7.ebuild?r1=1.11&r2=1.12 
 
did the trick, maybe backport it to 5.8.6? 
Comment 5 Chris White (RETIRED) gentoo-dev 2005-11-12 02:39:03 UTC
/var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.6-r6.ebuild,v  <--  
perl-5.8.6-r6.ebuild 
new revision: 1.8; previous revision: 1.7 
 
Backported to 5.8.6.