The patch from webkit fixed the glib errors, although the build of Qt 4.8.1 
fails at another error.
I am building with GCC-4.7/Glibc-2.15 and used the GCC4.7 patch for Qt 
mentioned by Pierre on the blfs-devel list two days ago.

Below is output from the error. Can anyone tell me what is causing this build 
failure?

And Bruce: Unfortunately, KDE4 requires qtwebkit.

...
g++ -c -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align 
-Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter 
-Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn 
-Winit-self -Werror -Wno-c++0x-compat -ffunction-sections -fdata-sections -O2 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -pthread 
-pthread -pthread -pthread -pthread -pthread -pthread -I/usr/include/freetype2 
-D_REENTRANT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS 
-DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 
-DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 
-DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 
-DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 
-DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 
-DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 
-DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 
-DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 
-DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1 
-DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 
-DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATION_API=0 
-DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 
-DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 
-DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1 
-DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 
-DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=1 -DWTF_USE_GSTREAMER=1 -DXP_UNIX 
-DENABLE_NETSCAPE_PLUGIN_METADATA_CACHE=1 -DENABLE_GLIB_SUPPORT=1 
-DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_NETWORK_LIB -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../../../../../mkspecs/linux-g++ 
-I. -I../../../../../include/QtCore -I../../../../../include/QtNetwork 
-I../../../../../include/QtGui -I../../../../../include -I../JavaScriptCore 
-I../../Source -I../ThirdParty -I../JavaScriptCore/assembler 
-I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler 
-I../JavaScriptCore/heap -I../JavaScriptCore/dfg -I../JavaScriptCore/debugger 
-I../JavaScriptCore/interpreter -I../JavaScriptCore/jit 
-I../JavaScriptCore/parser -I../JavaScriptCore/profiler 
-I../JavaScriptCore/runtime -I../JavaScriptCore/wtf 
-I../JavaScriptCore/wtf/gobject 
-I/sources/qt/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian
 -I../JavaScriptCore/wtf/unicode -I../JavaScriptCore/yarr 
-I../JavaScriptCore/API -I../JavaScriptCore/ForwardingHeaders 
-I../JavaScriptCore/generated -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt 
-Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/Api 
-I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings -Ibindings/generic 
-Ibridge -Icss -Idom -Idom/default -Iediting -Ifileapi -Ihistory -Ihtml 
-Ihtml/canvas -Ihtml/parser -Ihtml/shadow -Iinspector -Iloader 
-Iloader/appcache -Iloader/archive -Iloader/cache -Iloader/icon -Imathml 
-Inotifications -Ipage -Ipage/animation -Iplatform -Iplatform/animation 
-Iplatform/audio -Iplatform/graphics -Iplatform/graphics/filters 
-Iplatform/graphics/filters/arm -Iplatform/graphics/texmap 
-Iplatform/graphics/transforms -Iplatform/image-decoders -Iplatform/leveldb 
-Iplatform/mock -Iplatform/network -Iplatform/sql -Iplatform/text 
-Iplatform/text/transcoder -Iplugins -Irendering -Irendering/mathml 
-Irendering/style -Irendering/svg -Istorage -Isvg -Isvg/animation 
-Isvg/graphics -Isvg/graphics/filters -Isvg/properties -Itesting -Iwebaudio 
-Iwebsockets 
-I/sources/qt/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/WebCore/wml
 -Iworkers -Ixml -Ibridge/jsc -Ibindings/js 
-I/sources/qt/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization
 -Ibridge/c -Itesting/js -Igenerated -I../../Source -I../../include 
-I../include/QtWebKit -I../include -Iplatform/graphics/gstreamer 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/X11/include 
-I.moc/release-static -o .obj/release-static/AccessibilityProgressIndicator.o 
accessibility/AccessibilityProgressIndicator.cpp
In file included from ../JavaScriptCore/wtf/CrossThreadRefCounted.h:36:0,
                 from ../JavaScriptCore/wtf/text/StringImpl.h:28,
                 from ../JavaScriptCore/wtf/text/AtomicStringImpl.h:24,
                 from ../JavaScriptCore/wtf/text/AtomicString.h:24,
                 from ../JavaScriptCore/wtf/text/StringHash.h:25,
                 from platform/ThreadGlobalData.h:33,
                 from dom/EventNames.h:25,
                 from dom/EventTarget.h:35,
                 from dom/Node.h:28,
                 from editing/VisiblePosition.h:30,
                 from accessibility/AccessibilityObject.h:34,
                 from accessibility/AccessibilityObject.cpp:30:
../JavaScriptCore/wtf/RefCounted.h: In instantiation of 'void 
WTF::RefCounted<T>::deref() [with T = WebCore::Frame]':
../JavaScriptCore/wtf/PassRefPtr.h:59:13:   required from 'void 
WTF::derefIfNotNull(T*) [with T = WebCore::Frame]'
../JavaScriptCore/wtf/RefPtr.h:58:35:   required from 
'WTF::RefPtr<T>::~RefPtr() [with T = WebCore::Frame]'
page/FrameTree.h:37:29:   required from here
../JavaScriptCore/wtf/RefCounted.h:141:13: error: deleting object of 
polymorphic class type 'WebCore::Frame' which has non-virtual destructor might 
cause undefined behaviour [-Werror=delete-non-virtual-dtor]
cc1plus: all warnings being treated as errors
make[2]: *** [.obj/release-static/AccessibilityRenderObject.o] Error 1
make[2]: Leaving directory 
`/sources/qt/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/WebCore'
make[1]: *** [sub-WebCore-make_default-ordered] Error 2
make[1]: Leaving directory 
`/sources/qt/qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source'
make: *** [sub-webkit-make_default-ordered] Error 2
...

-Ragnar-
                                          
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to