arm/iwmmxt VFP errors during linking

Dimitry Andric dimitry@andric.com
Mon Apr 11 21:13:00 GMT 2005


On 2005-04-11 at 17:05:21 Nick Nuziale wrote:

> /usr/crosstool/arm-iwmmxt-linux-gnu/gcc-3.4.2-glibc-2.3.3/lib/gcc/ar
> m-iwmmxt-linux-gnu/3.4.2/../../../../arm-iwmmxt-linux-gnu/bin/ld:
> ERROR: /cygdrive/c/cygwin/opt/nn/lib/libappbase-xscale-r.so uses VFP
> instructions, whereas /cygdrive/c/tmp/nnuziale/build/blahblah does
> not

With which options did you compile blahblah?  Can you show us the
(full) output of arm-iwmmxt-linux-gnu-gcc -v when you compile it?


> I have not applied the patch in Scott Merritt's posting yet, perhaps this
> will fix the VFP problems??

Maybe, depending on your compile options.


> Also, another problem with the linking that I am having is that the standard
> C++ library needed by libappbase-xscale-r.so is "libstdc++.so.5" whereas the
> one built from the cross compiler I built is a different version (so.6 I
> believe) which results in some errors upon linking as shown below.

Your libappbase-xscale-r.so was probably built using gcc 3.3.x, which
has libstdc++.so.5.  Since you don't have any source, you'll need to
rebuild the programs you try to link against it with gcc-3.3.x.

See also: http://gcc.gnu.org/onlinedocs/libstdc++/abi.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 183 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20050411/fc8e1d78/attachment.sig>


More information about the crossgcc mailing list