[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 Gavin Lambert
> Sent: Wednesday, 25 September, 2013 12:19
> To: webkit-gtk at lists.webkit.org
> Subject: Re: [webkit-gtk] webkitgtk-2.0.4 compilation fails
> 
> Quoth John Frankish:
> >>>   CXXLD  Programs/WebKit2APITests/TestBackForwardList
> >>> ./.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.
> [...]
> > CFLAGS="-march=i486 -mtune=i686 -Os -pipe  -fno-exceptions -fno-rtti "
> > CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe " ./configure --
> 
> Given "-march=i486 -mtune=i686", I believe that add_and_fetch_8 is illegal.
> The required CPU instruction (part of the double-word-CAS family) was only
> implemented on Pentium and above.
> 
> Either you'll need to build with at least -march=i586 or someone will need to
> change the code.
> 
> (And does anyone care about 486s any more?  I probably have one kicking
> around somewhere but I don't use it -- at least not for web browsing.)  ;)
> 
> 
-march=i686 fixes it

..web browsing is exactly what you'd use an old i486 for, no?

Regards
John


More information about the webkit-gtk mailing list