With latest build (21694b8eacbf63f8abdee6340510c0458a25a7fb), kernel 3.7.0-rc7 64bit, building mesa is OK, but installing fails with the following error message: make[3]: Entering directory `/home/dema1701/projects/display/mesa/src/gallium/targets/gbm' /usr/bin/install -c -d /usr/lib/x86_64-linux-gnu/gbm /bin/sh ../../../../bin/minstall ../../../../x86_64-linux-gnu/gbm/gbm_gallium_drm.so /usr/lib/x86_64-linux-gnu/gbm make[4]: Entering directory `/home/dema1701/projects/display/mesa/src/gallium/targets/pipe-loader' /bin/sh ../../../../bin/mklib -o pipe_r600.so -noprefix -linker 'g++' \ -ldflags '-L../../../../x86_64-linux-gnu -Wl,--no-undefined -L/usr/lib/llvm -lpthread -lffi -ldl -lm ' \ pipe_r600.o \ -Wl,--start-group ../../../../src/gallium/drivers/identity/libidentity.a ../../../../src/gallium/drivers/galahad/libgalahad.a ../../../../src/gallium/drivers/trace/libtrace.a ../../../../src/gallium/drivers/rbug/librbug.a ../../../../src/gallium/auxiliary/libgallium.a ../../../../src/gallium/winsys/radeon/drm/libradeonwinsys.a ../../../../src/gallium/drivers/r600/libr600.a -Wl,--end-group \ -L/usr/lib/x86_64-linux-gnu/ -ldrm -lm -lpthread -ldl -lLLVMMCJIT -lLLVMBitWriter -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Disassembler -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport -ldrm_radeon mklib: Making Linux shared library: pipe_r600.so ../../../../src/gallium/auxiliary/libgallium.a(os_time.o): In function `os_time_get_nano': /home/dema1701/projects/display/mesa/src/gallium/auxiliary/os/os_time.c:77: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status /bin/sh ../../../../bin/mklib -o pipe_swrast.so -noprefix -linker 'g++' \ -ldflags '-L../../../../x86_64-linux-gnu -Wl,--no-undefined -L/usr/lib/llvm -lpthread -lffi -ldl -lm ' \ pipe_swrast.o \ -Wl,--start-group ../../../../src/gallium/drivers/identity/libidentity.a ../../../../src/gallium/drivers/galahad/libgalahad.a ../../../../src/gallium/drivers/trace/libtrace.a ../../../../src/gallium/drivers/rbug/librbug.a ../../../../src/gallium/auxiliary/libgallium.a ../../../../src/gallium/drivers/llvmpipe/libllvmpipe.a -Wl,--end-group \ -L/usr/lib/x86_64-linux-gnu/ -ldrm -lm -lpthread -ldl -lLLVMMCJIT -lLLVMBitWriter -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Disassembler -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport mklib: Making Linux shared library: pipe_swrast.so ../../../../src/gallium/auxiliary/libgallium.a(os_time.o): In function `os_time_get_nano': /home/dema1701/projects/display/mesa/src/gallium/auxiliary/os/os_time.c:77: undefined reference to `clock_gettime' collect2: error: ld returned 1 exit status /usr/bin/install -c -d //usr/lib/x86_64-linux-gnu/gbm for tgt in pipe_r600.so pipe_vmwgfx.so pipe_swrast.so; do \ /bin/sh ../../../../bin/minstall "$tgt" //usr/lib/x86_64-linux-gnu/gbm; \ done Unknown type of argument: pipe_r600.so Unknown type of argument: pipe_swrast.so
Introduced by 16f0d70ffe6d42d22b9e6b927b297e75a199aa78
(In reply to comment #1) > Introduced by 16f0d70ffe6d42d22b9e6b927b297e75a199aa78 llvmpipe: Implement PIPE_QUERY_TIMESTAMP and PIPE_QUERY_TIME_ELAPSED. José Fonseca<jfonseca@vmware.com> James Benton<jbenton@vmware.com> 12/3/12 2:00 AM gallivm: fix srgb format fetch mesa: remove warning message in _mesa_reference_renderbuf... master (gallium/auxiliary: Add -fno-rtti to CXXFLAGS on LLVM >= 3.2.) origin/master (gallium/auxiliary: Add -fno-rtti to CXXFLAGS on LLVM >= 3.2.) snb-magic (graw: Add struct pipe_surface forward declaration.)
Missing "-lrt" in the linker command.
*** This bug has been marked as a duplicate of bug 57852 ***
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.