Skip to contentSkip to conversation

fix for 3756

PATCH Applied [email protected] 2 participants 3 messages Feb 6, 2013 – Feb 7, 2013

lore
Share & tools
lore
#0 lore raw

cover fix for 3756

From: Tom Zanussi <[email protected]>

This was pulled into master yesterday and should be pulled into danny as well.

The following changes since commit a7ce81df2f6e513a7e364c443759733c778b5c1f:

yocto-bsp: qualify user files with machine name (2013-02-05 21:37:35 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib.git tzanussi/3756-fix-danny
http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/3756-fix-danny

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]

(From OE-Core rev: 98cae0544884cb5700d42409ec4a9584a17dc9a4)

---
 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
Applied
#2 lore raw

Re: [PATCH 1/1][danny] crosstap: handle hyphenated x86_64 target arch

Quoted 10 lines · On 6 February 2013 15:40, <[email protected]> wrote:

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]

(From OE-Core rev: 98cae0544884cb5700d42409ec4a9584a17dc9a4)

Merged to danny-next.

Ross