Bug 150118
Summary: | Compile error at WebKit/Source/WebCore/html/HTMLDetailsElement.cpp:42 | ||
---|---|---|---|
Product: | WebKit | Reporter: | it |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | bugs-noreply, darin, it |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
it
Command to compile:
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$dst/usr \
-DCMAKE_SKIP_RPATH=ON \
-DPORT=GTK -DLIB_INSTALL_DIR=$dst/usr/lib \
-DENABLE_MINIBROWSER=ON \
-DENABLE_GEOLOCATION=OFF \
-DENABLE_PLUGIN_PROCESS_GTK2=OFF \
-Wno-dev ../WebKit && make -j4
Result:
...
~/WebCore/html/HTMLDetailsElement.cpp: in function «const WTF::AtomicString& WebCore::summarySlotName()»:
~/WebKit/Source/WebCore/html/HTMLDetailsElement.cpp:42:52: err var «WTF::NeverDestroyed<WTF::AtomicString> summarySlot» initialized, but have not complete type
static NeverDestroyed<AtomicString> summarySlot("summarySlot");
^
[ 15%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/html/HTMLFrameElement.cpp.o
/home/triod/WebKit/Source/WebCore/html/HTMLDetailsElement.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
it
problem exist few day. My last (source version) git commit e861dec807f799494a349e40da2a7c6048e97642
it
Temporary solution is:
revert Source code to git 4226b9741095267eccf15899533703c050477190
After this all seems to be ok.
$ gcc -v
Используются внутренние спецификации.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/lto-wrapper
Целевая архитектура: x86_64-pc-linux-gnu
Параметры конфигурации: /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.9.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.9.3 p1.2, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --with-multilib-list=m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-cloog --enable-libsanitizer
Модель многопоточности: posix
gcc версия 4.9.3 (Gentoo 4.9.3 p1.2, pie-0.6.3)