<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6409</bug_id>
          
          <creation_ts>2014-06-06 10:21:00 +0000</creation_ts>
          <short_desc>icu: do_compile failed when DEBUG_BUILD</short_desc>
          <delta_ts>2014-07-25 04:40:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43802</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-06-06 10:21:00 +0000</bug_when>
    <thetext>Add the following lines to local.conf:

DEBUG_BUILD = &quot;1&quot;

require conf/multilib.conf
MULTILIBS = &quot;multilib:lib32&quot;
DEFAULTTUNE_virtclass-multilib-lib32 = &quot;x86&quot;


$ bitbake icu

make[2]: Entering directory `/buildarea/lyang1/testdebug/tmp/work/core2-64-poky-linux/icu/53.1-r0/build/tools/genbrk&apos;
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43803</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-06-06 10:26:49 +0000</bug_when>
    <thetext>$ bitbake icu -ccleansstate &amp;&amp; bitbake icu

will make it work again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44691</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-07-25 04:39:32 +0000</bug_when>
    <thetext>verified that they work now</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44693</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-07-25 04:40:37 +0000</bug_when>
    <thetext>verified that they work now</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>