<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - lib/vhost build failure with clang 3.4.2"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1159">1159</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lib/vhost build failure with clang 3.4.2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>23.03
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

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

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>vhost/virtio
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alialnu@nvidia.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">```
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o
clang -Ilib/librte_vhost.a.p -Ilib -I../../root/dpdk/lib -Ilib/vhost
-I../../root/dpdk/lib/vhost -I. -I../../root/dpdk -Iconfig
-I../../root/dpdk/config -Ilib/eal/include -I../../root/dpdk/lib/eal/include
-Ilib/eal/linux/include -I../../root/dpdk/lib/eal/linux/include
-Ilib/eal/x86/include -I../../root/dpdk/lib/eal/x86/include -Ilib/eal/common
-I../../root/dpdk/lib/eal/common -Ilib/eal -I../../root/dpdk/lib/eal
-Ilib/kvargs -I../../root/dpdk/lib/kvargs -Ilib/metrics
-I../../root/dpdk/lib/metrics -Ilib/telemetry -I../../root/dpdk/lib/telemetry
-Ilib/ethdev -I../../root/dpdk/lib/ethdev -Ilib/net -I../../root/dpdk/lib/net
-Ilib/mbuf -I../../root/dpdk/lib/mbuf -Ilib/mempool
-I../../root/dpdk/lib/mempool -Ilib/ring -I../../root/dpdk/lib/ring -Ilib/meter
-I../../root/dpdk/lib/meter -Ilib/cryptodev -I../../root/dpdk/lib/cryptodev
-Ilib/rcu -I../../root/dpdk/lib/rcu -Ilib/hash -I../../root/dpdk/lib/hash
-Ilib/pci -I../../root/dpdk/lib/pci -Ilib/dmadev -I../../root/dpdk/lib/dmadev
-Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat
-Wformat-nonliteral -Wformat-security -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith
-Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings
-Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f
-mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -fno-strict-aliasing
-DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD
-MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF
lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o
-c ../../root/dpdk/lib/vhost/iotlb.c
In file included from ../../root/dpdk/lib/vhost/iotlb.c:11:
In file included from ../../root/dpdk/lib/vhost/iotlb.h:10:
../../root/dpdk/lib/vhost/vhost.h:518:2: error: GCC does not allow
assert_exclusive_lock attribute in this position on a function definition
[-Werror,-Wgcc-compat]
        __rte_assert_exclusive_lock(&vq->access_lock)
        ^
../../root/dpdk/lib/eal/include/rte_lock_annotations.h:29:38: note: expanded
from macro '__rte_assert_exclusive_lock'
        __attribute__((assert_exclusive_lock(__VA_ARGS__)))
                                            ^
1 error generated.
```

OS: CentOS Linux 7
clang: 3.4.2
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1159">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>