[Webkit-unassigned] [Bug 240378] New: Non-unified build broken in debug mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 04:48:42 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240378

            Bug ID: 240378
           Summary: Non-unified build broken in debug mode
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com

/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp: In static member function ‘static void JSC::StructureMemoryManager::commitBlock(void*)’:
/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:123:49: error: ‘PROT_READ’ was not declared in this scope
  123 |         mprotect(block, MarkedBlock::blockSize, PROT_READ | PROT_WRITE);
      |                                                 ^~~~~~~~~
/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:123:61: error: ‘PROT_WRITE’ was not declared in this scope
  123 |         mprotect(block, MarkedBlock::blockSize, PROT_READ | PROT_WRITE);
      |                                                             ^~~~~~~~~~
/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:123:9: error: ‘mprotect’ was not declared in this scope
  123 |         mprotect(block, MarkedBlock::blockSize, PROT_READ | PROT_WRITE);
      |         ^~~~~~~~
/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp: In static member function ‘static void JSC::StructureMemoryManager::decommitBlock(void*)’:
/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:135:49: error: ‘PROT_NONE’ was not declared in this scope; did you mean ‘U_NT_NONE’?
  135 |         mprotect(block, MarkedBlock::blockSize, PROT_NONE);
      |                                                 ^~~~~~~~~
      |                                                 U_NT_NONE
/app/webkit/Source/JavaScriptCore/heap/StructureAlignedMemoryAllocator.cpp:135:9: error: ‘mprotect’ was not declared in this scope
  135 |         mprotect(block, MarkedBlock::blockSize, PROT_NONE);
      |         ^~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220513/8d295d5f/attachment.htm>


More information about the webkit-unassigned mailing list