diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch b/meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch new file mode 100644 index 0000000000..ba454ee77c --- /dev/null +++ b/meta/recipes-devtools/elfutils/elfutils-0.164/kfreebsd_path.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | --- elfutils/tests/run-native-test.sh.orig | ||
2 | +++ elfutils/tests/run-native-test.sh | ||
3 | @@ -78,6 +78,12 @@ | ||
4 | test $native -eq 0 || testrun "$@" -p $native > /dev/null | ||
5 | } | ||
6 | |||
7 | +# On the Debian buildds, GNU/kFreeBSD linprocfs /proc/$PID/maps does | ||
8 | +# not give absolute paths due to sbuild's bind mounts (bug #570805) | ||
9 | +# therefore the next two test programs are expected to fail with | ||
10 | +# "cannot attach to process: Function not implemented". | ||
11 | +[ "$(uname)" = "GNU/kFreeBSD" ] && exit 77 | ||
12 | + | ||
13 | native_test ${abs_builddir}/allregs | ||
14 | native_test ${abs_builddir}/funcretval | ||
15 | |||