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]
Message-Id: <20091224111605.6abf0b20.sfr@canb.auug.org.au>
Date:	Thu, 24 Dec 2009 11:16:05 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Jason Wessel <jason.wessel@...driver.com>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Jesse Barnes <jbarnes@...tuousgeek.org>
Subject: linux-next: kgdb tree build failure

Hi Jason,

Today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: "kgdb_active" [drivers/video/console/fbcon.ko] undefined!
ERROR: "want_console" [drivers/serial/kgdboc.ko] undefined!
ERROR: "last_console" [drivers/serial/kgdboc.ko] undefined!
ERROR: "kgdb_active" [drivers/gpu/drm/drm_kms_helper.ko] undefined!

Caused by various commits from the kgdb tree.

I added this patch for today:

From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Thu, 24 Dec 2009 11:10:41 +1100
Subject: [PATCH] kgdb: export symbols used by modules

Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
 drivers/char/vt.c         |    2 ++
 kernel/debug/debug_core.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 50faa1f..ef106d8 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -190,7 +190,9 @@ static DECLARE_WORK(console_work, console_callback);
  */
 int fg_console;
 int last_console;
+EXPORT_SYMBOL_GPL(last_console);
 int want_console = -1;
+EXPORT_SYMBOL_GPL(want_console);
 
 /*
  * For each existing display, we have a pointer to console currently visible
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index 14d7c4e..c58924f 100644
--- a/kernel/debug/debug_core.c
+++ b/kernel/debug/debug_core.c
@@ -106,6 +106,7 @@ static struct kgdb_bkpt		kgdb_break[KGDB_MAX_BREAKPOINTS] = {
  * The CPU# of the active CPU, or -1 if none:
  */
 atomic_t			kgdb_active = ATOMIC_INIT(-1);
+EXPORT_SYMBOL_GPL(kgdb_active);
 
 /*
  * We use NR_CPUs not PERCPU, in case kgdb is used to debug early
-- 
1.6.5.4


-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
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