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
2285 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
Suggested Answer
DS-5: Unable to connect to USB-Blaster
0
7014
views
1
reply
Latest
3 months ago
by
Ronan Synnott
Suggested Answer
ARM 8.5-A BTI and MTE Benchmarking
0
23110
views
6
replies
Latest
3 months ago
by
Stephen Theobald
Suggested Answer
ARM64 Linaro toochain Link error ( R_AARCH64_ADR_PREL_PG_HI21 )
0
7703
views
2
replies
Latest
4 months ago
by
Kishan Patel
Suggested Answer
Fail to run the Ds5 example project "Armv8-A SMP AArch64 Startup Code for Linaro bare-metal GCC - Arm DS-5 "
0
7288
views
1
reply
Latest
4 months ago
by
Ronan Synnott
Answered
STM32F411RE: cannot use #include math_arm.h for CMSIS
0
STM32F4DISCOVERY
Digital Signal Processor (DSP)
CMSIS
33365
views
7
replies
Latest
4 months ago
by
HonestTrooper
<
>
View all questions in Arm Development Studio forum