Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Build error with DS500-BN-00001-r5p0-13rel0
Jump...
Cancel
Locked
Locked
Replies
5 replies
Subscribers
118 subscribers
Views
3645 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
Sreenath P V
over 12 years ago
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
Scott Douglass
over 12 years ago
Note: This was originally posted on 10th July 2013 at
http://forums.arm.com
What distribution is your Pandaboard running? (Maybe 'cat /etc/lsb-release')
You need it to have an 'hf' ABI root filesystem to run apps built with -mfloat-abi=hard
If it has 'hf' ABI it should have /lib/ld-linux-armhf.so.3 and /lib/arm-linux-gnueabihf/
If it has softfp ABI it should have /lib/ld-linux.so.3
By the way:
- the latest version of DS-5 is v5.15
- Panda uses Cortex-A9 not Cortex-A8. (Building for Cortex-A8 shouldn't cause a failure, but might be sub-optimal.)
Cancel
Vote up
0
Vote down
Cancel
Reply
Scott Douglass
over 12 years ago
Note: This was originally posted on 10th July 2013 at
http://forums.arm.com
What distribution is your Pandaboard running? (Maybe 'cat /etc/lsb-release')
You need it to have an 'hf' ABI root filesystem to run apps built with -mfloat-abi=hard
If it has 'hf' ABI it should have /lib/ld-linux-armhf.so.3 and /lib/arm-linux-gnueabihf/
If it has softfp ABI it should have /lib/ld-linux.so.3
By the way:
- the latest version of DS-5 is v5.15
- Panda uses Cortex-A9 not Cortex-A8. (Building for Cortex-A8 shouldn't cause a failure, but might be sub-optimal.)
Cancel
Vote up
0
Vote down
Cancel
Children
No data