[Mesa-dev] [PATCH] Fix symbol 'x86_64_entry_start' is already defined when building with LLVM/clang

Emil Velikov emil.l.velikov at gmail.com
Fri May 15 14:57:32 PDT 2015


On 15/05/15 20:25, Brian Paul wrote:
> Has the patch also been tested with gcc?
> 
> If these are now extern declarations, where's the actual definition of
> the symbols?
> 
> The reason patches like this sit around for a while is because few
> people understand the ramifications or potential side effects and are
> hesitant to give an R-b.
> 
There are a couple of extra bits:
 1) Reportedly it doesn't work with static glapi [1]
 2) Why does llvm/clang apply the C11 text [2] when compiling mesa ?
Currently we explicitly set/use -std=c99 :-\

If someone can clear those up that'll be appreciated.

Thanks
Emil

[1] http://lists.freedesktop.org/archives/mesa-dev/2015-March/079326.html
[2] https://llvm.org/bugs/show_bug.cgi?id=19778#c3



More information about the mesa-dev mailing list