Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cross-compiling : perl-core/version-0.77.02
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
mixam85
n00b
n00b


Joined: 30 Jan 2008
Posts: 8

PostPosted: Wed Mar 10, 2010 6:39 am    Post subject: Cross-compiling : perl-core/version-0.77.02 Reply with quote

I i'l trying to cross compile perl-core/version-0.77.02 usung crossdev wrappers for armv4tl-softfloat-linux-gnueabi.
Here is the compilation log.
Code:
>>> Failed to emerge perl-core/version-0.77.02 for /usr/armv4tl-softfloat-linux-gnueabi/, Log file:
>>>  '/usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/temp/build.log'
>>> Jobs: 0 of 8 complete, 1 failed                 Load avg: 2.64, 4.28, 4.03
 * CPV:  perl-core/version-0.77.02
 * REPO: gentoo
 * USE:  arm elibc_glibc kernel_linux userland_GNU
 * Using Module::Build
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

i486-pc-linux-gnu-gcc -I/usr/lib/perl5/5.8.8/i486-linux/CORE -fPIC -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe -o /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/temp/compilet-1583835731.o /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/temp/compilet-1583835731.c
i486-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -shared -L/usr/local/lib -o /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/temp/compilet-1583835731.so /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/temp/compilet-1583835731.o
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Creating new 'Build' script for 'version' version '0.7702'
i486-pc-linux-gnu-gcc -I./vutil -I/usr/lib/perl5/5.8.8/i486-linux/CORE -fPIC -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe -o ./vutil/vutil.o ./vutil/vutil.c
Copying lib/version.pm -> blib/lib/version.pm
Copying vutil/lib/version/vxs.pm -> blib/lib/version/vxs.pm
Copying vutil/vxs.xs -> lib/version/vxs.xs
lib/version/vxs.xs -> lib/version/vxs.c
i486-pc-linux-gnu-gcc -I./vutil -I/usr/lib/perl5/5.8.8/i486-linux/CORE -DXS_VERSION="0.7702" -DVERSION="0.7702" -fPIC -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe -o lib/version/vxs.o lib/version/vxs.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/version/vxs/vxs.bs')
i486-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -shared -L/usr/local/lib -o blib/arch/auto/version/vxs/vxs.so lib/version/vxs.o ./vutil/vutil.o
Copying lib/version/Internals.pod -> blib/lib/version/Internals.pod
Copying lib/version.pod -> blib/lib/version.pod
Manifying blib/lib/version.pod -> blib/libdoc/version.3pm
Manifying blib/lib/version/Internals.pod -> blib/libdoc/version::Internals.3pm
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/lib/perl5/vendor_perl/5.8.8/i486-linux/auto/version/vxs/vxs.so
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/lib/perl5/vendor_perl/5.8.8/i486-linux/auto/version/vxs/vxs.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/lib/perl5/vendor_perl/5.8.8/i486-linux/version.pm
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/lib/perl5/vendor_perl/5.8.8/i486-linux/version.pod
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/lib/perl5/vendor_perl/5.8.8/i486-linux/version/Internals.pod
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/lib/perl5/vendor_perl/5.8.8/i486-linux/version/vxs.pm
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/share/man/man3/version::Internals.3pm
Installing /usr/armv4tl-softfloat-linux-gnueabi/tmp/portage/perl-core/version-0.77.02/image/usr/share/man/man3/version.3pm

* Wrong EM_TYPE. Expected EM_ARM
EM_386 ./usr/lib/perl5/vendor_perl/5.8.8/i486-linux/auto/version/vxs/vxs.so


It complain about the wrong fs_type of ./usr/lib/perl5/vendor_perl/5.8.8/i486-linux/auto/version/vxs/vxs.so. And I clearly see that it has been previously compiled using i486-pc-linux-gnu-gcc and not armv4tl-softfloat-linux-gnueabi-gcc as it should have been.
How can I fix this ?

Thx.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum