[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  endif

I'll do the same thing, Sorry hollis.

-JX




_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.