summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2015-12-31 17:06:17 +0100
committerRichard Weinberger <richard@nod.at>2016-01-10 21:49:48 +0100
commita7df4716d19594b7b3f106f0bc0ca1c548e508e6 (patch)
tree3285482e749f354de677f4cbc51a3183d74b7942 /arch/um/kernel
parent8c6157b6b30a765ec233a1be5f9446f24a5283de (diff)
downloadlinux-a7df4716d19594b7b3f106f0bc0ca1c548e508e6.tar.gz
linux-a7df4716d19594b7b3f106f0bc0ca1c548e508e6.tar.xz
um: link with -lpthread
Similarly to commit fb1770aa78a43530940d0c2dd161e77bc705bdac, with gcc 5 on Ubuntu and CONFIG_STATIC_LINK=y I was seeing these linker errors: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/librt.a(timer_create.o): In function `__timer_create_new': (.text+0xcd): undefined reference to `pthread_once' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/librt.a(timer_create.o): In function `__timer_create_new': (.text+0x126): undefined reference to `pthread_attr_init' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/librt.a(timer_create.o): In function `__timer_create_new': (.text+0x168): undefined reference to `pthread_attr_setdetachstate' [...] Obviously we also need -lpthread for librt.a. Cc: stable@vger.kernel.org # 4.4 Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel')
0 files changed, 0 insertions, 0 deletions