On Fri, Jun 5, 2015 at 2:09 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > On Fri, Jun 5, 2015 at 1:57 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: >> On Fri, Jun 5, 2015 at 1:51 PM, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote: >>> On Fri, Jun 05, 2015 at 01:41:25PM +0200, Sedat Dilek wrote: >>>> Culprit commit is "sna: Compilation fixes for stable distros" (see >>>> attached files). >>>> >>>> Reverting this commit fixes the issue for me. >>>> >>>> $ git log --oneline -3 >>>> ee885de7ad39 Revert "sna: Compilation fixes for stable distros" >>>> 7d30ccea214b sna: Ensure compat_output is sane after sorting outputs >>>> 1525b0177862 intel-virtual-output: Fix cloning fixed mode outputs >>> >>> * Scratches head. >>> >>> Can you send me your build log for HEAD? (Including the configure >>> summary.) >>> >>> I am now even more puzzled. >> >> Pauvre tete, ca fait mal a la tete... >> > > config.log with "clang -v" set in the build-script. > clang-errors... $ egrep -B1 'clang: error: linker' config.log conftest.c:(.text+0x12): undefined reference to `strlcpy' clang: error: linker command failed with exit code 1 (use -v to see invocation) -- conftest.c:(.text+0x12): undefined reference to `strlcat' clang: error: linker command failed with exit code 1 (use -v to see invocation) -- conftest.c:(.text+0x12): undefined reference to `clock_gettime' clang: error: linker command failed with exit code 1 (use -v to see invocation) I tried to fix the clock_gettime clang-error by adding '-lrt' to $LIBS... $ git diff diff --git a/configure.ac b/configure.ac index 0b6358b879e8..60b50c0724be 100644 --- a/configure.ac +++ b/configure.ac @@ -782,7 +782,7 @@ AC_ARG_ENABLE(valgrind, [VG="no"]) LIBS="" -AC_SEARCH_LIBS(clock_gettime, rt, [CLOCK_GETTIME_LIBS=$LIBS]) +AC_SEARCH_LIBS(clock_gettime, rt, [CLOCK_GETTIME_LIBS=$LIBS -lrt]) AC_SUBST(CLOCK_GETTIME_LIBS) sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server` ...which did not help. Cannot say what's wrong here with my llvm-toolchain. I have attached my build-script. Any idea? - sed@ -
Attachment:
build_llvm-toolchain.sh
Description: Bourne shell script
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx