Nathaniel Husted
unread,Aug 1, 2012, 1:59:19 PM8/1/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
I'm currently building a piece of software in to a general AOSP image.
The project itself is located in <buildroot>/external. The project
compiles without error in ICS and JellyBean on both x86 and ARM (both
general, and maguro). However, when I try to compile the exact same
project in Gingerbread, I get the following compile error:
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld:
out/target/product/generic/obj/EXECUTABLES/projectname_intermediates/src/ev.o:
in function evpipe_write:external/projectname/src/ev.c:1842: error:
undefined reference to '__sync_synchronize'
collect2: ld returned 1 exit status
__sync_synchronize is a built-int intrinsic GCC function so there
should be absolutely no problems finding it. Why does LD have issues
finding this in Gingerbread but not ICS/JellyBean? What changes were
made to the build system? Does anyone know a workaround? I tried
setting TARGET_TOOLS_PREFIX to the tools used with JellyBean but had
no luck.
Cheers,
Nathaniel