<?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>14016</bug_id>
          
          <creation_ts>2020-08-20 00:18:45 +0000</creation_ts>
          <short_desc>glibc build race in do_compile</short_desc>
          <delta_ts>2021-05-13 15:08:04 +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>3.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>anuj.mittal</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>87988</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-08-20 00:18:45 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1250

fedora32-ty-1

Log is huge, tail end is:

/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/build-x86_64-poky-linux/elf/pldd.o.d:232: *** missing separator.  Stop.
| make[4]: Leaving directory &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/git/elf&apos;
| make[3]: *** [../o-iterator.mk:9: /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/build-x86_64-poky-linux/elf/rtld-dl-addr-obj.os] Error 2
| make[3]: *** Waiting for unfinished jobs....
| make[4]: Leaving directory &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/git/string&apos;
| make[3]: Leaving directory &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/git/elf&apos;
| make[2]: *** [Makefile:553: /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/build-x86_64-poky-linux/elf/rtld-libc.a] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/git/elf&apos;
| make[1]: *** [Makefile:490: elf/others] Error 2
| make[1]: Leaving directory &apos;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/git&apos;
| make: *** [Makefile:9: all] Error 2
| WARNING: /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_comp
ile.3265138:199 exit 1 from &apos;exit 1&apos;
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_compile.3265138, line 199
| 	#2: die, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_compile.3265138, line 189
| 	#3: oe_runmake, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_compile.3265138, line 175
| 	#4: base_do_compile, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_compile.3265138, line 167
| 	#5: do_compile, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_compile.3265138, line 152
| 	#6: main, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-1877933/tmp/work/core2-64-poky-linux/glibc/2.32-r0/temp/run.do_compile.3265138, line 209
| 
| Backtrace (metadata-relative locations):
| 	#1: bbfatal_log, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes/logging.bbclass, line 72
| 	#2: die, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes/base.bbclass, line 56
| 	#3: oe_runmake, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes/base.bbclass, line 65
| 	#4: base_do_compile, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes/base.bbclass, line 327
| 	#5: do_compile, /home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/glibc/glibc_2.32.bb, line 99
NOTE: recipe glibc-2.32-r0: task do_compile: Failed
ERROR: Task (/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-core/glibc/glibc_2.32.bb:do_compile) failed with exit code &apos;1&apos;
NOTE: recipe linux-yocto-5.4.58+gitAUTOINC+83311f062f_7e20784a1d-r0: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 2301 tasks of which 1711 didn&apos;t need to be rerun and 1 failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88006</commentid>
    <comment_count>1</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2020-08-20 22:45:04 +0000</bug_when>
    <thetext>I wonder if you were able to capture pldd.o.d file, since that might give a bit of insight into the issue, these files are created using -MD gcc option, there are many variables in play here</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88624</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-11-19 15:45:51 +0000</bug_when>
    <thetext>Lowered to medium, raise to M+ if seen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88657</commentid>
    <comment_count>3</comment_count>
    <who name="Anuj Mittal">anuj.mittal</who>
    <bug_when>2020-11-23 05:33:19 +0000</bug_when>
    <thetext>I got this while building gatesgarth:

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/2760/steps/10/logs/step5b

In the same build configuration, next step also failed with same error:

https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/2760/steps/10/logs/step6b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89638</commentid>
    <comment_count>4</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2021-03-18 02:56:10 +0000</bug_when>
    <thetext>one common thing I see is that in all reported cases its failing in elf/ dir

| make[1]: *** [Makefile:490: elf/others] Error 2

lets see if its in same area when it happens next time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90369</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-05-13 15:08:04 +0000</bug_when>
    <thetext>Only seen on versions that are now EOL. Reopen if need on supported versions of glibc.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>