Bug 127103 - Webkit-gtk-2.3.4 fails to build
Summary: Webkit-gtk-2.3.4 fails to build
Status: RESOLVED INVALID
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: 2014-01-16 05:38 PST by Baste
Modified: 2014-01-27 00:58 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baste 2014-01-16 05:38:05 PST
Hi,
I'm try to build webkit-gtk-2.3.4 but have a error.

Log :
...
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-DynamicAnnotations.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-DynamicAnnotations.Tpo -c -o Source/WTF/wtf/libWTF_la-DynamicAnnotations.lo `test -f 'Source/WTF/wtf/DynamicAnnotations.cpp' || echo './'`Source/WTF/wtf/DynamicAnnotations.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-DynamicAnnotations.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-DynamicAnnotations.Tpo -c Source/WTF/wtf/DynamicAnnotations.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-DynamicAnnotations.o
mv -f Source/WTF/wtf/.deps/libWTF_la-DynamicAnnotations.Tpo Source/WTF/wtf/.deps/libWTF_la-DynamicAnnotations.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FastBitVector.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FastBitVector.Tpo -c -o Source/WTF/wtf/libWTF_la-FastBitVector.lo `test -f 'Source/WTF/wtf/FastBitVector.cpp' || echo './'`Source/WTF/wtf/FastBitVector.cpp
mv -f Source/WTF/wtf/.deps/libWTF_la-DecimalNumber.Tpo Source/WTF/wtf/.deps/libWTF_la-DecimalNumber.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FastMalloc.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FastMalloc.Tpo -c -o Source/WTF/wtf/libWTF_la-FastMalloc.lo `test -f 'Source/WTF/wtf/FastMalloc.cpp' || echo './'`Source/WTF/wtf/FastMalloc.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FastBitVector.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FastBitVector.Tpo -c Source/WTF/wtf/FastBitVector.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-FastBitVector.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FastMalloc.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FastMalloc.Tpo -c Source/WTF/wtf/FastMalloc.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-FastMalloc.o
mv -f Source/WTF/wtf/.deps/libWTF_la-DateMath.Tpo Source/WTF/wtf/.deps/libWTF_la-DateMath.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FilePrintStream.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FilePrintStream.Tpo -c -o Source/WTF/wtf/libWTF_la-FilePrintStream.lo `test -f 'Source/WTF/wtf/FilePrintStream.cpp' || echo './'`Source/WTF/wtf/FilePrintStream.cpp
mv -f Source/WTF/wtf/.deps/libWTF_la-FastBitVector.Tpo Source/WTF/wtf/.deps/libWTF_la-FastBitVector.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FunctionDispatcher.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FunctionDispatcher.Tpo -c -o Source/WTF/wtf/libWTF_la-FunctionDispatcher.lo `test -f 'Source/WTF/wtf/FunctionDispatcher.cpp' || echo './'`Source/WTF/wtf/FunctionDispatcher.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FilePrintStream.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FilePrintStream.Tpo -c Source/WTF/wtf/FilePrintStream.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-FilePrintStream.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-FunctionDispatcher.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-FunctionDispatcher.Tpo -c Source/WTF/wtf/FunctionDispatcher.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-FunctionDispatcher.o
mv -f Source/WTF/wtf/.deps/libWTF_la-FunctionDispatcher.Tpo Source/WTF/wtf/.deps/libWTF_la-FunctionDispatcher.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-GregorianDateTime.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Tpo -c -o Source/WTF/wtf/libWTF_la-GregorianDateTime.lo `test -f 'Source/WTF/wtf/GregorianDateTime.cpp' || echo './'`Source/WTF/wtf/GregorianDateTime.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-GregorianDateTime.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Tpo -c Source/WTF/wtf/GregorianDateTime.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-GregorianDateTime.o
mv -f Source/WTF/wtf/.deps/libWTF_la-FilePrintStream.Tpo Source/WTF/wtf/.deps/libWTF_la-FilePrintStream.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__  -I./Source -I./Source/WTF -I./Source/WTF/wtf  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-HashTable.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-HashTable.Tpo -c -o Source/WTF/wtf/libWTF_la-HashTable.lo `test -f 'Source/WTF/wtf/HashTable.cpp' || echo './'`Source/WTF/wtf/HashTable.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source -I./Source/WTF -I./Source/WTF/wtf -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -O2 -D_FORTIFY_SOURCE=2 -MT Source/WTF/wtf/libWTF_la-HashTable.lo -MD -MP -MF Source/WTF/wtf/.deps/libWTF_la-HashTable.Tpo -c Source/WTF/wtf/HashTable.cpp  -fPIC -DPIC -o Source/WTF/wtf/.libs/libWTF_la-HashTable.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'
make: *** [Source/JavaScriptCore/llint/Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o] Error 1
make: *** Waiting for unfinished jobs....
mv -f Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Tpo Source/WTF/wtf/.deps/libWTF_la-GregorianDateTime.Plo
mv -f Source/WTF/wtf/.deps/libWTF_la-HashTable.Tpo Source/WTF/wtf/.deps/libWTF_la-HashTable.Plo
mv -f Source/WTF/wtf/.deps/libWTF_la-FastMalloc.Tpo Source/WTF/wtf/.deps/libWTF_la-FastMalloc.Plo

For the full log, see http://frugalware.org/buildlogs/helicon/webkit-gtk3-2.3.4-1-x86_64.log

But the version webkit-gtk-2.3.3 build fine.
Version of gcc -> 4.7.2
Version of make -> 3.82

Thanks
Comment 1 Alberto Garcia 2014-01-23 04:19:10 PST
Looks like a GCC problem, it builds fine with GCC 4.8.

See http://stackoverflow.com/questions/9140019/yield-is-not-a-member-of-stdthis-thread
Comment 2 Alberto Garcia 2014-01-27 00:58:54 PST
Closing, please reopen if you still think it's a problem in WebKit.