[webkit-gtk] webkitgtk-2.0.4 compilation fails

Gustavo Noronha Silva gns at gnome.org
Wed Sep 25 19:20:39 PDT 2013


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 too 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

Cheers,

-- 
Gustavo Noronha Silva <gns at gnome.org>
GNOME Project



More information about the webkit-gtk mailing list