| Submitter | tom.zanussi@linux.intel.com |
|---|---|
| Date | Feb. 6, 2013, 3:40 p.m. |
| Message ID | <f651997fbd77a84e5c9c379898836cf4cb3340f1.1360165052.git.tom.zanussi@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/44215/ |
| State | New |
| Headers | show |
Comments
On 6 February 2013 15:40, <tom.zanussi@linux.intel.com> wrote: > From: Tom Zanussi <tom.zanussi@linux.intel.com> > > 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
Patch
diff --git a/scripts/crosstap b/scripts/crosstap index 783bf2f..58317cf 100755 --- a/scripts/crosstap +++ b/scripts/crosstap @@ -70,7 +70,7 @@ function systemtap_target_arch() { i?86) SYSTEMTAP_TARGET_ARCH="i386" ;; - x86_64*) + x86?64*) SYSTEMTAP_TARGET_ARCH="x86_64" ;; arm*)