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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>240162</bug_id>
          
          <creation_ts>2022-05-06 03:10:49 -0700</creation_ts>
          <short_desc>[Flatpak SDK] Update mold to version 1.2.1</short_desc>
          <delta_ts>2022-05-06 07:47:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236362</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1867152</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-05-06 03:10:49 -0700</bug_when>
    <thetext>Version 1.2.1 was released a few days ago, with many improvements for LTO
support (and Clang&apos;s ThinLTO):

  https://github.com/rui314/mold/releases/tag/v1.2.1

Now --gdb-index is properly supported, and reading the release notes I&apos;ve
learnt that one needs to pass -ggnu-pubnames to the compiler for the option
to actually do something (which we are not currently doing, follow-up patch
later on).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867169</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-05-06 06:46:34 -0700</bug_when>
    <thetext>Here there&apos;s some numbers for my build machine, making an initial
RelWithDebInfo build, removing bin/* and lib/*.so* from the build
directory and then measuring how much it takes for the build to
complete, in order to (mostly) measure link time:

Mold				LLD			
usr	sys	wall		usr	sys	wall	
							
45,94	1,64	48,77		56,86	79,31	46,27	
42,32	1,19	44,48		60,09	77,43	49,78	
45,69	1,33	48,19		56,30	74,35	46,04	
42,19	1,29	44,65		60,19	78,22	49,77	
45,54	1,73	48,52		56,56	79,41	46,33	
							
44,03	1,36	46,52		58,36	77,33	47,96	avg
							
				1,33x	56,75x	1,03x	diff

Something very interesting to note is that the wall time for both
linkers is quite similar, but LLD is taking considerably more user
and system time than Mold. Neither manage to bring CPU usage up
to 100% across all 64 cores in my build machine, which means the
bottleneck here is disk access.

On machines with higher I/O thoroughput (better bus, better drives,
RAID-0 arrangement, etc.), the faster the disk access gets, the
faster using Mold will be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867170</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-05-06 06:48:45 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/542</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867182</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-06 07:46:33 -0700</bug_when>
    <thetext>Committed r293887 (250345@main): &lt;https://commits.webkit.org/250345@main&gt;

Reviewed commits have been landed. Closing PR #542 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867183</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-06 07:47:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/92859456&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>