On Wed, Nov 18, 2015 at 4:00 PM, Anton Ivanov <anton.iva...@kot-begemot.co.uk> wrote: > It is. > > You need -lrt to link in HR timers. However, the original patch should add > that to the library list. I need to understand why it does not in the dm > tree.
I noticed that command already does contain "-lrt", just in a different place. It starts off with: gcc -Wl,-rpath,/lib64 -m64 -Wl,-rpath,/lib -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc -Wl,-m -Wl,elf_x86_64 -lrt <...> That command line doesn't work, but if you remove the -lrt and put it at the end of the line, it starts working. Is the order significant? Or is it a bug in GCC's command line parsing? ------------------------------------------------------------------------------ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel