set_timer needs -lrt which the patch adds to the link arguments. For
some reason on your config it is not in the correct location in the
command line.

This is being discussed on the list, lore...@google.com was working on a
patch.

In any case, can you send the actual gcc line leading to it so we see
why -lrt is not in the right place.

A.

On 21/11/15 19:09, Vegard Nossum wrote:
> On 10 November 2015 at 23:08, Richard Weinberger <rich...@nod.at
> <mailto:rich...@nod.at>> wrote:
>
>     Linus,
>
>     the following changes since commit
>     6a13feb9c82803e2b815eca72fa7a9f5561d7861:
>
>       Linux 4.3 (2015-11-01 16:05:25 -0800)
>
>     are available in the git repository at:
>
>       git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git
>     <http://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git>
>     for-linus-4.4-rc1
>
>     for you to fetch changes up to
>     2eb5f31bc4ea24bb293e82934cfa1cce9573304b:
>
>       um: Switch clocksource to hrtimers (2015-11-06 22:54:49 +0100)
>
>     ----------------------------------------------------------------
>     This pull request includes the following UML changes:
>     * A new hrtimer based clocksource by Anton Ivanov
>     * ptrace() enhancments by Richard Weinberger
>     * random cleanups and bug fixes all over the place
>
>     ----------------------------------------------------------------
>     Anton Ivanov (1):
>           um: Switch clocksource to hrtimers
>
>
> This commit (2eb5f31bc4) seems to have broken the UML defconfig build
> in latest Linus master for me:
>
> [...]
>  LINK    vmlinux
>  LD      vmlinux.o
>  MODPOST vmlinux.o
>  GEN     .version
>  CHK     include/generated/compile.h
>  UPD     include/generated/compile.h
>  CC      init/version.o
>  LD      init/built-in.o
> arch/um/os-Linux/built-in.o: In function `os_timer_create':
> /home/vegard/linux/arch/um/os-Linux/time.c:51: undefined reference to
> `timer_create'
> arch/um/os-Linux/built-in.o: In function `os_timer_set_interval':
> /home/vegard/linux/arch/um/os-Linux/time.c:84: undefined reference to
> `timer_settime'
> arch/um/os-Linux/built-in.o: In function `os_timer_remain':
> /home/vegard/linux/arch/um/os-Linux/time.c:109: undefined reference to
> `timer_gettime'
> arch/um/os-Linux/built-in.o: In function `os_timer_one_shot':
> /home/vegard/linux/arch/um/os-Linux/time.c:132: undefined reference to
> `timer_settime'
> arch/um/os-Linux/built-in.o: In function `os_timer_disable':
> /home/vegard/linux/arch/um/os-Linux/time.c:145: undefined reference to
> `timer_settime'
> collect2: error: ld returned 1 exit status
> make: *** [vmlinux] Error 1
>
>
> Vegard
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to