mesa: 94a909ec2df779bfdac6f42a25077b427b3873ea (10.4.0-devel) Build error with GCC on Fedora CXX glsl_lexer.lo In file included from glsl_lexer.cpp:21: /usr/include/string.h:82:1: error: unknown type name '__extern_always_inline' __extern_always_inline void * ^
Looks like a clang issue? https://twiki.cern.ch/twiki/bin/view/Sandbox/ClangAsCrossCompiler " -D__extern_always_inline=inline"
What version of fedora is this? What commands are you using to build Mesa? rpm -qa | grep gcc Thanks!
$ cat /etc/redhat-release Fedora release 22 (Rawhide) $ export CC=clang $ export CXX=clang++ $ ./autogen.sh $ make $ yum info gcc Installed Packages Name : gcc Arch : x86_64 Version : 4.9.1 Release : 7.fc22 Size : 42 M Repo : installed From repo : rawhide Summary : Various compilers (C, C++, Objective-C, Java, ...) URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Description : The gcc package contains the GNU Compiler Collection version 4.9. : You'll need this package in order to compile C code. $ yum info clang Installed Packages Name : clang Arch : x86_64 Version : 3.4 Release : 15.fc22 Size : 65 M Repo : installed From repo : rawhide Summary : A C language family front-end for LLVM URL : http://llvm.org/ License : NCSA Description : clang: noun : 1. A loud, resonant, metallic sound. : 2. The strident call of a crane or goose. : 3. C-language family front-end toolkit. : : The goal of the Clang project is to create a new C, C++, Objective C : and Objective C++ front-end for the LLVM compiler. Its tools are built : as libraries and designed to be loosely-coupled and extensible.
This bug is quite old... does this problem still occur?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.