Your message dated Sun, 21 Dec 2008 21:17:38 +0000
with message-id <e1levga-0002rc...@ries.debian.org>
and subject line Bug#508265: fixed in sysprof 1.0.12-1
has caused the Debian Bug report #508265,
regarding sysprof-module-source: doesn't compile on AMD64 arch (wrong register 
names)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
508265: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508265
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sysprof-module-source
Version: 1.0.11-0.1
Severity: serious
Tags: patch
Justification: no longer builds from source


The 64-bit registers in AMD64 architecture are defined as bp, ip, and sp if 
__KERNEL__ 
is defined (include/asm-x86/ptrace.h). 

Looking at sysprof-module.c this is since kernel 2.6.25 for x86, so I just 
copied the
conditionals from few lines below.

It compiles, and works for me.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysprof-module-source depends on:
ii  build-essential               11.4       Informational list of build-essent
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  debhelper                     7.0.15     helper programs for debian/rules
ii  module-assistant              0.10.11.0  tool to make module package creati

sysprof-module-source recommends no packages.

sysprof-module-source suggests no packages.

-- no debconf information
diff -cr sysprof-module/sysprof-module.c sysprof-module.fixed/sysprof-module.c
*** sysprof-module/sysprof-module.c	2008-10-29 21:21:59.000000000 +0200
--- sysprof-module.fixed/sysprof-module.c	2008-12-09 13:09:19.000000000 +0200
***************
*** 68,77 ****
  
  /* Macro the names of the registers that are used on each architecture */
  #if defined(CONFIG_X86_64)
! #       define REG_FRAME_PTR rbp
! #       define REG_INS_PTR rip
! #       define REG_STACK_PTR rsp
! #       define REG_STACK_PTR0 rsp0
  #elif defined(CONFIG_X86)
  #       if LINUX_VERSION_CODE >= KERNEL_VERSION (2,6,25)
  #               define REG_FRAME_PTR bp
--- 68,84 ----
  
  /* Macro the names of the registers that are used on each architecture */
  #if defined(CONFIG_X86_64)
! #       if LINUX_VERSION_CODE >= KERNEL_VERSION (2,6,25)
! #               define REG_FRAME_PTR bp
! #               define REG_INS_PTR ip
! #               define REG_STACK_PTR sp
! #               define REG_STACK_PTR0 sp0
! #       else
! #	       define REG_FRAME_PTR rbp
! #       	define REG_INS_PTR rip
! #       	define REG_STACK_PTR rsp
! #       	define REG_STACK_PTR0 rsp0
! #	endif
  #elif defined(CONFIG_X86)
  #       if LINUX_VERSION_CODE >= KERNEL_VERSION (2,6,25)
  #               define REG_FRAME_PTR bp

--- End Message ---
--- Begin Message ---
Source: sysprof
Source-Version: 1.0.12-1

We believe that the bug you reported is fixed in the latest version of
sysprof, which is due to be installed in the Debian FTP archive:

sysprof-module-source_1.0.12-1_all.deb
  to pool/main/s/sysprof/sysprof-module-source_1.0.12-1_all.deb
sysprof_1.0.12-1.diff.gz
  to pool/main/s/sysprof/sysprof_1.0.12-1.diff.gz
sysprof_1.0.12-1.dsc
  to pool/main/s/sysprof/sysprof_1.0.12-1.dsc
sysprof_1.0.12-1_i386.deb
  to pool/main/s/sysprof/sysprof_1.0.12-1_i386.deb
sysprof_1.0.12.orig.tar.gz
  to pool/main/s/sysprof/sysprof_1.0.12.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 508...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <b...@decadent.org.uk> (supplier of updated sysprof package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 14 Dec 2008 22:55:07 +0000
Source: sysprof
Binary: sysprof sysprof-module-source
Architecture: source i386 all
Version: 1.0.12-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Ben Hutchings <b...@decadent.org.uk>
Description: 
 sysprof    - A system-wide Linux profiler
 sysprof-module-source - Source for the sysprof module
Closes: 508265
Changes: 
 sysprof (1.0.12-1) unstable; urgency=low
 .
   * Orphan package
   * New upstream release
     + Fix compiling on amd64 with kernel >= 2.6.25 (Closes: #508265)
   * Change sysprof-module-source to Architecture: all since the package
     itself is not architecture-dependent
Checksums-Sha1: 
 2ebd6bc463078da3f7fd13fa435788996374aba3 1083 sysprof_1.0.12-1.dsc
 c5fae3caa6c7e4b7d1aa639dd8412fcb51d2cc8f 140946 sysprof_1.0.12.orig.tar.gz
 f6381e5086aa2f0400e0e411bf9e9622b9210e6b 8453 sysprof_1.0.12-1.diff.gz
 4f1e06c56db559a1c4d6e3c87db6a436739d79a2 396622 sysprof_1.0.12-1_i386.deb
 f7e49882115b3993179a9c4bd6353512ea162e86 28552 
sysprof-module-source_1.0.12-1_all.deb
Checksums-Sha256: 
 789e489070eaddfd0a785ebd9afb17539404ea067a3be3efec34a02d00c7f4de 1083 
sysprof_1.0.12-1.dsc
 bf2e8eee6b7170eda13f1796b23b3f33170fa598652f36f8cc94eb93600b1f38 140946 
sysprof_1.0.12.orig.tar.gz
 339f3461e5dea989abc0b70c8001dc262db6eb5207262431f7d1a81dc4c9cf10 8453 
sysprof_1.0.12-1.diff.gz
 3fb4310dbc91ad759a59f698e4178197deac8fb57d239e9c6884de09777458ec 396622 
sysprof_1.0.12-1_i386.deb
 9cfae6258349306cd4e0d41241d53ba19945616cf746ce220cf51f62ff710774 28552 
sysprof-module-source_1.0.12-1_all.deb
Files: 
 d9f5567543304d8dc14604fdcf8d9bff 1083 devel optional sysprof_1.0.12-1.dsc
 9566040f3175678e75133b1c52a473f8 140946 devel optional 
sysprof_1.0.12.orig.tar.gz
 8eb5656c672c5cac26cc86a9d7ffc4e2 8453 devel optional sysprof_1.0.12-1.diff.gz
 ebdf1e4abd4befa9384a9e7565c72de3 396622 devel optional 
sysprof_1.0.12-1_i386.deb
 ab39964771c0833a58e551cf9d8d0907 28552 devel optional 
sysprof-module-source_1.0.12-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJRZpp79ZNCRIGYgcRAhEoAKC9Hs0qZoaa0Rg4CGoW4Vq5emA3QgCfauaz
nyqdlT3+UlTy51YzvU0/TvY=
=HHoP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to