<?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>15594</bug_id>
          
          <creation_ts>2024-09-12 08:52:50 +0000</creation_ts>
          <short_desc>AB-INT: ld segfault during webruntime-clang build</short_desc>
          <delta_ts>2024-11-05 11:30:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>5.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>Martin.Jansa</cc>
    
    <cc>nvhieudt11</cc>
    
    <cc>ross.burton</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>99651</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-09-12 08:52:50 +0000</bug_when>
    <thetext>Happened during meta-webosose test on alma9-ty-2

https://autobuilder.yoctoproject.org/typhoon/#/builders/163/builds/40/steps/13/logs/stdio

| collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
| compilation terminated.
...
| WARNING: Backtrace (BB generated script):
| 	#1: do_compile, /home/pokybuild/yocto-worker/meta-webosose/build/build/tmp-glibc/work/qemux86_64-webos-linux/webruntime-clang/108.0.5359.217-32-r4/temp/run.do_compile.795229, line 167
| 	#2: main, /home/pokybuild/yocto-worker/meta-webosose/build/build/tmp-glibc/work/qemux86_64-webos-linux/webruntime-clang/108.0.5359.217-32-r4/temp/run.do_compile.795229, line 351</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99656</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-09-12 14:42:16 +0000</bug_when>
    <thetext>I wonder if this is actually an OOM in disguise?

Martin, have you seen webruntime-clang fail to build like this before?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99670</commentid>
    <comment_count>2</comment_count>
    <who name="Hieu Nguyen">nvhieudt11</who>
    <bug_when>2024-09-17 07:37:07 +0000</bug_when>
    <thetext>Hi,

I&apos;ve reproduced the problem on my docker container (almalinux9).
Here are dmesg log, segmentation fault when call ld.gold command:
&gt; [23896458.778136] ld.gold[2567414]: segfault at 18 ip 00007f8059e72cfe sp 00007ffded12c060 error 4 in libc.so.6[7f8059e01000+175000]
&gt; [23896690.710362] ld.gold[2576511]: segfault at 1fffffff9 ip 00007fd4ae0b3cfe sp 00007fff3ead3d20 error 4 in libc.so.6[7fd4ae042000+175000]

I tested with the worked around from Martin and webruntime can be built with this commit: https://github.com/webOS-ports/meta-webos-ports/commit/fffd8293be843b839c6bfe809a55277ed1502e2e (drop use_gold)

Actually we have already upgraded webruntime-clang version from 108 to 120 and it builds well on almalinux9, but just LG internals. We are waiting for next webosose release (maybe next month)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99760</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-10-03 15:00:11 +0000</bug_when>
    <thetext>Thanks Hieu.  Is that commit merged, and what&apos;s the timeline for the new webose release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99841</commentid>
    <comment_count>4</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-10-11 07:23:01 +0000</bug_when>
    <thetext>meta-webosose rocky9-ty-1
https://autobuilder.yoctoproject.org/typhoon/#/builders/163/builds/46/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99849</commentid>
    <comment_count>5</comment_count>
    <who name="Hieu Nguyen">nvhieudt11</who>
    <bug_when>2024-10-12 08:46:35 +0000</bug_when>
    <thetext>Hi Ross and Mathieu,

I saw the same issue on rocky9-ty-1 yesterday.
I asked the person in charge of OSE about the release plan, but they have too many issues and cannot release it right away, and they need to discuss/estimate and come up with a release plan.
Sorry for the inconvenience. I also hope they have an answer soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100035</commentid>
    <comment_count>6</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2024-10-25 10:09:06 +0000</bug_when>
    <thetext>meta-webosose rocky9-vk-2
https://valkyrie.yoctoproject.org/#/builders/51/builds/8/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100103</commentid>
    <comment_count>7</comment_count>
    <who name="Hieu Nguyen">nvhieudt11</who>
    <bug_when>2024-11-05 09:26:26 +0000</bug_when>
    <thetext>Hi Ross and Mathieu,

I would like to inform you that meta-webosose has been released on Github: https://github.com/webosose/meta-webosose/commits/kirkstone-webos.
Hopefully we won&apos;t have this problem again.

We have upgraded meta-qt6 from &quot;6.6.0&quot; to version &quot;6.7.2&quot;.
So could you please help to update the config.py and schedulers.py?
&gt; https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py#n63
&gt; https://git.yoctoproject.org/yocto-autobuilder2/tree/schedulers.py#n166

Thank you very much!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100111</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-11-05 11:30:44 +0000</bug_when>
    <thetext>Thanks Hieu for the update, and thanks Mattieu for the patch.  The AB is being updated now so I&apos;ll close this and we&apos;ll reopen if it happens again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>