Skip to contentSkip to conversation

systemtap 'crosstap' fix

PATCH New [email protected] 1 participant 2 messages Feb 5, 2013

lore
Share & tools
lore
#0 lore raw

cover systemtap 'crosstap' fix

From: Tom Zanussi <[email protected]>

This is a patch to crosstap which fixes a problem where a passed-in builddir gets lost in the session copy constructor when connecting to remote hosts, resulting in failed script compilation.

The problem turned out to be simple hyphen/underscore confusion.

The following changes since commit 7e9cb437b1b720e656f4a33f73c07c5dc7356a2c:

dropbear: fix RPROVIDES (2013-02-04 23:31:02 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/crosstap-x86-64-fix
http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/crosstap-x86-64-fix

Tom Zanussi (1):
crosstap: handle hyphenated x86_64 target arch

 scripts/crosstap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.11.4
#1 lore raw

PATCH 1/1 crosstap: handle hyphenated x86_64 target arch

From: Tom Zanussi <[email protected]>

systemtap_target_arch() should also translate x86-64 (hyphenated) into x86_64 for the -a param. Failing to do that causes systemtap to see an architecture mismatch and create a cloned session with a bogusly synthesized build directory path, and fails to compile the probe.

Fixes [YOCTO #3756]

---
 scripts/crosstap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/crosstap +1 -1
index 783bf2f..58317cf 100755
@@ -70,7 +70,7 @@ function systemtap_target_arch() {
         i?86)
             SYSTEMTAP_TARGET_ARCH="i386"
             ;;
-        x86_64*)
+        x86?64*)
             SYSTEMTAP_TARGET_ARCH="x86_64"
             ;;
         arm*)
Signature · 1 line
1.7.11.4