RFR: 8270867: Debug build of WebKit 613.1 fails on Linux

Jay Bhaskar jbhaskar at openjdk.java.net
Wed Mar 16 13:58:49 UTC 2022


On Wed, 16 Mar 2022 07:54:57 GMT, Peter Zhelezniakov <peterz at openjdk.org> wrote:

> The file `wtf/linux/MemoryPressureLinux.cpp` was renamed `wtf/unix/MemoryPressureUnix.cpp` in https://trac.webkit.org/changeset/261428 . In the openjfx workspace, both files are present. I'm removing the old file.

The patch https://trac.webkit.org/changeset/261428  committed in May 8, 2020. it is older than a recent patch https://bugs.webkit.org/attachment.cgi?id=443979&action=prettypatch

But i remember , the error for this file [MemoryPressureHandlerLinux.cpp]  was  at 
  if (ReliefLogger::loggingEnabled() && isUnderMemoryPressure())
        LOG(MemoryPressure, "System is no longer under memory pressure.");

The variable  isUnderMemoryPressure was giving error. saying right variable m_underMemoryPressure instead of isUnderMemoryPressure

Error:
[jfx/modules/javafx.web/src/main/native/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:39:28: error: 'LogMemoryPressure' was not declared in this scope; did you mean 'isUnderMemoryPressure'? ]


There was anothe issue with the build, as below 
[JavaScriptCore/Scripts/resolve-asm-file-conflicts.rb](http://rejfx.us.oracle.com:8080/job/jfx-submit/label=lin-ol7-x64/ws/jfx/rt/modules/javafx.web/build/linux/Debug/JavaScriptCore/Scripts/resolve-asm-file-conflicts.rb)>:99:in `parse': undefined method `/' for

This was removed by updating rub version.

-------------

PR: https://git.openjdk.java.net/jfx/pull/756


More information about the openjfx-dev mailing list