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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 25 14:45:20 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=89599

--- Comment #8 from Tomasz Paweł Gajc <tpgxyz at gmail.com> ---
I've build mesa-11.1.1 without a patch from comment #2.

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:
https://abf.io/build_lists/2620585

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160125/d5315d87/attachment.html>


More information about the mesa-dev mailing list