[webkit-gtk] webkitgtk-2.0.4 compilation fails
Gavin Lambert
gavinl at compacsort.com
Wed Sep 25 01:18:41 PDT 2013
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.) ;)
More information about the webkit-gtk
mailing list