<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cairo 1.12.18 configure testfails with -flto"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88867">88867</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cairo 1.12.18 configure testfails with -flto
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>david@ixit.cz
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compiling 32bit cairo version with -m32.

At least this test need get -fno-lto to work propertly. Or it is gcc bug?

System: Gentoo
CC: Gcc 4.9.2


configure:19462: x86_64-pc-linux-gnu-gcc -m32 -c -O2 -pipe -flto -O3
-march=native -fno-stack-protector -pipe  conftest.c >&5
configure:19462: $? = 0
configure:19480: x86_64-pc-linux-gnu-gcc -m32 -c -O2 -pipe -flto -O3
-march=native -fno-stack-protector -pipe  conftest.c >&5
conftest.c: In function 'main':
conftest.c:37:4: error: unknown type name 'not'
    not big endian
    ^
conftest.c:37:12: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'endian'
    not big endian
            ^
configure:19480: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.12.18"
| #define PACKAGE_STRING "cairo 1.12.18"
| #define PACKAGE_BUGREPORT
"<a href="http://bugs.freedesktop.org/enter_bug.cgi?product=cairo">http://bugs.freedesktop.org/enter_bug.cgi?product=cairo</a>"
| #define PACKAGE_URL "<a href="http://cairographics.org/">http://cairographics.org/</a>"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _FILE_OFFSET_BITS 64
| #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
| /* end confdefs.h.  */
| #include <sys/types.h>
|               #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|                not big endian
|               #endif
|
|   ;
|   return 0;
| }
configure:19608: result: no
configure:19626: checking whether float word ordering is bigendian
configure:19653: x86_64-pc-linux-gnu-gcc -m32 -c -O2 -pipe -flto -O3
-march=native -fno-stack-protector -pipe  conftest.c >&5
configure:19653: $? = 0
configure:19671: result: unknown
configure:19682: error:

Unknown float word ordering. You need to manually preset
ax_cv_c_float_words_bigendian=no (or yes) according to your system.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>