This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Build error  with DS500-BN-00001-r5p0-13rel0

Note: This was originally posted on 10th July 2013 at http://forums.arm.com

Hi,
   I have a fedora pc and DS-5 version " DS500-BN-00001-r5p0-13rel0.tgz " installed in it. But While i tried to build the application error  occurs as shown below

/usr/local/DS-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.7.1/../../../../arm-linux-gnueabihf/bin/ld: error: sample-app uses VFP register arguments, CMakeFiles/sample-app.dir/sample-app.c.o does not
/usr/local/DS-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.7.1/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file CMakeFiles/sample-app.dir/[size=2]sample-[/size][size=2]app.c.o[/size]
[size=2]
[/size]
[size=2]I use these options while building application..  [/size][size=2]"[/size][size=2] -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -funsafe-math-optimizations -ftree-vectorize [/size][size=2]-fPIC -fsigned-char "[/size]
[size=2]
[/size]
[size=2]Anyone have idea about this..[/size]
Parents
  • Note: This was originally posted on 10th July 2013 at http://forums.arm.com

    Not a GCC expert, but it looks like its the ABI your using.

    In your build command you setting the floating point ABI as soft (pass floating point arguments in integer registers).  But the error message from the linker suggests that what you're linking against is built for hard float (pass floating point arguments in VFP registers).  You can't mix objects with different ABIs (at least not if you want them to work).
Reply
  • Note: This was originally posted on 10th July 2013 at http://forums.arm.com

    Not a GCC expert, but it looks like its the ABI your using.

    In your build command you setting the floating point ABI as soft (pass floating point arguments in integer registers).  But the error message from the linker suggests that what you're linking against is built for hard float (pass floating point arguments in VFP registers).  You can't mix objects with different ABIs (at least not if you want them to work).
Children
No data