Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630434 - [ICE/6] net-libs/webkit-gtk-2.4.11-r1 gcc-6.4.0 ICE while compiling
Summary: [ICE/6] net-libs/webkit-gtk-2.4.11-r1 gcc-6.4.0 ICE while compiling
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-09 02:26 UTC by nuitari
Modified: 2019-05-04 21:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge --info output (emerge--info.txt,6.11 KB, text/plain)
2017-09-09 02:26 UTC, nuitari
Details
Build log (build.log.xz,48.14 KB, application/x-xz)
2017-09-09 02:28 UTC, nuitari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nuitari 2017-09-09 02:26:44 UTC
Created attachment 493420 [details]
Emerge --info output

This particular command during the build of net-libs/webkit-gtk-2.4.11-r1 seems to consistently produce a segfault

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_WebCore -DBUILDING_WEBKIT -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/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./DerivedSources/Platform -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -DDATA_DIR=\"/usr/share\" -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./Source/WebCore -I./Source/WebCore/Modules/battery -I./Source/WebCore/Modules/gamepad -I./Source/WebCore/Modules/geolocation -I./Source/WebCore/Modules/indexeddb -I./Source/WebCore/Modules/indexeddb/leveldb -I./Source/WebCore/Modules/indieui -I./Source/WebCore/Modules/mediasource -I./Source/WebCore/Modules/mediastream -I./Source/WebCore/Modules/navigatorcontentutils -I./Source/WebCore/Modules/notifications -I./Source/WebCore/Modules/plugins -I./Source/WebCore/Modules/proximity -I./Source/WebCore/Modules/quota -I./Source/WebCore/Modules/webaudio -I./Source/WebCore/Modules/webdatabase -I./Source/WebCore/Modules/websockets -I./Source/WebCore/accessibility -I./Source/WebCore/bindings -I./Source/WebCore/bindings/generic -I./Source/WebCore/bindings/js -I./Source/WebCore/bridge -I./Source/WebCore/bridge/c -I./Source/WebCore/bridge/jsc -I./Source/WebCore/crypto -I./Source/WebCore/crypto/keys -I./Source/WebCore/css -I./Source/WebCore/cssjit -I./Source/WebCore/dom -I./Source/WebCore/dom/default -I./Source/WebCore/editing -I./Source/WebCore/fileapi -I./Source/WebCore/history -I./Source/WebCore/html -I./Source/WebCore/html/canvas -I./Source/WebCore/html/forms -I./Source/WebCore/html/parser -I./Source/WebCore/html/shadow -I./Source/WebCore/html/track -I./Source/WebCore/inspector -I./Source/WebCore/loader -I./Source/WebCore/loader/appcache -I./Source/WebCore/loader/archive -I./Source/WebCore/loader/archive/mhtml -I./Source/WebCore/loader/cache -I./Source/WebCore/loader/icon -I./Source/WebCore/mathml -I./Source/WebCore/page -I./Source/WebCore/page/animation -I./Source/WebCore/page/scrolling -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters/ -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/filters/texmap -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/opengl -I./Source/WebCore/platform/graphics/opentype -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/leveldb -I./Source/WebCore/platform/linux -I./Source/WebCore/platform/mediastream -I./Source/WebCore/platform/mediastream/gstreamer -I./Source/WebCore/platform/mock -I./Source/WebCore/platform/mock/mediasource -I./Source/WebCore/platform/network -I./Source/WebCore/platform/network/gtk -I./Source/WebCore/platform/sql -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/icu -I./Source/WebCore/platform/win -I./Source/WebCore/plugins -I./Source/WebCore/plugins/win -I./Source/WebCore/rendering -I./Source/WebCore/rendering/line -I./Source/WebCore/rendering/mathml -I./Source/WebCore/rendering/shapes -I./Source/WebCore/rendering/style -I./Source/WebCore/rendering/svg -I./Source/WebCore/storage -I./Source/WebCore/style -I./Source/WebCore/svg -I./Source/WebCore/svg/animation -I./Source/WebCore/svg/graphics -I./Source/WebCore/svg/graphics/filters -I./Source/WebCore/svg/properties -I./Source/WebCore/testing -I./Source/WebCore/testing/js -I./Source/WebCore/websockets -I./Source/WebCore/workers -I./Source/WebCore/xml -I./Source/WebCore/xml/parser -I./WebCore/bindings/js -I./DerivedSources/WebCore -I./DerivedSources -I./DerivedSources/JavaScriptCore -I./Source/WebCore/platform/graphics/texmap -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -I./Source/WebCore/accessibility/atk -I./Source/WebCore/loader/gtk -I./Source/WebCore/page/gtk -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/audio/gstreamer -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/freetype -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/harfbuzz/ng -I./Source/WebCore/platform/graphics/egl -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/mediastream/gstreamer -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text/enchant -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspector -I./Source/JavaScriptCore/inspector/agents -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-omit-frame-pointer -fno-tree-dce -fno-strict-aliasing -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -fvisibility-inlines-hidden -fno-rtti -march=amdfam10 -msse3 -msse4a -m3dnow -O2 -pipe -pthread -std=c++11 -Wno-c++11-compat -MT DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedRect.lo -MD -MP -MF DerivedSources/WebCore/.deps/libWebCoreSVG_la-JSSVGAnimatedRect.Tpo -c DerivedSources/WebCore/JSSVGAnimatedRect.cpp  -fPIC -DPIC -o DerivedSources/WebCore/.libs/libWebCoreSVG_la-JSSVGAnimatedRect.o


In file included from ./Source/JavaScriptCore/heap/GCIncomingRefCounted.h:30:0,
                 from ./Source/JavaScriptCore/runtime/ArrayBuffer.h:29,
                 from ./Source/JavaScriptCore/heap/Heap.h:25,
                 from ./Source/JavaScriptCore/runtime/WriteBarrier.h:31,
                 from ./Source/JavaScriptCore/runtime/PropertyStorage.h:29,
                 from ./Source/JavaScriptCore/runtime/IndexingHeader.h:29,
                 from ./Source/JavaScriptCore/runtime/ArrayConventions.h:24,
                 from ./Source/JavaScriptCore/runtime/JSArray.h:24,
                 from ./Source/JavaScriptCore/bytecode/ArrayAllocationProfile.h:30,
                 from ./Source/JavaScriptCore/runtime/JSGlobalObject.h:25,
                 from ./Source/WebCore/bindings/js/JSDOMGlobalObject.h:31,
                 from ./Source/WebCore/bindings/js/JSDOMBinding.h:27,
                 from DerivedSources/WebCore/JSSVGAnimatedRect.h:26,
                 from DerivedSources/WebCore/JSSVGAnimatedRect.cpp:25:
./Source/WTF/wtf/Vector.h: In instantiation of 'void WTF::VectorBufferBase<T>::allocateBuffer(size_t) [with T = JSC::ExpressionRangeInfo::FatPosition; size_t = long unsigned int]':
./Source/WTF/wtf/Vector.h:990:29:   required from 'void WTF::Vector<T, inlineCapacity, OverflowHandler>::shrinkCapacity(size_t) [with T = JSC::ExpressionRangeInfo::FatPosition; long unsigned int inlineCapacity = 0ul; OverflowHandler = WTF::CrashOnOverflow; size_t = long unsigned int]'
./Source/WTF/wtf/Vector.h:645:40:   required from 'void WTF::Vector<T, inlineCapacity, OverflowHandler>::shrinkToFit() [with T = JSC::ExpressionRangeInfo::FatPosition; long unsigned int inlineCapacity = 0ul; OverflowHandler = WTF::CrashOnOverflow]'
./Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h:341:66:   required from here
./Source/WTF/wtf/Vector.h:261:5: internal compiler error: in ggc_set_mark, at ggc-page.c:1532
     }
     ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[1]: *** [GNUmakefile:69055: DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedRect.lo] Error 1
make[1]: *** Waiting for unfinished jobs....

I've rebuilded my whole system (about 1000+ packages) which includes the kernel sources, libreoffice, firefox, etc and this is the only package that triggered a segfault, and it is consistently at that command.
Comment 1 nuitari 2017-09-09 02:28:58 UTC
Created attachment 493422 [details]
Build log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2017-09-10 09:52:11 UTC
an ICE, nice :)

./Source/WTF/wtf/Vector.h:261:5: internal compiler error: in ggc_set_mark, at ggc-page.c:1532
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-10-04 09:18:07 UTC
Can't find any corresponding upstream bug yet.
Comment 4 Mart Raudsepp gentoo-dev 2017-10-09 15:28:00 UTC
I don't see anything to do for gnome@ here. We want to get rid of webkit-gtk-2.4, not keep fixing it. Upstream (of webkit) also doesn't care about it. The only thing to care for here seems to be fixing GCC to not ICE I suppose, and maybe that's the upstream report you were trying to find.
Comment 5 nuitari 2017-10-10 05:05:06 UTC
Not sure how it happened, but the only package that needed webkit-gtk-2.4.11-r1 is x11-libs/wxGTK-3.0.2.0-r301. That one wasn't used by anything. So I removed them both.
Comment 6 Mart Raudsepp gentoo-dev 2018-02-23 06:07:37 UTC
toolchain, do you want to look here further for the ICE bits, or we assume obsolete from webkit-gtk:2 being p.masked and removed soon?
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-04 21:02:23 UTC
Closing as obsolete. If someone still has the package locally that fails feel free to reopen and attach a preprocessed files and options: https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide