<?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>268619</bug_id>
          
          <creation_ts>2024-02-02 05:45:47 -0800</creation_ts>
          <short_desc>[GTK][WPE] REGRESSION(273985@main): Undefined reference to &apos;shm_open&apos; and &apos;shm_unlink&apos;</short_desc>
          <delta_ts>2024-02-03 05:31:29 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</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=268610</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Pino">dpino</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>olivier.blin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2010073</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-02-02 05:45:47 -0800</bug_when>
    <thetext>After 273951@main, bots started to fail with the following linking error:

https://build.webkit.org/#/builders/596/builds/17082

```
FAILED: bin/TestWebKitAPI/TestWebCore 
: &amp;&amp; /bin/g++-10  -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-uninitialized -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG  -L/home/buildbot/worker/WPE-Linux-64-bit-Release-Ubuntu-2004-Build/build/WebKitBuild/DependenciesWPE/Root/lib -Wl,--disable-new-dtags @CMakeFiles/TestWebCore.rsp  -o bin/TestWebKitAPI/TestWebCore  &amp;&amp; :
Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-76.cpp.o:UnifiedSource-3c72abbe-76.cpp:function WebCore::SharedMemory::allocate(unsigned long): error: undefined reference to &apos;shm_open&apos;
Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-76.cpp.o:UnifiedSource-3c72abbe-76.cpp:function WebCore::SharedMemory::allocate(unsigned long): error: undefined reference to &apos;shm_unlink&apos;
collect2: error: ld returned 1 exit status
```

The linker cannot resolve references to &apos;shm_open&apos; and &apos;shm_unlink&apos; which are defined in librt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010074</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-02-02 05:48:33 -0800</bug_when>
    <thetext>Pull request: https://github.com/webkit/webkit/pull/23739</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010204</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2024-02-02 11:56:39 -0800</bug_when>
    <thetext>*** Bug 268626 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010368</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-02-03 05:31:29 -0800</bug_when>
    <thetext>Closing, the patch from https://github.com/WebKit/WebKit/pull/23746 was
enough in the end.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>