Summary: | /usr/include/string.h:82:1: error: unknown type name '__extern_always_inline' | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2014-09-02 04:12:35 UTC
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.