Re: Perl

Started by Wolfgang Denk on Nov 14, 2006 · 2 messages from 2 authors · Last reply Nov 20, 2006

open the first message on its own page

Re: Perl

From: Wolfgang Denk <hidden>
Date: 2006-11-14 21:50:36

In message <1163526178.14674.16.camel@mindpipe> you wrote:
quoted
Configure and make perl natively on your target platform. I have done it 
some time ago with the ELDK.
I don't think this is an option, the perl build has too many
dependencies.
I confirm that building Perl on the target system using the ELDK root
file system over NFS works fine.

Just try it out. It may be slow, but CPU cyles are cheap.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A meeting is an event at which the minutes are kept and the hours are
lost.

RE: Perl

From: Leonid <hidden>
Date: 2006-11-20 04:21:09

On Tuesday, November 14, 2006 1:51 PM Wolfgang Denk wrote:
I confirm that building Perl on the target system using the ELDK root
file system over NFS works fine.
Just try it out. It may be slow, but CPU cyles are cheap.
I've done this successfully with ELDK 4.0 and 3.1.1 on PPC440EP Yosemite
board. Resulting perl binary is working with ELDK ppc_4xx filesystem
(linux 2.6.13 has been used).

However it doesn't run on original Yosemite filesystem (I've copied all
perl files there) - it doesn't find certain glibc symbols. With ELDK 4.0
it's quite understood - it uses glibc 2.3.4, while my filesystem has
glibc 2.3.1. But ELDK 3.1.1 has glibc 2.3.1, yet when I try to run perl,
natively compiled with ELDK 3.1.1 fs on my fs (glibc 2.3.1 as well), it
says:

tmp # /opt/bin/perl warnings.pl
/opt/bin/perl: relocation error: /opt/bin/perl: symbol __floatsidf,
version GLIBC_2.3.2 not defined in file libc.so.6 wie

When I copy libc-2.3.1.so from ELDK filesystem to ours, it fails:

/tmp # /opt/bin/perl warnings.pl
Segmentation fault
=20
Did I something wrong?

Thanks,

Leonid.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help