Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Issues in Porting RVCT library to gcc toolchain(arm-none-gnueabi-gcc)
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3822 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
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
Issues in Porting RVCT library to gcc toolchain(arm-none-gnueabi-gcc)
Santhosh Kumar
over 12 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?
Peter Harris
over 12 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
Vote up
0
Vote down
Cancel
Santhosh Kumar
over 12 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
Vote up
0
Vote down
Cancel
Santhosh Kumar
over 12 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
Vote up
0
Vote down
Cancel
Shashanka Dasari
over 12 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
Vote up
0
Vote down
Cancel