This is the first time that I am building linaro-android-12.04-release. I am getting some build errors. This is what I did to get sources, from a bash script.
MANIFEST_BRANCH="linaro-android-12.04-release"
MANIFEST_FILENAME="staging-panda.xml"
mkdir $ANDROID_DIR
echo "getting android sources"
pushd $ANDROID_DIR
repo init -u ${MANIFEST_REPO} -b ${MANIFEST_BRANCH} -m ${MANIFEST_FILENAME}
repo sync
This is how I get the tool and the toolchain that I am using.
This is how I am building it.
At first, I got some error about not having hardware/linaro/tinyhal/. I added that repository off linaro. Probably should have ask for help at this point but ...
target thumb C++: libwilhelm <= system/media/wilhelm/src/itf/IStreamInformation.cpp
system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_eq_getParam(android::sp<android::AudioEffect>, int32_t, int32_t, void*)':
system/media/wilhelm/src/android/android_Effect.cpp:196:21: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_eq_setParam(android::sp<android::AudioEffect>, int32_t, int32_t, void*)':
system/media/wilhelm/src/android/android_Effect.cpp:222:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_fx_setParam(android::sp<android::AudioEffect>, int32_t, uint32_t, void*, uint32_t)':
system/media/wilhelm/src/android/android_Effect.cpp:550:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
system/media/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_fx_getParam(android::sp<android::AudioEffect>, int32_t, uint32_t, void*, uint32_t)':
system/media/wilhelm/src/android/android_Effect.cpp:570:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
target thumb C++: libwilhelm <= system/media/wilhelm/src/itf/IVideoDecoderCapabilities.cpp
cc1plus: some warnings being treated as errors
make: *** [out/target/product/pandaboard/obj/SHARED_LIBRARIES/libwilhelm_intermediates/android/android_Effect.o] Error 1