collect2: error: ld returned 1 exit status

From: kbuild test robot
Date: Fri May 31 2019 - 02:23:07 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 318adf8e4bfdcb0bce1833824564b1f24278927b
commit: a3b9a99980d9fa01f6c18c359cf503b874f183de counter: add FlexTimer Module Quadrature decoder counter driver
date: 5 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout a3b9a99980d9fa01f6c18c359cf503b874f183de
# save the attached .config to linux build tree
make ARCH=um

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

/usr/bin/ld: arch/um/drivers/vde.o: in function `vde_open_real':
(.text+0x951): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: (.text+0x79c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/vector_user.o: in function `user_init_socket_fds':
vector_user.c:(.text+0x349): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametoaddr':
(.text+0xded5): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametonetaddr':
(.text+0xdf75): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametoproto':
(.text+0xe195): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametoport':
(.text+0xdfc7): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: drivers/counter/ftm-quaddec.o: in function `ftm_quaddec_probe':
ftm-quaddec.c:(.text+0x5bb): undefined reference to `devm_ioremap'
>> collect2: error: ld returned 1 exit status

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip