[Intel-gfx] No mouse cursor with intelddx-2-99-917-338-g7d30ccea214b at lightdm-login

Sedat Dilek sedat.dilek at gmail.com
Fri Jun 5 06:17:38 PDT 2015


On Fri, Jun 5, 2015 at 2:09 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Fri, Jun 5, 2015 at 1:57 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> On Fri, Jun 5, 2015 at 1:51 PM, Chris Wilson <chris at chris-wilson.co.uk> 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@ -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_llvm-toolchain.sh
Type: application/x-sh
Size: 1608 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150605/e90560a8/attachment.sh>


More information about the Intel-gfx mailing list