Q: I have succesfully compiled this lib for another platform with gnu toolchain v4.4.
But, wth the toolchain of SOM_LV, I get the following error:
libtool: link: arm-none-linux-gnueabi-g++ -W -Wall -Wpointer-arith -g -O2 -pipe -O3 -I. -I.. -o .libs/agent agent-agent_impl.o agent-main.o agent-snmp_agent.o ../../ASNMP/asnmp/.libs/libasnmp.a ../../ace/.libs/libACE.so -lrt -lpthread -ldl -Wl,-rpath -Wl,/home/mguler/workspace/lib/trunk/ace/ACE_wrappers-6.0.3-SOM_LV-release-shared/lib
/home/otokar/toolchain/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: .libs/agent: hidden symbol `__sync_add_and_fetch_4' in /home/otokar/toolchain/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libgcc.a(linux-atomic.o) is referenced by DSO
/home/otokar/toolchain/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output
I would be happy if you give me a clue to solve the problem.
What if I use v4.4 tools for my application and put it to SOM_LV? Is it possible at all?
A: We only support the toolchain version that is selected by default in config/platform/omap_logic/defconfig
The toolchain can be changed, but we do not support that unless you have contracted with our services team to change the toolchain.