Re: [PATCH]] kvm: selftests: use -pthread instead of -lpthread

2018-09-14 Thread Paolo Bonzini
On 29/08/2018 09:04, Lei Yang wrote: > I run into the following error > > testing/selftests/kvm/dirty_log_test.c:285: undefined reference to > `pthread_create' > testing/selftests/kvm/dirty_log_test.c:297: undefined reference to > `pthread_join' > collect2: error: ld returned 1 exit status > >

[PATCH]] kvm: selftests: use -pthread instead of -lpthread

2018-08-29 Thread Lei Yang
I run into the following error testing/selftests/kvm/dirty_log_test.c:285: undefined reference to `pthread_create' testing/selftests/kvm/dirty_log_test.c:297: undefined reference to `pthread_join' collect2: error: ld returned 1 exit status my gcc version is gcc version 4.8.4 "-pthread" would wo