> -----Original Message----- > From: webkit-gtk-boun...@lists.webkit.org [mailto:webkit-gtk- > boun...@lists.webkit.org] On Behalf Of Gavin Lambert > Sent: Wednesday, 25 September, 2013 12:19 > To: webkit-gtk@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 _______________________________________________ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk