Date: Mon, 25 Jul 2011 16:59:22 -0700 From: Chuck Swiger <cswiger@mac.com> To: Raphael Kubo da Costa <kubito@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: [ANNOUNCE]: clang compiling ports, take 2 Message-ID: <73BA5D45-BE57-4206-9118-AEA2F421FBA2@mac.com> In-Reply-To: <87r55eos3i.fsf@gmail.com> References: <20110725155920.GA83490@freebsd.org> <87r55eos3i.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi-- On Jul 25, 2011, at 4:31 PM, Raphael Kubo da Costa wrote: >> = http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205= 754/ >=20 > qt4-webkit seems to trigger a clang bug, but the description for clang > bug only says "See (TBA) for further information". Is there anything = we > (as in kde@) should do? From: = http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205= 754/qt4-webkit-4.7.3.log Clang is failing with an internal assertion failure, seems like it's not = parsing something correctly in RenderSlider.cpp, and hitting EOF: Assertion failed: (FieldNo < FieldCount && "Invalid Field No"), function = getFieldOffset, file = /a/portbuild/amd64/9-exp/builds/20110616185105/src/lib/clang/libclangast/.= ./../../contrib/llvm/tools/clang/include/clang/AST/RecordLayout.h, line = 121. Stack dump: 0. Program arguments: /usr/bin/clang++ -cc1 -triple = x86_64-unknown-freebsd9.0 -emit-obj -disable-free -main-file-name = RenderSlider.cpp -pic-level 2 -mdisable-fp-elim -relaxed-aliasing = -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 = -momit-leaf-frame-pointer -coverage-file = .obj/release-shared/RenderSlider.o -resource-dir = /usr/bin/../lib/clang/3.0 -D QT_SHARED -D BUILDING_QT__=3D1 -D = WTF_USE_ACCELERATED_COMPOSITING -D NDEBUG -D QT_NO_CAST_TO_ASCII -D = QT_ASCII_CAST_WARNINGS -D QT3_SUPPORT -D QT_MOC_COMPAT -D = QT_USE_FAST_OPERATOR_PLUS -D QT_USE_FAST_CONCATENATION -D = HAVE_PTHREAD_NP_H -D BUILD_WEBKIT -D BUILDING_QT__ -D = BUILDING_JavaScriptCore -D BUILDING_WTF -D ENABLE_VIDEO=3D1 -D = ENABLE_JAVASCRIPT_DEBUGGER=3D1 -D ENABLE_DATABASE=3D1 -D = ENABLE_EVENTSOURCE=3D1 -D ENABLE_OFFLINE_WEB_APPLICATIONS=3D1 -D = ENABLE_DOM_STORAGE=3D1 -D ENABLE_ICONDATABASE=3D1 -D = ENABLE_CHANNEL_MESSAGING=3D1 -D ENABLE_ORIENTATION_EVENTS=3D0 -D = ENABLE_SQLITE=3D1 -D ENABLE_DASHBOARD_SUPPORT=3D0 -D ENABLE_FILTERS=3D1 = -D ENABLE_XPATH=3D1 -D ENABLE_WCSS=3D0 -D ENABLE_WML=3D0 -D = ENABLE_SHARED_WORKERS=3D1 -D ENABLE_WORKERS=3D1 -D ENABLE_XHTMLMP=3D0 -D = ENABLE_DATAGRID=3D0 -D ENABLE_RUBY=3D1 -D ENABLE_SANDBOX=3D1 -D = ENABLE_PROGRESS_TAG=3D1 -D ENABLE_BLOB_SLICE=3D0 -D = ENABLE_3D_RENDERING=3D1 -D ENABLE_SVG=3D1 -D ENABLE_SVG_FONTS=3D1 -D = ENABLE_SVG_FOREIGN_OBJECT=3D1 -D ENABLE_SVG_ANIMATION=3D1 -D = ENABLE_SVG_AS_IMAGE=3D1 -D ENABLE_SVG_USE=3D1 -D ENABLE_DATALIST=3D1 -D = ENABLE_TILED_BACKING_STORE=3D1 -D ENABLE_NETSCAPE_PLUGIN_API=3D1 -D = ENABLE_WEB_SOCKETS=3D1 -D ENABLE_XSLT=3D0 -D ENABLE_QT_BEARER=3D1 -D = ENABLE_TOUCH_EVENTS=3D1 -D XP_UNIX -D SQLITE_CORE -D = SQLITE_OMIT_LOAD_EXTENSION -D SQLITE_OMIT_COMPLETE -D QT_NO_DEBUG -D = QT_GUI_LIB -D QT_NETWORK_LIB -D QT_CORE_LIB -D QT_HAVE_AVX -D = _LARGEFILE64_SOURCE -D _LARGEFILE_SOURCE -I ../../../../include/Qt -I = ../../../../include -I /usr/local/include/freetype2 -I = /usr/local/share/qt4/mkspecs/freebsd-clang -I . -I = ../../../../include/QtCore -I ../../../../include/QtNetwork -I = ../../../../include/QtGui -I ../../../../include -I bridge/qt -I page/qt = -I platform/graphics/qt -I platform/network/qt -I platform/qt -I = ../WebKit/qt/Api -I ../WebKit/qt/WebCoreSupport -I . -I accessibility -I = bindings/js -I bridge -I bridge/c -I bridge/jsc -I css -I dom -I = dom/default -I editing -I history -I html -I html/canvas -I inspector -I = loader -I loader/appcache -I loader/archive -I loader/icon -I = notifications -I page -I page/animation -I platform -I = platform/animation -I platform/graphics -I platform/graphics/filters -I = platform/graphics/transforms -I platform/image-decoders -I platform/mock = -I platform/network -I platform/sql -I platform/text -I plugins -I = rendering -I rendering/style -I storage -I svg -I svg/animation -I = svg/graphics -I svg/graphics/filters -I websockets -I wml -I workers -I = xml -I generated -I ../JavaScriptCore -I ../../webkit -I = ../JavaScriptCore/assembler -I ../JavaScriptCore/bytecode -I = ../JavaScriptCore/bytecompiler -I ../JavaScriptCore/debugger -I = ../JavaScriptCore/interpreter -I ../JavaScriptCore/jit -I = ../JavaScriptCore/parser -I ../JavaScriptCore/pcre -I = ../JavaScriptCore/profiler -I ../JavaScriptCore/runtime -I = ../JavaScriptCore/wtf -I ../JavaScriptCore/wtf/symbian -I = ../JavaScriptCore/wtf/unicode -I ../JavaScriptCore/yarr -I = ../JavaScriptCore/API -I ../JavaScriptCore/ForwardingHeaders -I = ../JavaScriptCore/generated -I ../include/QtWebKit -I = ../../../../include/QtWebKit -I .rcc/release-shared -I ../../sqlite -I = ../../../../include/phonon -I /usr/local/include -I .moc/release-shared = -I /usr/local/include -O2 -Wall -W -fdeprecated-macro -ferror-limit 19 = -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden = -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o = .obj/release-shared/RenderSlider.o -x c++ rendering/RenderSlider.cpp=20 1. <eof> parser at end of file 2. rendering/RenderSlider.cpp:43:11: LLVM IR generation of = declaration 'WebCore' 3. rendering/RenderSlider.cpp:81:26: Generating code for = declaration 'WebCore::SliderThumbElement::defaultEventHandler' 4. rendering/RenderSlider.cpp:82:1: LLVM IR generation of compound = statement ('{}') In file included from rendering/RenderTable.cpp:27: In file included from rendering/RenderTable.h:28: clang++: error: unable to execute command: Abort trap: 6 clang++: error: clang frontend command failed due to signal 2 (use -v to = see invocation) *** Error code 254 I don't see any potentially related bugs in llvm.org's bugtracker, so = this might be a new one. :-) Regards, --=20 -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73BA5D45-BE57-4206-9118-AEA2F421FBA2>