lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 13 Jan 2010 21:34:39 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	Ingo Molnar <mingo@...e.hu>, Jan Kiszka <jan.kiszka@...mens.com>
Subject: [PATCH][GIT PULL][v2.6.33] tracing/x86: Derive arch from bits
 argument in recordmcount.pl


Ingo,

Please pull the latest tip/tracing/urgent tree, which can be found at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/urgent


Jan Kiszka (1):
      tracing/x86: Derive arch from bits argument in recordmcount.pl

----
 scripts/recordmcount.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---------------------------
commit b82a4045f7962483a78a874343dc6e31b79c96c1
Author: Jan Kiszka <jan.kiszka@...mens.com>
Date:   Mon Jan 11 11:31:44 2010 +0100

    tracing/x86: Derive arch from bits argument in recordmcount.pl
    
    Let the arch argument be overruled by bits. Otherwise, building of
    external modules against a i386 target on a x86-64 host (and likely vice
    versa as well) fails unless ARCH=i386 is explicitly passed to make.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@...mens.com>
    LKML-Reference: <4B4AFE10.8050109@...mens.com>
    Signed-off-by: Steven Rostedt <rostedt@...dmis.org>

diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 92f09fe..ea6f6e3 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -194,7 +194,7 @@ sub check_objcopy
     }
 }
 
-if ($arch eq "x86") {
+if ($arch =~ /(x86(_64)?)|(i386)/) {
     if ($bits == 64) {
 	$arch = "x86_64";
     } else {


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ