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