Bug 124110 - WebkitGTK Windows not handled headers macro
Summary: WebkitGTK Windows not handled headers macro
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-09 20:13 PST by Bakhtiar Hasmanan
Modified: 2017-03-11 10:47 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bakhtiar Hasmanan 2013-11-09 20:13:09 PST
I tried to update python binding (pygi) for WebkitGTK 2.2.1

In Source/WTF/wtf/Platform.h
the port trapped in !PLATFORM(QT) asking non existant WTFHeaderDetection
...
#if OS(WINDOWS) && !OS(WINCE)
#define HAVE_SYS_TIMEB_H 1
#define HAVE_ALIGNED_MALLOC 1
#define HAVE_ISDEBUGGERPRESENT 1

#if !PLATFORM(QT)
#include <WTF/WTFHeaderDetection.h>
#endif

#endif
...

I had to add, I change it to #if !PLATFORM(QT) && !PLATFORM(GTK)

In Source/WTF/wtf/atomics.h
mingw combination causes another issues

MemoryBarrier
ReadWriteBarrier
not available in __MINGW32__ but exist in __MINGW64_VERSION_MAJOR

weakCompareAndSwap()
it pick MS-styled asm

In the end I can't generate jscore/webkit gir, I can' run simple gtklauncher too, previously I had to disable JIT but now it throw:
offlineasm: Parsing ./Source/JavaScriptCore/llint/LowLevelInterpreter.asm and Programs/LLIntOffsetsExtractor.exe and creating assembly file DerivedSources/JavaScriptCore/LLIntAssembly.h.
offlineasm: No magic values found. Skipping assembly file generation.
which needed by lowlevel interp