<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - /usr/include/xorg/fb.h(98): catastrophic error: #error directive: "GLYPHPADBYTES must be 4""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60943">60943</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>/usr/include/xorg/fb.h(98): catastrophic error: #error directive: "GLYPHPADBYTES must be 4"
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>mesa: f1ab67c13ab97f19c08d99c6ba101edc7d7b80e6 (master)

$ icc -v
icc version 13.1.0 (gcc version 4.6.0 compatibility)

$ scons
[...]
  Compiling src/gallium/state_trackers/xorg/xorg_composite.c ...
/usr/include/xorg/fb.h(98): catastrophic error: #error directive:
"GLYPHPADBYTES must be 4"
  #error "GLYPHPADBYTES must be 4"
   ^

The Intel C Compiler defines the macro __x86_64__. It does not define __amd64__
 or __amd64. This leads to a build failure as /usr/include/xorg/servermd.h does
not check for __x84_64__.

servermd.h use to check for __x86_64__ and the check was removed in this
commit.

<a href="http://cgit.freedesktop.org/xorg/xserver/commit/include/servermd.h?id=9719354ae04a41e9834ac9ba8fd9e895092ba4f1">http://cgit.freedesktop.org/xorg/xserver/commit/include/servermd.h?id=9719354ae04a41e9834ac9ba8fd9e895092ba4f1</a>

commit 9719354ae04a41e9834ac9ba8fd9e895092ba4f1
Author: Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>>
Date:   Tue Jun 24 14:37:06 2008 -0400

    Check for __amd64__, not __x86_64__.

    Spiritual revert of 1fa4de80fcfc697b5e5879cc351fb3e9dbf6acbe.  Intel's C
    compiler claims to be gcc-compatible; if they're not defining the same
    macros as gcc then that's their bug, not ours.  Even if we were to do
    this aliasing we should do it once and for all in servermd.h.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>