This is the mail archive of the mailing list for the systemtap project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add entry for ppc64le in arch list

A few tests fails in ppc64le with error:

parse error: expected 'probe', 'global', 'function', or '%{'^M
        saw: identifier 'ERROR' at <input>:22:43^M
     source:     %( arch == "ppc64le"            %? %: ERROR %)^M
1 parse error.^M
Pass 1: parse failed.  [man error::pass1]^M
FAIL: preprocessor basic ops

This is because ppc64le is not added to arch list in systemtap.exp .
cmd_parse.exp also fails with similar error for arch. Modifying the code for ppc64le.

Signed-off-by: Athira Rajeev <>
 testsuite/lib/systemtap.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp
index 8b99d37..fc91ca6 100644
--- a/testsuite/lib/systemtap.exp
+++ b/testsuite/lib/systemtap.exp
@@ -432,6 +432,7 @@ proc normalize_arch { arch } {
     if {$arch == "armv7l"} then {return "arm"}
     if {$arch == "armv7lh"} then {return "arm"}
     if {$arch == "aarch64"} then {return "arm64"}
+    if {$arch == "ppc64le"} then {return "powerpc"}
     return $arch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]