As I follows the guide from https://wiki.linaro.org/Boards/Origen/Android,
I face a compile error:
frameworks/base/opengl/libs/EGL/getProcAddress.cpp:103: error: 'TLS_SLOT_OPENGL_API' was not declared in this scope
In details:
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-g++ -I bionic/libc/private -I frameworks/base/opengl/libs -I out/target/product/origen/obj/SHARED_LIBRARIES/libEGL_intermediates -I dalvik/libnativehelper/include/nativehelper -I system/core/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I dalvik/libnativehelper/include -I frameworks/base/include -I frameworks/base/opengl/include -I frameworks/base/native/include -I external/skia/include -I out/target/product/origen/obj/include -I bionic/libc/arch-arm/include -I bionic/libc/include -I bionic/libstdc++/include -I bionic/libc/kernel/common -I bionic/libc/kernel/arch-arm -I bionic/libm/include -I bionic/libm/include/arch/arm -I bionic/libthread_db/include -c -fno-exceptions -Wno-multichar -msoft-float -fpic -ffunction-sections -funwind-tables -fstack-protector -Wa,--noexecstack -Werror=format-security -fno-short-enums -march=armv7-a -mfloat-abi=softfp -mfpu=neon -include system/core/include/arch/linux-arm/AndroidConfig.h -I system/core/include/arch/linux-arm/ -Wno-psabi -mthumb-interwork -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DOMAP_ENHANCEMENT -DTARGET_OMAP4 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -DNDEBUG -g -Wstrict-aliasing=2 -finline-functions -fno-inline-functions-called-once -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DNDEBUG -UDEBUG -fvisibility-inlines-hidden -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wsign-promo -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -DNDEBUG -UDEBUG -fomit-frame-pointer -funswitch-loops -finline-limit=300 -fno-rtti -DHAVE_ARM_TLS_REGISTER -DLOG_TAG=\"libEGL\" -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -fvisibility=hidden -DHAVE_ARM_TLS_REGISTER -MD -o out/target/product/origen/obj/SHARED_LIBRARIES/libEGL_intermediates/EGL/getProcAddress.o frameworks/base/opengl/libs/EGL/getProcAddress.cpp
frameworks/base/opengl/libs/EGL/getProcAddress.cpp: In function 'void android::__glExtFwd0()':
frameworks/base/opengl/libs/EGL/getProcAddress.cpp:103: error: 'TLS_SLOT_OPENGL_API' was not declared in this scope
frameworks/base/opengl/libs/EGL/getProcAddress.cpp: In function 'void android::__glExtFwd1()':
frameworks/base/opengl/libs/EGL/getProcAddress.cpp:103: error: 'TLS_SLOT_OPENGL_API' was not declared in this scope
First, don't follow that wiki, follow the email I sent to you before. The content in that wiki may be outdated. We don't have the resource to update that frequently.
Second, All the Android build failed today, you can find them here:
https:/ /android- build.linaro. org/
We are investigating on it.