New: Microperl fails build on MIPS
https://bugs.busybox.net/show_bug.cgi?id=2503
Summary: Microperl fails build on MIPS
Product: buildroot
Version: 2009.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: sergio at sergiomb.no-ip.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 2431
--> https://bugs.busybox.net/attachment.cgi?id=2431
dot config
with buildroot 2010.08 version, I add some new packages to my .config , make
# we need to build a perl for the host just for Errno.pm
(cd /home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8; \
chmod a+x ext/util/make_ext; \
ext/util/make_ext nonxs Errno MAKE="/usr/bin/make" \
) Making Errno (nonxs)
ext/util/make_ext: line 122: ../../miniperl: No such file or directory
Warning: No Makefile!
make[1]: Entering directory /home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' make[1]: *** No rule to make target config'. Stop.
make[1]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' /usr/bin/make config failed, continuing anyway...
make[1]: Entering directory /home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno' make[1]: *** No rule to make target all'. Stop.
make[1]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/ext/Errno'
make: *** [/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8/.configured] Error 2
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPS
https://bugs.busybox.net/show_bug.cgi?id=2503
S?rgio <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2431|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPS
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2503
S?rgio <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2009.11 |2009.08
--- Comment #1 from S?rgio <[email protected]> --- Same problem has been reported on
http://lists.busybox.net/pipermail/buildroot/2009-October/029989.html
but no conclusion.
Looking for thread, found this:
/usr/lib64/ccache/gcc -L/usr/local/lib -o miniperl \
miniperlmain.o opmini.o libperl.alibperl.a(pp.o): In function `Perl_pp_int':
pp.c:(.text+0x9d41): undefined reference to floor' pp.c:(.text+0x9d61): undefined reference to ceil' libperl.a(pp.o): In function `Perl_pp_sqrt':
pp.c:(.text+0x9ec1): undefined reference to sqrt' libperl.a(pp.o): In function Perl_pp_log':
pp.c:(.text+0x9fc9): undefined reference to log' libperl.a(pp.o): In function Perl_pp_exp':
pp.c:(.text+0xa153): undefined reference to exp' libperl.a(pp.o): In function Perl_pp_cos':
pp.c:(.text+0xa493): undefined reference to cos' libperl.a(pp.o): In function Perl_pp_sin':
pp.c:(.text+0xa5f3): undefined reference to sin' libperl.a(pp.o): In function Perl_pp_atan2':
pp.c:(.text+0xa7cd): undefined reference to atan2' libperl.a(pp.o): In function Perl_pp_modulo':
pp.c:(.text+0xccb4): undefined reference to floor' pp.c:(.text+0xccea): undefined reference to floor' pp.c:(.text+0xcd4e): undefined reference to fmod' libperl.a(pp.o): In function Perl_pp_pow':
pp.c:(.text+0xd35a): undefined reference to pow' libperl.a(pp_pack.o): In function S_pack_rec':
pp_pack.c:(.text+0x21bc): undefined reference to floor' pp_pack.c:(.text+0x21ef): undefined reference to floor'
collect2: ld returned 1 exit status
make[1]: *** [miniperl] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/perl-5.8.8'
which is solved by add -lm/usr/lib64/ccache/gcc -L/usr/local/lib -o miniperl miniperlmain.o opmini.o libperl.a
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPSel or on Fedora13.x86_64
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2503
S?rgio <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Microperl fails build on |Microperl fails build on
|MIPS |MIPSel or on
| |Fedora13.x86_64Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPSel or with Fedora13.x86_64
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2503
S?rgio <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Microperl fails build on |Microperl fails build on
|MIPSel or on |MIPSel or with
|Fedora13.x86_64 |Fedora13.x86_64Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPSel or with Fedora13.x86_64
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2503
--- Comment #2 from S?rgio <[email protected]> --- Created attachment 2557
--> https://bugs.busybox.net/attachment.cgi?id=2557
this little patch fix compile problem
I hope that patch helps find out the real solution
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPSel or with Fedora13.x86_64
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2503
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #3 from Thomas Petazzoni <[email protected]> 2012-04-29 21:18:49 UTC --- Most likely fixed by cb9a5877b88787f176215c5addb8c1be225a39d0.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 2503] Microperl fails build on MIPSel or with Fedora13.x86_64
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=2503
--- Comment #4 from S?rgio <[email protected]> 2012-05-02 13:26:03 UTC --- (In reply to comment #3)
Quoted 1 line
Most likely fixed by
cb9a5877b88787f176215c5addb8c1be225a39d0.
Hi, I'm glade that this bug have a fix, this fix only be on next stable ..., which should got out in the end of the month , isn't it ?
I give up of upgrade my EMTEC Movie cube, because EMTEC have done a very custom kernel to support his hardware.
Somebody said to me, that in early kernels will have support for those hardware, but was a big work, so my project is stopped. And buy a 65 dollars player :)
Anyway many thanks for your support and all the best for the project.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.