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
Pelion IoT Platform
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
Issues in Porting RVCT library to gcc toolchain(arm-none-gnueabi-gcc)
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
4 replies
Subscribers
127 subscribers
Views
2283 views
Users
0 members are here
Related
Issues in Porting RVCT library to gcc toolchain(arm-none-gnueabi-gcc)
Offline
Santhosh Kumar
over 7 years ago
Note: This was originally posted on 18th May 2010 at http://forums.arm.com
Hi,
I am currently porting RVCT generated static library into arm gcc toolchain(arm-none-gnueabi-gcc). I am currently getting the following errors.
1. Undefined reference to all Math Functions(sin,cos,pow,exp etc), I have included math.h header file & also the path to libm.so.6 but still I am getting undefined reference error.
2. Undefined reference to __aeabi_memmove4 __aeabi_memcpy4 __aeabi_memclr4.
Can anyone help me in getting out of this problem?
Offline
Peter Harris
over 7 years ago
Note: This was originally posted on 19th May 2010 at
http://forums.arm.com
This might be useful:
[url="
http://infocenter.arm.com/help/topic/com.arm.doc.dai0178b/index.html
"]
http://infocenter.arm.com/help/topic/com.a...178b/index.html[/url]
I think the section on "helper libraries" is the one you are after.
Cancel
Up
0
Down
Reply
Cancel
Offline
Santhosh Kumar
over 7 years ago
Note: This was originally posted on 19th May 2010 at
http://forums.arm.com
Hi all,
I have now included an option --no_hide_all(to expose all symbols in library)option while builing rvct library,and all the undefined error to Math function have gone away, but still i am getting this error.
Undefined reference to __aeabi_memclr4.
Can anyone have any suggestion?
Cancel
Up
0
Down
Reply
Cancel
Offline
Santhosh Kumar
over 7 years ago
Note: This was originally posted on 19th May 2010 at
http://forums.arm.com
Hi,
I solved that problem too, there is an compiler option -Ono_memcpy which prevent arm compiler from optimizing memory related function .
So now I was able to integrate rvct generated library to arm-gcc toolchain
Thanks,
Santhosh
Cancel
Up
0
Down
Reply
Cancel
Offline
Shashanka Dasari
over 7 years ago
Note: This was originally posted on 25th November 2010 at
http://forums.arm.com
HI
I am also trying to port RVCT2.2 static library to gcc tool chain.
I have added the compiler option -Ono_memcpy & --no_hide_all.
All undefined memcpy & strlen errors have gone.
But I am still getting one error:
unresolvable R_ARM_PLT32 relocation against symbol `memcpy@@VERS_1.17'
Does anyone know the reason for it?
Thanks
Shashanka
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
Not Answered
Forum FAQs
0
ARM Community
904
views
0
replies
Started
4 days ago
by
Annie Cracknell
Suggested Answer
How to view SFRs in DS during debugging?
0
247
views
1
reply
Latest
1 day ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
3171
views
2
replies
Latest
14 days ago
by
Ivan Savvateev
Answered
Failure to get an evaluation license with error Unable to execute API call /api/v1/connect
0
4106
views
3
replies
Latest
19 days ago
by
Tim Holt
Suggested Answer
DS52020.0 connection to Musca-A/B boards not working
0
Arm Development Studio
Musca-A
5145
views
4
replies
Latest
21 days ago
by
Daniel Oliveira
>
View all questions in Arm Development Studio forum