I have setup one of my VM's to do cross-compiling for my Raspberry PI 2.
Now some packages (e.g. app-editors/vim and its dependencies) emerges
fine while other (e.g. net-misc/wget or rather one of its dependencies
dev-libs/libpcre-8.38:3) does not.

What I have done  is this:
# emerge sys-devel/crossdev
(installed sys-devel/crossdev-20150716)

# crossdev -S -P -v -t armv7a-hardfloat-linux-gnueabi
(which "installed" fine without any errors)

# armv7a-hardfloat-linux-gnueabi-emerge --verbose --oneshot
=net-misc/wget-1.16.3-r1

Which pulls in dev-libs/libpcre-8.38:3::gentoo which then fails with this:

ln -sf pcre_compile2.3
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/libpcre-8.38/image//usr/share/man/man3/pcre16_compile2.3
/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping
incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping
incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/libc.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status


Have I missed something in setting up crossdev or is something else
wrong (if yes - then what is wrong)?

-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to