<?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>3549</bug_id>
          
          <creation_ts>2012-12-07 03:38:58 +0000</creation_ts>
          <short_desc>rt-tests: do_compile failed with &quot;ld: cannot find -lrttest&quot;</short_desc>
          <delta_ts>2013-01-04 13:59:33 +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.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jackie Huang">jackie.huang</reporter>
          <assigned_to name="Jackie Huang">jackie.huang</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>zhenfeng.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28078</commentid>
    <comment_count>0</comment_count>
    <who name="Jackie Huang">jackie.huang</who>
    <bug_when>2012-12-07 03:38:58 +0000</bug_when>
    <thetext>rt-tests do_compile failed occasionally when PARALLEL_MAKE is set with a high number:e.g. PARALLEL_MAKE = &quot;-j 19&quot;:

| mips-poky-linux-gcc  -meb -mabi=32   -mhard-float -march=mips32 --sysroot=/buildarea1/jhuang0/yocto/y_mips_1114/tmp/sysroots/qemumips -D VERSION_STRING=0.85 -c src/hackbench/hackbench.c -O2 -pipe -g -feliminate-unused-debug-types -I/buildarea1/jhuang0/yocto/y_mips_1114/tmp/work/mips32-poky-linux/rt-tests/0.85-r0.0/git/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli -O2  -D_GNU_SOURCE -Isrc/include
| src/signaltest/signaltest.c: In function &apos;signalthread&apos;:
| src/signaltest/signaltest.c:130:27: warning: null argument where non-null required (argument 1) [-Wnonnull]
| src/signaltest/signaltest.c:176:5: warning: null argument where non-null required (argument 1) [-Wnonnull]
| src/cyclictest/cyclictest.c: In function &apos;tracing&apos;:
| src/cyclictest/cyclictest.c:407:43: warning: null argument where non-null required (argument 1) [-Wnonnull]
| src/cyclictest/cyclictest.c:417:3: warning: null argument where non-null required (argument 1) [-Wnonnull]
| chmod +x src/hwlatdetect/hwlatdetect.py
| ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
| src/signaltest/signaltest.c: At top level:
| cc1: warning: unrecognized command line option &quot;-Wno-nonnulli&quot; [enabled by default]
| mips-poky-linux-gcc  -meb -mabi=32   -mhard-float -march=mips32 --sysroot=/buildarea1/jhuang0/yocto/y_mips_1114/tmp/sysroots/qemumips -O2 -pipe -g -feliminate-unused-debug-types -I/buildarea1/jhuang0/yocto/y_mips_1114/tmp/work/mips32-poky-linux/rt-tests/0.85-r0.0/git/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli -O2 -Wl,-O1  -Wl,--as-needed -o hackbench hackbench.o -lrt -lpthread -lrttest -L.
| /buildarea1/jhuang0/yocto/y_mips_1114/tmp/sysroots/x86_64-linux/usr/libexec/mips32-poky-linux/gcc/mips-poky-linux/4.7.2/ld: cannot find -lrttest
| collect2: error: ld returned 1 exit status
| make: *** [hackbench] Error 1
| make: *** Waiting for unfinished jobs....
| src/cyclictest/cyclictest.c: At top level:
| cc1: warning: unrecognized command line option &quot;-Wno-nonnulli&quot; [enabled by default]
| mips-poky-linux-ar rcs librttest.a rt-utils.o error.o rt-get_cpu.o
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /buildarea1/jhuang0/yocto/y_mips_1114/tmp/work/mips32-poky-linux/rt-tests/0.85-r0.0/temp/log.do_compile.6680 for further information)
NOTE: recipe rt-tests-0.85-r0.0: task do_compile: Failed
ERROR: Task 6 (/buildarea1/jhuang0/git/poky/meta/recipes-rt/rt-tests/rt-tests_0.85.bb, do_compile) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 480 tasks of which 474 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /buildarea1/jhuang0/git/poky/meta/recipes-rt/rt-tests/rt-tests_0.85.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28143</commentid>
    <comment_count>1</comment_count>
    <who name="Jackie Huang">jackie.huang</who>
    <bug_when>2012-12-11 05:16:40 +0000</bug_when>
    <thetext>Fixed:

http://cgit.openembedded.org/openembedded-core/commit/?id=44bdd58494aeb7cef14b7931ba6f6628849f2c19</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28553</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-01-04 13:59:33 +0000</bug_when>
    <thetext>Verified in master: 09359e6ec00901abfe49157f1f9730117b4d284b using &quot;-j 19&quot; on a 4 core 8 thread i7 processor.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>