[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 88867] New: cairo 1.12.18 configure testfails with -flto
From:       bugzilla-daemon () freedesktop ! org
Date:       2015-01-29 14:54:18
Message-ID: bug-88867-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

--1422543260.216416.27370
Date: Thu, 29 Jan 2015 14:54:20 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

https://bugs.freedesktop.org/show_bug.cgi?id=88867

            Bug ID: 88867
           Summary: cairo 1.12.18 configure testfails with -flto
           Product: cairo
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris@chris-wilson.co.uk
          Reporter: david@ixit.cz
        QA Contact: cairo-bugs@cairographics.org

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
"http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
> #define PACKAGE_URL "http://cairographics.org/"
> #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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

--1422543260.216416.27370
Date: Thu, 29 Jan 2015 14:54:20 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<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&#64;chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>david&#64;ixit.cz
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs&#64;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 &gt;&amp;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 &gt;&amp;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 &quot;cairo&quot;
> #define PACKAGE_TARNAME &quot;cairo&quot;
> #define PACKAGE_VERSION &quot;1.12.18&quot;
> #define PACKAGE_STRING &quot;cairo 1.12.18&quot;
> #define PACKAGE_BUGREPORT
&quot;<a href="http://bugs.freedesktop.org/enter_bug.cgi?product=cairo">http://bugs.freedesktop.org/enter_bug.cgi?product=cairo</a>&quot;
 | #define PACKAGE_URL &quot;<a \
href="http://cairographics.org/">http://cairographics.org/</a>&quot; | #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 &quot;.libs/&quot;
> #define _FILE_OFFSET_BITS 64
> #define WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
> /* end confdefs.h.  */
> #include &lt;sys/types.h&gt;
> #include &lt;sys/param.h&gt;
> 
> 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 &gt;&amp;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>

--1422543260.216416.27370--


[Attachment #3 (text/plain)]

_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic