Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2013 11:02:35 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/181932: www/qt4-webkit: fatal error: 'ext/atomicity.h' file not found (on CLANG only)
Message-ID:  <201309081102.r88B2ZYQ054035@oldred.freebsd.org>
Resent-Message-ID: <201309081110.r88BA0sV043089@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181932
>Category:       ports
>Synopsis:       www/qt4-webkit: fatal error: 'ext/atomicity.h' file not found (on CLANG only)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 08 11:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
10.0-CURRENT FreeBSD 10.0-CURRENT #2  r255386: Sat Sep  7 13:04:03 CEST 2013 amd64

No gcc-stuff anymore (cleaned via make delete-old)
>Description:
Compiling www/qt4-webkit fails with a lot of compiler errors on a most recent CURRENT box with GCC gone (CLANG only, libc++ only).

The initial error seems a commong compiler bug, while the second error (out of a bunch of errors selected as representatives) seems to be clearly a missing ext/xxx.h header vansihes from GNU GCC 4.2.

[...]
--- .obj/release-static/FastMalloc.o ---
clang++ -c -O2 -pipe -O3 -march=native -fno-strict-aliasing -I../../../../include/Qt -I../../../../include -O2 -pthread -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -pthread -D_THREAD_SAFE -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_GLIB_SUPPORT=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/usr/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHea
 ders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/usr/local/include/glib-2.0 -I/usr/local/include -I.moc/release-static -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-static/FastMalloc.o wtf/FastMalloc.cpp
--- .obj/release-static/GOwnPtr.o ---
--- .obj/release-static/YarrPattern.o ---
In file included from yarr/YarrPattern.cpp:28:
In file included from yarr/YarrPattern.h:30:
In file included from ./runtime/UString.h:26:
In file included from ./wtf/text/StringImpl.h:28:
In file included from ./wtf/CrossThreadRefCounted.h:35:
In file included from wtf/PassRefPtr.h:25:
wtf/NullPtr.h:48:23: error: functions that differ only in their return type cannot be overloaded
extern std::nullptr_t nullptr;



[...]


--- .obj/release-static/GRefPtr.o ---
clang++ -c -O2 -pipe -O3 -march=native -fno-strict-aliasing -I../../../../include/Qt -I../../../../include -O2 -pthread -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -pthread -D_THREAD_SAFE -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_GLIB_SUPPORT=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-clang -I. -I../../../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/usr/ports/www/qt4-webkit/work/qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -Iwtf/unicode -Iyarr -IAPI -IForwardingHea
 ders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/usr/local/include/glib-2.0 -I/usr/local/include -I.moc/release-static -I/usr/local/include/qt4 -I/usr/local/include -o .obj/release-static/GRefPtr.o wtf/gobject/GRefPtr.cpp
--- .obj/release-static/YarrPattern.o ---
In file included from yarr/YarrPattern.cpp:28:
In file included from yarr/YarrPattern.h:30:
In file included from ./runtime/UString.h:26:
In file included from ./wtf/text/StringImpl.h:28:
In file included from ./wtf/CrossThreadRefCounted.h:37:
In file included from wtf/Threading.h:66:
./wtf/Atomics.h:74:10: fatal error: 'ext/atomicity.h' file not found
#include <ext/atomicity.h>


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309081102.r88B2ZYQ054035>