summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-14 16:42:25 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-14 22:39:24 +0100
commite7ad192de008a6a21638def6eb973b9cc0c91116 (patch)
treeb2f40b850afea2cd1cf03584444d1f6388041583 /tests
parentd87a1ba6b8b2f08ba6898033353d7463355bd146 (diff)
downloadguix-e7ad192de008a6a21638def6eb973b9cc0c91116.tar.gz
gremlin: Adjust tests for i686 and beyond.
Fixes <https://issues.guix.gnu.org/52752>.
Reported by Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>.

* tests/gremlin.scm ("file-needed/recursive"): Augment the list of vDSO
names.
Diffstat (limited to 'tests')
-rw-r--r--tests/gremlin.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/gremlin.scm b/tests/gremlin.scm
index 41cefd9c7c..9e0017337a 100644
--- a/tests/gremlin.scm
+++ b/tests/gremlin.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015, 2018, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2022 Chris Marusich <cmmarusich@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -94,8 +94,12 @@
                (loop result))))))
     (define ground-truth
       (remove (lambda (entry)
+                ;; See vdso(7) for the list of vDSO names across
+                ;; architectures.
                 (or (string-prefix? "linux-vdso.so" entry)
-                    (string-prefix? "linux-vdso64.so" entry)))
+                    (string-prefix? "linux-vdso32.so" entry) ;32-bit powerpc
+                    (string-prefix? "linux-vdso64.so" entry) ;64-bit powerpc
+                    (string-prefix? "linux-gate.so" entry))) ;i386
               (read-ldd-output pipe)))
 
     (and (zero? (close-pipe pipe))