Bitbake error compiling icu-native-57.1-r0

I have a problem building image angstrom-lxde-image for Apalis TK1. My build system is a german Ubuntu 14.04 LTS

ERROR: icu-native-57.1-r0 do_compile: oe_runmake failed
ERROR: icu-native-57.1-r0 do_compile: Function failed: do_compile (log file is located at /home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/temp/log.do_compile.4226)
ERROR: Logfile of failure stored in: /home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/temp/log.do_compile.4226
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| ERROR: oe_runmake failed
| Note: rebuild with "make VERBOSE=1 " to show all compiler parameters.
| make[0]: Making `all' in `stubdata'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/stubdata'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/stubdata'
| make[0]: Making `all' in `common'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/common'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/common'
| make[0]: Making `all' in `i18n'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/i18n'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/i18n'
| make[0]: Making `all' in `layout'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/layout'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/layout'
| make[0]: Making `all' in `layoutex'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/layoutex'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/layoutex'
| make[0]: Making `all' in `io'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/io'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/io'
| make[0]: Making `all' in `tools'
| make[1]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools'
| make[1]: Making `all' in `toolutil'
| make[2]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools/toolutil'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools/toolutil'
| make[1]: Making `all' in `ctestfw'
| make[2]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools/ctestfw'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools/ctestfw'
| make[1]: Making `all' in `makeconv'
| make[2]: Entering directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools/makeconv'
| g++  -isystem/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/usr/include -O2 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++98 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long   -L/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -L/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/t-pe/ApalisTK1-core/build/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-O1   -o ../../bin/makeconv makeconv.o ucnvstat.o genmbcs.o gencnvex.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../stubdata -licudata -lpthread -ldl -lm
| ../../lib/libicui18n.so: undefined reference to `icu_57::ScriptSet::ret(UScriptCode, UErrorCode&)'
| collect2: error: ld returned 1 exit status
| make[2]: *** [../../bin/makeconv] Error 1
| make[2]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools/makeconv'
| make[1]: *** [all-recursive] Error 2
| make[1]: Leaving directory `/home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/build/tools'
| make: *** [all-recursive] Error 2
| ERROR: Function failed: do_compile (log file is located at /home/t-pe/ApalisTK1-core/build/tmp-glibc/work/x86_64-linux/icu-native/57.1-r0/temp/log.do_compile.4226)
ERROR: Task (virtual:native:/home/t-pe/ApalisTK1-core/build/../layers/openembedded-core/meta/recipes-support/icu/icu_57.1.bb:do_compile) failed with exit code '1'

Hi

Did you already go through the suggestions in Failing Builds and what were the results?

http://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Failing_Builds

What is the GNU toolchain version installed in your distro?

g++ --version

Max

Thanks a lot Max!
Cleaning the task icu-native with bitbake and reloading solved the problem
Thomas