[Webkit-unassigned] [Bug 139056] [jhBuild] cairo build error (-flto)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 26 01:43:20 PST 2014


--- Comment #1 from Fabien Vallée <fvallee at connected-labs.com> ---
The issue can be fixed in Tools/gtk/jhbuild.modules updating the cairo section:

-  <autotools id="cairo" autogen-sh="configure"
-             autogenargs="--enable-gl=yes --enable-egl=yes --enable-glx=yes ac_cv_func_rsvg_pixbuf_from_file=no"
-             makeargs="CFLAGS=-fno-lto CXXFLAGS=-fno-lto LDFLAGS=-fno-lto">
+  <autotools id="cairo"
+             autogenargs="--enable-gl=yes --enable-egl=yes --enable-glx=yes ac_cv_func_rsvg_pixbuf_from_file=no --disable-lto"
+             makeargs="">
       <dep package="fontconfig"/>
       <dep package="pixman"/>
@@ -71,6 +71,7 @@
+      <patch file="cairo-1.12.8-add_disable-lto.patch" strip="1"/>

1) apply cairo commit "configure.ac: Add a --disable-lto configure option"

2) add the --disable-lto to autogenargs

3) remove makeargs (CFLAGS=-fno-lto CXXFLAGS=-fno-lto LDFLAGS=-fno-lto)

4) remove autogen-sh="configure" to force the updated configure.ac to be reparsed

I don't think the changes are good enough to be submitted as-is (but they are good enough to fix my build and are not breaking build w/ gcc 4.8.1 / ld 2.23.2).

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141126/751c05d5/attachment-0002.html>

More information about the webkit-unassigned mailing list