Bug 6409 - icu: do_compile failed when DEBUG_BUILD
Summary: icu: do_compile failed when DEBUG_BUILD
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-06-06 10:21 UTC by Robert Yang
Modified: 2014-07-25 04:40 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2014-06-06 10:21:00 UTC
Add the following lines to local.conf:

DEBUG_BUILD = "1"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"


$ bitbake icu

make[2]: Entering directory `/buildarea/lyang1/testdebug/tmp/work/core2-64-poky-linux/icu/53.1-r0/build/tools/genbrk'
x86_64-poky-linux-g++  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/buildarea/lyang1/testdebug/tmp/sysroots/qemux86-64 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -fvisibility-inlines-hidden -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long --std=c++0x   -Wl,-O1 -Wl,--hash-style=gnu   -o ../../bin/genbrk genbrk.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../stubdata -licudata -lpthread -ldl -lm
genbrk.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [../../bin/genbrk] Error 1
Comment 1 Robert Yang 2014-06-06 10:26:49 UTC
$ bitbake icu -ccleansstate && bitbake icu

will make it work again.
Comment 2 Hongxu Jia 2014-07-25 04:39:32 UTC
verified that they work now
Comment 3 Hongxu Jia 2014-07-25 04:40:37 UTC
verified that they work now