[Mesa-dev] [Bug 100028] Mesa 17+llvm 4.0.0rc2 fail to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 2 23:07:00 UTC 2017


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

--- Comment #2 from higuita at gmx.net ---
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)
                                       ^


i would say that something here do not like llvm 4.0 ... or i may have
something broken in my system

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170302/ab0bbad3/attachment-0001.html>


More information about the mesa-dev mailing list