<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 - ./libdrm_macros.h:26:5: error: 'HAVE_VISIBILITY' is not defined, evaluates to 0 [-Werror,-Wundef]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106561">106561</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>./libdrm_macros.h:26:5: error: 'HAVE_VISIBILITY' is not defined, evaluates to 0 [-Werror,-Wundef]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </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>critical
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>libdrm
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tpgxyz@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm compiling libdrm-2.4.92 with LLVM/Clang-7.0.0-git
full logs:
<a href="http://file-store.openmandriva.org/api/v1/file_stores/4bcfed586cf82d265277f3612dcb7f9cb20e3caf.log?show=true">http://file-store.openmandriva.org/api/v1/file_stores/4bcfed586cf82d265277f3612dcb7f9cb20e3caf.log?show=true</a>

BUILDSTDERR: In file included from xf86drm.c:68:
BUILDSTDERR: ./libdrm_macros.h:26:5: error: 'HAVE_VISIBILITY' is not defined,
evaluates to 0 [-Werror,-Wundef]
BUILDSTDERR: #if HAVE_VISIBILITY
BUILDSTDERR:     ^
BUILDSTDERR: xf86drm.c:293:6: error: 'UDEV' is not defined, evaluates to 0
[-Werror,-Wundef]
BUILDSTDERR: #if !UDEV
BUILDSTDERR:      ^
BUILDSTDERR: xf86drm.c:332:6: error: 'UDEV' is not defined, evaluates to 0
[-Werror,-Wundef]
BUILDSTDERR: #if !UDEV
BUILDSTDERR:      ^
BUILDSTDERR: xf86drm.c:361:6: error: 'UDEV' is not defined, evaluates to 0
[-Werror,-Wundef]
BUILDSTDERR: #if !UDEV
BUILDSTDERR:      ^
BUILDSTDERR: xf86drm.c:414:6: error: 'UDEV' is not defined, evaluates to 0
[-Werror,-Wundef]
BUILDSTDERR: #if !UDEV
BUILDSTDERR:      ^
BUILDSTDERR: xf86drm.c:1110:19: warning: implicit conversion from enumeration
type 'drmMapType' to different enumeration type 'enum drm_map_type'
[-Wenum-conversion]
BUILDSTDERR:     map.type    = type;
BUILDSTDERR:                 ~ ^~~~
BUILDSTDERR: xf86drm.c:1111:19: warning: implicit conversion from enumeration
type 'drmMapFlags' to different enumeration type 'enum drm_map_flags'
[-Wenum-conversion]
BUILDSTDERR:     map.flags   = flags;
BUILDSTDERR:                 ~ ^~~~~
BUILDSTDERR: xf86drm.c:1433:36: warning: implicit conversion from enumeration
type 'drmDMAFlags' to different enumeration type 'enum drm_dma_flags'
[-Wenum-conversion]
BUILDSTDERR:     dma.flags           = request->flags;
BUILDSTDERR:                         ~ ~~~~~~~~~^~~~~
BUILDSTDERR: xf86drm.c:2364:19: warning: implicit conversion from enumeration
type 'enum drm_map_type' to different enumeration type 'drmMapType'
[-Wenum-conversion]
BUILDSTDERR:     *type   = map.type;
BUILDSTDERR:             ~ ~~~~^~~~
BUILDSTDERR: xf86drm.c:2365:19: warning: implicit conversion from enumeration
type 'enum drm_map_flags' to different enumeration type 'drmMapFlags'
[-Wenum-conversion]
BUILDSTDERR:     *flags  = map.flags;
BUILDSTDERR:             ~ ~~~~^~~~~
BUILDSTDERR: xf86drm.c:2922:11: error: implicit declaration of function
'vasprintf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
BUILDSTDERR:     num = vasprintf(&key, fmt, ap);
BUILDSTDERR:           ^
BUILDSTDERR: xf86drm.c:2922:11: note: did you mean 'vsprintf'?
BUILDSTDERR: /usr/include/bits/stdio2.h:43:8: note: 'vsprintf' declared here
BUILDSTDERR: __NTH (vsprintf (char *__restrict __s, const char *__restrict
__fmt,
BUILDSTDERR:        ^
BUILDSTDERR: /usr/include/sys/cdefs.h:57:59: note: expanded from macro '__NTH'
BUILDSTDERR: #  define __NTH(fct)    __attribute__ ((__nothrow__ __LEAF)) fct
BUILDSTDERR:                                                              ^
BUILDSTDERR: xf86drm.c:2922:11: warning: this function declaration is not a
prototype [-Wstrict-prototypes]
BUILDSTDERR:     num = vasprintf(&key, fmt, ap);
BUILDSTDERR:           ^
BUILDSTDERR: 6 warnings and 6 errors generated.
BUILDSTDERR: make[2]: *** [Makefile:757: libdrm_la-xf86drm.lo] Error 1</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>