Bug 132231
| Summary: | [GTK] [Stable] Compilation error in Source/WTF/wtf/ByteSpinLock.h | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | robert heiler <shevegen> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | berto, cgarcia, mrobinson |
| Priority: | P3 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
robert heiler
My System:
========================================================================
Screen Resolution: 1280x1024
GCC Version: 4.7.1
Glibc Version: (GNU libc) 2.15
Binutils Version: GNU ld (Linux/GNU Binutils) 2.22.52.0.2.20120424
Operating System: GNU/Linux
Make Version in use: 4.0
Cmake Version in use: 2.8.8
OS Bit Type: i686
CPU Model: AMD Athlon(tm) II X2 4450e Processor
RAM: 3813568 kB
========================================================================
The webkitgtk I try to compile:
webkitgtk-2.4.1.tar.xz
The bug that happens:
CXX Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o
In file included from ./Source/JavaScriptCore/runtime/ConcurrentJITLock.h:30:0,
from ./Source/JavaScriptCore/bytecode/ArrayProfile.h:29,
from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
./Source/WTF/wtf/ByteSpinLock.h: In member function 'void WTF::ByteSpinLock::lock()':
./Source/WTF/wtf/ByteSpinLock.h:48:13: error: 'yield' is not a member of 'std::this_thread'
GNUmakefile:77688: recipe for target 'Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o' failed
make: *** [Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o] Error 1
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alberto Garcia
This is a gcc bug:
https://stackoverflow.com/questions/9140019/yield-is-not-a-member-of-stdthis-thread