Compile errors from Origen Android platform

Bug #878102 reported by Sangwook Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Invalid
Low
Botao

Bug Description

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

Revision history for this message
Botao (botao-sun) wrote :

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.

Revision history for this message
Fathi Boudra (fboudra) wrote : Re: [Bug 878102] Re: Compile errors from Origen Android platform

On 19 October 2011 15:56, Botao Sun <email address hidden> wrote:
> 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.

You should check the content and if it's outdated, you should file a
bug against linaro-documentation.
The content of a random mail at some point in time isn't the official
source of documentation and shouldn't be recommended.

> Second, All the Android build failed today, you can find them here:
>
> https://android-build.linaro.org/
>
> We are investigating on it.
>
> --
> You received this bug notification because you are subscribed to Linaro
> Android.
> https://bugs.launchpad.net/bugs/878102
>
> Title:
>  Compile errors from Origen Android platform
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linaro-android/+bug/878102/+subscriptions
>

--
Fathi Boudra
Linaro Release Manager | Validation Project Manager
Linaro.org | Open source software for ARM SoCs

Revision history for this message
Botao (botao-sun) wrote :

I feel our document is always outdated if you look into the details. Monthly release cycle is tight, actually not even monthly because we have some frozen days. There is a gap between ideal and reality. About this document issue, we have discussed in our previous Connect session, but we don't have a completed solution until now. And we can't hire a document writer to do this because only the developers now what exactly it is. So far the best practice is we will update it when we find it's outdated. For example, there is a chance that I need to read some thing from our wiki site and I find it's outdated according to my experience or knowledge, then I will update. But we can't do this before every component release or RC date because the time is really really tight. :)

Revision history for this message
Botao (botao-sun) wrote :
Changed in linaro-android:
importance: Undecided → Low
assignee: nobody → Botao Sun (botao-sun)
milestone: none → 11.10
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.