From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: xen debugger (kdb/xdb/hdb) patch for c/s 25467 Date: Wed, 5 Sep 2012 11:52:39 -0700 Message-ID: <20120905115239.486ff01b@mantra.us.oracle.com> References: <20120829143512.7c579fb1@mantra.us.oracle.com> <20120829144125.25a5eb3e@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ben Guthro Cc: "Xen-devel@lists.xensource.com" , msw@amazon.com List-Id: xen-devel@lists.xenproject.org On Wed, 5 Sep 2012 12:02:13 -0400 Ben Guthro wrote: > FYI - I applied this against the tip, and turned it on (and debug off) > - but I get link errors: > > ld -melf_x86_64 -T xen.lds -N prelink.o \ > /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/common/symbols-dummy.o > -o /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/.xen-syms.0 > prelink.o: In function `kdb_cmdf_f': > /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/kdb/kdb_cmds.c:510: > undefined reference to `show_trace' > /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/kdb/kdb_cmds.c:510:(.text+0x11f6b9): > relocation truncated to fit: R_X86_64_PC32 against undefined symbol > `show_trace' > ld: /data/home/bguthro/dev/orc-newdev.git/orc-xen/xen-4.2/xen/.xen-syms.0: > hidden symbol `show_trace' isn't defined > ld: final link failed: Bad value It's prob static. Just un-static it :). Missed in patch because we might have it that way here already in our tree. LMK. thanks. Mukesh