Thread (2 messages) 2 messages, 2 authors, 2006-11-20
  • (off-list ancestor, not in this archive)
  • Re: Perl · Wolfgang Denk <hidden> · 2006-11-14
  • RE: Perl · Leonid <hidden> · 2006-11-20

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