Re: [PATCH] selftests/x86: Add {,_32,_64} targets

2018-01-18 Thread Shuah Khan
On 01/18/2018 04:10 PM, Andy Lutomirski wrote: > On Thu, Jan 18, 2018 at 2:19 PM, Dmitry Safonov wrote: >> One can only use `make all` or `make _` >> as make targets. >> `make ` doesn't work as Ingo noticed: >> x86> make test_vsyscall >> gcc -O2 -g -std=gnu99 -pthread -Wall -no-pie test_vsysca

Re: [PATCH] selftests/x86: Add {,_32,_64} targets

2018-01-18 Thread Andy Lutomirski
On Thu, Jan 18, 2018 at 2:19 PM, Dmitry Safonov wrote: > One can only use `make all` or `make _` > as make targets. > `make ` doesn't work as Ingo noticed: > x86> make test_vsyscall > gcc -O2 -g -std=gnu99 -pthread -Wall -no-pie test_vsyscall.c -o > test_vsyscall > /tmp/aBaoo3nb.o: In funct

Re: [PATCH] selftests/x86: Add {,_32,_64} targets

2018-01-18 Thread Dmitry Safonov
On Thu, 2018-01-18 at 22:19 +, Dmitry Safonov wrote: > One can only use `make all` or `make _` > as make targets. > `make ` doesn't work as Ingo noticed: > x86> make test_vsyscall > gcc -O2 -g -std=gnu99 -pthread -Wall -no-pie test_vsyscall.c -o > test_vsyscall > /tmp/aBaoo3nb.o: In funct

[PATCH] selftests/x86: Add {,_32,_64} targets

2018-01-18 Thread Dmitry Safonov
One can only use `make all` or `make _` as make targets. `make ` doesn't work as Ingo noticed: x86> make test_vsyscall gcc -O2 -g -std=gnu99 -pthread -Wall -no-pie test_vsyscall.c -o test_vsyscall /tmp/aBaoo3nb.o: In function `init_vdso': test_vsyscall.c:68: undefined reference to `dlopen'