Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8283246

WebKit fails to build on Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      Ubuntu 20.04, gcc-9.4.0, cmake-3.16.3

    • Subcomponent:
      web
    • CPU:
      x86_64
    • OS:
      linux

      Description

      WebKit fails to build on Linux after the 613.1 update:

      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’?
         39 | #define LOG_CHANNEL_PREFIX Log
            | ^~~
      jfx/modules/javafx.web/src/main/native/Source/WTF/wtf/Assertions.h:175:63: note: in definition of macro ‘JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2’
        175 | #define JOIN_LOG_CHANNEL_WITH_PREFIX_LEVEL_2(prefix, channel) prefix ## channel
            | ^~~~~~
      jfx/modules/javafx.web/src/main/native/Source/WTF/wtf/Assertions.h:172:27: note: in expansion of macro ‘JOIN_LOG_CHANNEL_WITH_PREFIX’
        172 | #define LOG_CHANNEL(name) JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, name)
            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      jfx/modules/javafx.web/src/main/native/Source/WTF/wtf/Assertions.h:172:56: note: in expansion of macro ‘LOG_CHANNEL_PREFIX’
        172 | #define LOG_CHANNEL(name) JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, name)
            | ^~~~~~~~~~~~~~~~~~
      jfx/modules/javafx.web/src/main/native/Source/WTF/wtf/Assertions.h:495:35: note: in expansion of macro ‘LOG_CHANNEL’
        495 | #define LOG(channel, ...) WTFLog(&LOG_CHANNEL(channel), __VA_ARGS__)
            | ^~~~~~~~~~~
      jfx/modules/javafx.web/src/main/native/Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:74:9: note: in expansion of macro ‘LOG’
         74 | LOG(MemoryPressure, "System is no longer under memory pressure.");
            | ^~~
      ninja: build stopped: subcommand failed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              peterz Peter Zhelezniakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: