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..
*** Bug 112245 has been marked as a duplicate of this bug. ***
Looks like duplicate of Bug 104509; Bug 104509, comment #10 says fixed in CVS, but does not say how. :-) CCing amd64.
It's not linking to -lm. I'll have to see why it isn't...
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?
/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.