Title: [158845] trunk/Tools
Revision
158845
Author
[email protected]
Date
2013-11-07 04:46:32 -0800 (Thu, 07 Nov 2013)

Log Message

[Efl] Disable LTO when building cairo
https://bugs.webkit.org/show_bug.cgi?id=123947

Patch by Nick Diego Yamane <[email protected]> on 2013-11-07
Reviewed by Gyuyoung Kim.

Cairo always uses LTO, when it detects compiler support.
LTO is buggy in many/all versions of GCC and shouldn't be enabled by
default. This patch disables LTO when building cairo library.
- See: https://bugs.freedesktop.org/show_bug.cgi?id=60852

With gcc 4.7.3, for example, the build fails with the following message:
'lto1: fatal error: LTO_tags out of range: Range is 0 to 361, value is 15872'

* efl/jhbuild.modules:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (158844 => 158845)


--- trunk/Tools/ChangeLog	2013-11-07 12:29:10 UTC (rev 158844)
+++ trunk/Tools/ChangeLog	2013-11-07 12:46:32 UTC (rev 158845)
@@ -1,3 +1,20 @@
+2013-11-07  Nick Diego Yamane  <[email protected]>
+
+        [Efl] Disable LTO when building cairo
+        https://bugs.webkit.org/show_bug.cgi?id=123947
+
+        Reviewed by Gyuyoung Kim.
+
+        Cairo always uses LTO, when it detects compiler support.
+        LTO is buggy in many/all versions of GCC and shouldn't be enabled by
+        default. This patch disables LTO when building cairo library.
+        - See: https://bugs.freedesktop.org/show_bug.cgi?id=60852
+
+        With gcc 4.7.3, for example, the build fails with the following message:
+        'lto1: fatal error: LTO_tags out of range: Range is 0 to 361, value is 15872'
+
+        * efl/jhbuild.modules:
+
 2013-11-07  Mario Sanchez Prada  <[email protected]>
 
         AX: [ATK] Video and audio elements are not properly exposed

Modified: trunk/Tools/efl/jhbuild.modules (158844 => 158845)


--- trunk/Tools/efl/jhbuild.modules	2013-11-07 12:29:10 UTC (rev 158844)
+++ trunk/Tools/efl/jhbuild.modules	2013-11-07 12:46:32 UTC (rev 158845)
@@ -52,7 +52,8 @@
   <repository type="tarball" name="downloads.sourceforge.net"
       href=""
 
-  <autotools id="cairo" autogen-sh="configure">
+  <autotools id="cairo" autogen-sh="configure"
+             makeargs="CFLAGS='-fno-lto' CXXFLAGS='-fno-lto' LDFLAGS='-fno-lto'">
     <dependencies>
       <dep package="fontconfig"/>
       <dep package="pixman"/>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to