[webkit-gtk] webkitgtk-2.0.4 compilation fails

Žan Doberšek zandobersek at gmail.com
Tue Sep 24 21:19:37 PDT 2013


Are you specifying the architecture properly through the compiler flags, by
setting CFLAGS/CXXFLAGS envs to appropriate values?
http://stackoverflow.com/questions/2566167/where-to-find-sync-add-and-fetch-8

Cheers,
Zan


On Tue, Sep 24, 2013 at 8:58 PM, John Frankish <j-frankish at slb.com> wrote:

> When trying to compile webkitgtk-2.0.4 with gtk+-3.8.4 and gcc-4.7.2, the
> compilation fails with:
>
>   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'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Programs/WebKit2APITests/TestBackForwardList] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [Programs/WebKit2APITests/TestContextMenu] Error 1
> ./.libs/libwebkit2gtk-3.0.so: undefined reference to
> `__sync_add_and_fetch_8'
>
> Is this an illegal processor instruction? Webkitgtk and gtk+-3 are being
> compiled for i486.
>
> Regards
> John
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20130924/f644775a/attachment.html>


More information about the webkit-gtk mailing list