<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - symbol 'x86_64_entry_start' is already defined when building with LLVM/clang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89599#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - symbol 'x86_64_entry_start' is already defined when building with LLVM/clang"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89599">bug 89599</a>
from <span class="vcard"><a class="email" href="mailto:tpgxyz@gmail.com" title="Tomasz Paweł Gajc <tpgxyz@gmail.com>"> <span class="fn">Tomasz Paweł Gajc</span></a>
</span></b>
<pre>I've build mesa-11.1.1 without a patch from <a href="show_bug.cgi?id=89599#c2">comment #2</a>.
make[4]: Entering directory '/builddir/build/BUILD/mesa-11.1.1/src/mapi'
/bin/sh ../../libtool --tag=CC --mode=link /usr/bin/clang -pthread
-Werror=pointer-arith -Werror=vla -Oz -gdwarf-4 -Wstrict-aliasing=2 -pipe
-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -flto
-fno-optimize-sibling-calls -Ofast -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp
-Qunused-arguments -no-undefined -Wl,--gc-sections -Wl,--no-undefined -Oz
-gdwarf-4 -Wstrict-aliasing=2 -pipe -D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -fPIC -flto -Wl,-O2 -flto -o
shared-glapi/libglapi.la -rpath /usr/lib64 shared_glapi_libglapi_la-entry.lo
shared_glapi_libglapi_la-mapi_glapi.lo shared_glapi_libglapi_la-stub.lo
shared_glapi_libglapi_la-table.lo shared_glapi_libglapi_la-u_current.lo
shared_glapi_libglapi_la-u_execmem.lo -lpthread
libtool: link: /usr/bin/clang -shared -fPIC -DPIC
.libs/shared_glapi_libglapi_la-entry.o
.libs/shared_glapi_libglapi_la-mapi_glapi.o
.libs/shared_glapi_libglapi_la-stub.o .libs/shared_glapi_libglapi_la-table.o
.libs/shared_glapi_libglapi_la-u_current.o
.libs/shared_glapi_libglapi_la-u_execmem.o -lpthread -pthread -Oz -gdwarf-4
-fstack-protector -flto -Ofast -Wl,--gc-sections -Wl,--no-undefined -Oz
-gdwarf-4 -fstack-protector -flto -Wl,-O2 -flto -pthread -Wl,-soname
-Wl,libglapi.so.0 -o shared-glapi/.libs/libglapi.so.0.0.0
Makefile:1226: recipe for target 'shared-glapi/libglapi.la' failed
make[4]: Leaving directory '/builddir/build/BUILD/mesa-11.1.1/src/mapi'
LLVM ERROR: symbol 'x86_64_entry_start' is already defined
clang-3.7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [shared-glapi/libglapi.la] Error 1
make[4]: *** Waiting for unfinished jobs....
Full build log:
<a href="https://abf.io/build_lists/2620585">https://abf.io/build_lists/2620585</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>