<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa 17+llvm 4.0.0rc2 fail to compile"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100028#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa 17+llvm 4.0.0rc2 fail to compile"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100028">bug 100028</a>
from <span class="vcard"><a class="email" href="mailto:jan.vesely@rutgers.edu" title="Jan Vesely <jan.vesely@rutgers.edu>"> <span class="fn">Jan Vesely</span></a>
</span></b>
<pre>(In reply to higuita from <a href="show_bug.cgi?id=100028#c2">comment #2</a>)
<span class="quote">> Ok, thanks... but building mesa-git i get this, that is similar to what i
> get just by removing the bad llvm flag:
>
>
> Making all in amd
> make[3]: Entering directory
> '/tmp/mesa-d7d64f1091006fb6faa48705c53f19ff5c657bc8/src/amd'
> make all-am
> make[4]: Entering directory
> '/tmp/mesa-d7d64f1091006fb6faa48705c53f19ff5c657bc8/src/amd'
> CXX common/common_libamd_common_la-ac_llvm_helper.lo
> In file included from /usr/include/sys/types.h:146:0,
> from /usr/include/llvm/Support/DataTypes.h:69,
> from /usr/include/llvm-c/Types.h:17,
> from /usr/include/llvm-c/TargetMachine.h:22,
> from common/ac_llvm_util.h:28,
> from common/ac_llvm_helper.cpp:34:
> /usr/lib64/clang/4.0.0/include/stddef.h:57:39: error: missing binary
> operator before token "("
> #if !defined(_SIZE_T) || __has_feature(modules)
> ^
> In file included from /usr/include/wchar.h:51:0,
> from /usr/include/c++/5.4.0/cwchar:44,
> from /usr/include/c++/5.4.0/bits/postypes.h:40,
> from /usr/include/c++/5.4.0/bits/char_traits.h:40,
> from /usr/include/c++/5.4.0/string:40,
> from /usr/include/llvm/MC/MCTargetOptions.h:13,
> from /usr/include/llvm/Target/TargetOptions.h:18,
> from common/ac_llvm_helper.cpp:36:
> /usr/lib64/clang/4.0.0/include/stddef.h:57:39: error: missing binary
> operator before token "("
> #if !defined(_SIZE_T) || __has_feature(modules)
> ^
> /usr/lib64/clang/4.0.0/include/stddef.h:128:39: error: missing binary
> operator before token "("
> #if !defined(_WINT_T) || __has_feature(modules)</span >
This is mixing llvm standard headers while compiling with gcc.
I'd say "-isystem /usr/lib64/clang/4.0.0/include/" is the culprit here.
Not sure where it came from, maybe it needs to be stripped as well.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>