[webkit-gtk] webkitgtk-2.0.4 compilation fails

John Frankish j-frankish at slb.com
Wed Sep 25 21:12:16 PDT 2013

> -----Original Message-----
> From: webkit-gtk-bounces at lists.webkit.org [mailto:webkit-gtk-
> bounces at lists.webkit.org] On Behalf Of Gustavo Noronha Silva
> Sent: Thursday, 26 September, 2013 06:21
> To: webkit-gtk at lists.webkit.org
> Subject: Re: [webkit-gtk] webkitgtk-2.0.4 compilation fails
> Em Qua, 2013-09-25 às 10:32 +0000, John Frankish escreveu:
> >   CXXLD  Programs/WebKit2APITests/TestBackForwardList
> > ./.libs/libwebkit2gtk-3.0.so: undefined reference to
> `__sync_add_and_fetch_8'
> > collect2: error: ld returned 1 exit status
> > ./.libs/libwebkit2gtk-3.0.so: undefined reference to
> `__sync_add_and_fetch_8'
> That's a compiler builtin that should use CPU features or generate calls to
> those functions that are being mentioned there. I believe you are probably
> disabling those CPU features somehow by "forcing" the build to i486. Is there
> a reason you want to tell the build to use i486 as an arch? See:
> http://gcc.gnu.org/onlinedocs/gcc-4.3.5/gcc/Atomic-Builtins.html
Thanks - I'm compiling for more machines than just my own, hence using a "standard" of "-march=i486 -mtune=i686".

This is the first time in many years I came across such an error, even with software that no sane person would try to use on an i486...


More information about the webkit-gtk mailing list