Bug 95637

Summary: Can't compile with MinGW-w64 - sys/mman.h not found
Product: WebKit Reporter: Jonathan Liu <net147>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   

Jonathan Liu
Reported 2012-09-01 00:26:39 PDT
Building with MinGW-w64 results in ENABLE_EXECUTABLE_ALLOCATOR_FIXED being defined to 1 in Platform.h. Compiling javascriptcore/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp results in a compile error because sys/mman.h is not available when using MinGW. Platform.h needs "#if CPU(X86_64) || PLATFORM(IOS)" changed to "#if (CPU(X86_64) || PLATFORM(IOS)) && !COMPILER(MINGW64)".
Attachments
Jonathan Liu
Comment 1 2012-09-01 00:35:40 PDT
This seems to be already fixed. I was looking at the wrong version.
Note You need to log in before you can comment on or make changes to this bug.