sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 13727] New: psmisc: compile error of peekfd
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 13727] New: psmisc: compile error of peekfd
- Date: 19 Apr 2007 11:28:13 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13727
Summary: psmisc: compile error of peekfd
Product: Codex
Version: test grimoire
Platform: x86-64
URL: http://sourceforge.net/tracker/index.php?func=detail&aid
=1702927&group_id=15273&atid=115273
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: utils
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: m.spitzbarth AT gmx.de
In version 22.4 of psmisc there is a new program called peekfd to examine file
descriptors of processes, that doesn't seem to compile on anything but x86.
Version 22.3 in stable-0.9 does not contain peekfd and compiles on x86_64.
=====compile.log, full log is attached=====
<snip>
peekfd.c: In function 'main':
peekfd.c:181: error: 'struct user_regs_struct' has no member named 'orig_eax'
<snip> ... four errors for each of the 32bit multi purpose registers
=====
Upstream has a bug in their database about it:
http://sourceforge.net/tracker/index.php?func=detail&aid=1702927&group_id=15273&atid=115273
I've found the same bug at
http://www.nabble.com/forum/ViewPost.jtp?post=10035670&framed=y
where their hack for the problem is to disable the compilation of peekfd on
anything not i386. I personally don't like this way of solving a bug and would
rather wait for upstream to fix it.
I have attached a patch for:
delve -c start config_loc psmisc
cd /usr/src/psmisc-22.4
patch -p1 < $ATTACHED_PATCH
delve -c BUILD end psmisc
but I don't know what architectures to check for to selectively apply this
patch, so I'm not about to do any changes to git regarding this bug.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 13727] New: psmisc: compile error of peekfd, bugzilla-daemon, 04/19/2007
Archive powered by MHonArc 2.6.24.