> -----Original Message-----
> From: [email protected] [mailto:webkit-gtk-
> [email protected]] On Behalf Of Gustavo Noronha Silva
> Sent: Thursday, 26 September, 2013 06:21
> To: [email protected]
> 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...

Regards
John
_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to