Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
Setting output EABI version in RVCT3.1
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
5 replies
Subscribers
126 subscribers
Views
3647 views
Users
0 members are here
Related
Setting output EABI version in RVCT3.1
Offline
Sneha Pallapotu
over 7 years ago
Note: This was originally posted on 15th May 2013 at http://forums.arm.com
Hi I am using a library built with RVCT3.1 and linking it to my linux application using arm-elf-gcc-4.6.1, I am getting an error of EABI versions mis-match.
RVCT3.1 generates a EABI version 5 and arm-elf-gcc is giving a EABI version 0, Is there a way to set the RVCT output EABI version (to make it backward compatible)
or to set the arm-elf-gcc EABI version to make the library and application objects compatible.
Offline
Scott Douglass
over 7 years ago
Note: This was originally posted on 16th May 2013 at
http://forums.arm.com
I don't think there's any way to change what EABI version RVCT 3.1 produces. I'm surprised to see gcc producing version 0. Are you using '-flto'?
If you're really sure that the EABI mismatch doesn't matter you can use --no-warn-mismatch when linking (with GNU ld), but you're inviting a lot of debugging pain if the EABI mismatch does, in fact, matter.
Cancel
Up
0
Down
Reply
Cancel
Offline
Sneha Pallapotu
over 7 years ago
Note: This was originally posted on 16th May 2013 at
http://forums.arm.com
I am not using the -flto option.
I am not sure if EABI mismatch would cause a problem in program execution as such but I was under the impression that objects of different EABI versions are incompatible.
Anyway, still I tried using "[size=2]--no-warn-mismatch" in my GNU makefile, it gives me following error[/size]
arm-elf-gcc: error: unrecognized option '--no-warn-mismatch'
Cancel
Up
0
Down
Reply
Cancel
Offline
Scott Douglass
over 7 years ago
Note: This was originally posted on 16th May 2013 at
http://forums.arm.com
If you're passing it to gcc you'll need to mark the option as a linker option: -Wl,--no-warn-mismatch
Cancel
Up
0
Down
Reply
Cancel
Offline
Sneha Pallapotu
over 7 years ago
Note: This was originally posted on 17th May 2013 at
http://forums.arm.com
Thanks scott. The solution worked and I am able to get my final library after partial linking..Will check if the version mismatch is causing any problem while running..
but observed a strange behavior: the error message I was getting earlier said
error: Source object *.o has EABI version 5, but target ../lib/*.a has EABI version 0
But Now after building with option --no-warn-mismatch, when I check the EABI version of generated *.a, its GNU EABI 4 !!!
Any idea why this discrepancy?
Cancel
Up
0
Down
Reply
Cancel
Offline
Scott Douglass
over 7 years ago
Note: This was originally posted on 20th May 2013 at
http://forums.arm.com
Is your .a file an archive (from ar) or a partial link? (or something else?). Maybe show the command-line that produces it.
(But even with the command-line, I don't think I'll have an answer. Maybe try asking the same place you the got the GNU tools?)
Cancel
Up
0
Down
Reply
Cancel
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Suggested Answer
How to view SFRs in DS during debugging?
0
1941
views
1
reply
Latest
1 month ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
4845
views
2
replies
Latest
1 month ago
by
Ivan Savvateev
Answered
Failure to get an evaluation license with error Unable to execute API call /api/v1/connect
0
5767
views
3
replies
Latest
1 month ago
by
Tim Holt
Suggested Answer
DS52020.0 connection to Musca-A/B boards not working
0
Arm Development Studio
Musca-A
6786
views
4
replies
Latest
1 month ago
by
Daniel Oliveira
Suggested Answer
Positioning a function in a Position Independent Executable for ARMV8
0
7357
views
3
replies
Latest
2 months ago
by
Stephen Theobald
<
>
View all questions in Arm Development Studio forum