Skip to contentSkip to conversation

Documentation: disable vdso_test to avoid breakage with old glibc

PATCH Applied Peter Foley 2 participants 2 messages Sep 17, 2014 – Sep 18, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: disable vdso_test to avoid breakage with old glibc

glibc versions older than 2.16 don't include sys/auxv.h which this executable uses.
Since we don't have a good way to test for specific glibc versions in kbuild, just disable it for now.

---
 Documentation/vDSO/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/vDSO/Makefile +2 -2
index d87bb29..2b99e57 100644
@@ -1,5 +1,5 @@
-# List of programs to build
-hostprogs-y := vdso_test
+# vdso_test won't build for glibc < 2.16, so disable it
+# hostprogs-y := vdso_test
 hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
 vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
 vdso_test-objs := parse_vdso.o vdso_test.o
Signature · 1 line
2.1.0
reviewer Applied
#1 lore raw
Quoted 6 lines · Peter Foley

glibc versions older than 2.16 don't include sys/auxv.h which this executable uses.
Since we don't have a good way to test for specific glibc versions in kbuild, just disable it for now.

Applied. Thanks.

Quoted 17 lines
---
 Documentation/vDSO/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/vDSO/Makefile +2 -2
index d87bb29..2b99e57 100644
@@ -1,5 +1,5 @@
-# List of programs to build
-hostprogs-y := vdso_test
+# vdso_test won't build for glibc < 2.16, so disable it
+# hostprogs-y := vdso_test
 hostprogs-$(CONFIG_X86) := vdso_standalone_test_x86
 vdso_standalone_test_x86-objs := vdso_standalone_test_x86.o parse_vdso.o
 vdso_test-objs := parse_vdso.o vdso_test.o
Signature · 1 line
~Randy