This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: arm/iwmmxt VFP errors during linking


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]