[Webkit-unassigned] [Bug 183595] Cmake for static build of libjavascriptcoregtk and libwebkit2gtk fails: install TARGETS given no ARCHIVE DESTINATION for static library target "WebKit".

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 15 08:13:10 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=183595

--- Comment #23 from Stefan Fröberg <sfroberg13 at yahoo.com> ---
(In reply to Didier Spaier from comment #22)
> (In reply to Stefan Fröberg from comment #15)
> > (In reply to Didier Spaier from comment #10)
> > > Created attachment 335729 [details]
> > > Build log (most features enabled).
> > 
> > That looks similar to bug I posted sometime ago
> > 
> > https://bugs.webkit.org/show_bug.cgi?id=183190
> > Did not get that error with 2.18.6 however with my gcc 7.3.0
> 
> Yes, it looks very similar to what I get her with gcc 5.5.0.
> 
> To make sure I tried again using the same options with 2.18.6 (success) and
> 2.20.0 (failure). I just added USE_WOFF2=OFF for 2.20 as I don't have that
> installed. Also, with 2.20.0 it took only 2 minutes to get to more than 50%
> completion. Isn't that strange?
> 
> Variables and options:
> 
> LIBDIRSUFFIX="64"
> CFLAGS="-Wno-expansion-to-defined"
> CXXFLAGS="-Wno-expansion-to-defined"
> CXXFLAGS+=" -fno-delete-null-pointer-checks"
> CFLAGS+=" -fno-delete-null-pointer-checks"
> cmake \
> -DCMAKE_BUILD_TYPE=Release \
> -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
> -DCMAKE_INSTALL_PREFIX=/usr \
> -DCMAKE_SKIP_RPATH=ON \
> -DENABLE_DRAG_SUPPORT=OFF \
> -DENABLE_GEOLOCATION=OFF \
> -DENABLE_ICONDATABASE=OFF \
> -DENABLE_INDEXED_DATABASE=OFF \
> -DENABLE_NOTIFICATIONS=OFF \
> -DENABLE_PLUGIN_PROCESS_GTK2=OFF \
> -DENABLE_SPELLCHECK=OFF \
> -DENABLE_VIDEO=OFF \
> -DENABLE_WEBDRIVER=OFF \
> -DENABLE_WEB_AUDIO=OFF \
> -DENABLE_WEB_CRYPTO=OFF \
> -DLIBEXEC_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/webkit2gtk-4.0 \
> -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
> -DPORT=GTK \
> -DUSE_LIBHYPHEN=OFF \
> -DUSE_LIBNOTIFY=OFF \
> -DUSE_LIBSECRET=OFF \
> -DUSE_SYSTEM_MALLOC=ON \
> -DUSE_WOFF2=OFF \
> .. 2>&1| tee ../../CONFIGLOGSHARED-2.20.0
> make -j 2 2>&1| tee ../../MAKELOGSHARED-2.20.0|| return 1
> 
> I attach the MAKELOGSHARED-2.20.0.
> 
> So, as far as I can tell there is a regression in 2.20.0 vs 2.18.6.

Yes, that's for sure. 
BTW, I made a custom libicudata.a and linked all the stuff against it and saved around 100 MB from the total :-)
So now the total size of my test app + 3 *Process files is 251 MB.
But there is more, if Im not wrong the whole webkitgtk is compiled with -O3 
That adds size of about 30% 
So next I try how it behaves with -O2 or even -Os and also the total size.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180315/fda7724c/attachment-0001.html>


More information about the webkit-unassigned mailing list