This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [XenPPC] [xenppc-unstable] [POWERPC] show symbols in backtrace

On Aug 24, 2006, at 7:32 PM, Hollis Blanchard wrote:

On Wed, 2006-08-23 at 10:30 +0000, Xen patchbot-xenppc-unstable wrote:

+xen-syms.S: .xen-syms
+ $(CROSS_COMPILE)nm --synthetic -n $^ | $(BASEDIR)/tools/ symbols > $@

This breaks me:

powerpc64-unknown-linux-gnu-nm: unrecognized option `--synthetic'
% powerpc64-unknown-linux-gnu-nm -V
GNU nm 2.15

Do we really need --synthetic?

Hmm, I got this from my Linux Build.
I thought it was odd and left it out and it did not work, got the wrong symbol names.
I think it has something to do with function descriptors.

ahh I see th problem now, arch/powerpc/Makefile, line 42:
  ifeq ($(CONFIG_PPC64),y)
  OLDARCH       := ppc64
  SZ    := 64

new_nm := $(shell if $(NM) --help 2>&1 | grep -- '--synthetic' > / dev/null; then echo y; else echo n; fi)

  ifeq ($(new_nm),y)
  NM            := $(NM) --synthetic

I'll do the same thing, Sorry hollis.


Xen-ppc-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>