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 <[email protected]> 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
> [email protected]
> https://lists.webkit.org/mailman/listinfo/webkit-gtk
>
_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to