[Mesa-dev] [PATCH] mapi: Fix build with clang

Armin K. krejzi at email.com
Mon Jan 25 02:01:29 PST 2016


On 25.1.2016 3:57, Matt Turner wrote:
> On Sun, Jan 24, 2016 at 2:53 AM, Armin K <krejzi at email.com> wrote:
>> From: Tomasz Paweł Gajc <tpgxyz at gmail.com>
>>
>> Currently, building with clang fails due to:
>>
>> error in backend: symbol 'x86_64_entry_start' is already defined
>>
>> This patch fixes it.
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
>
> What do I have to do to reproduce this? Mesa builds with clang (3.7.0)
> fine for me. I've built with clang occasionally for a few years and
> have never encountered this problem.
>

I have also used CXX="clang++ -stdlib=libc++". That might turn on the 
C++11 mode and pull in the libc++ headers.


More information about the mesa-dev mailing list