This is just a minor change to ibcs-3.9.3. It includes the sigsuspend() bugfix also included in ibcs-3.9.4. Mauro, can I have 3.9.x version numbers in case I release another patch for the 2.6.32 stuff I use in production? Call the next one 3.10.1, or 3.11 or whatever takes your fancy.
ibcs-3.9.3 + sigsuspend fix.
OS: Linux RHEL 6.x 64bit (amd64) in a VMware VM.
Kernel: 2.6.32-131.17.1.el6.x86_64
ibcs-3.9.4 (tried 3.10 too, see below)
PROBLEM: cannot run coff ISC binaries due to
ABI Trace Flag: FF
[bash:22523]: Personality 04000005 assigned
coff: trapping process with SEGV
the app I'm trying to use is a database app, however if someone is interested in fixing this I can provide by email a very simple binary to reproduce the issue, that would be the "ls" (ie: "ls -l" and list dir content) ISC binary (51KB).
NOTE: to make 3.9.4 compile I had to:
1) put "#if0" around lcall/lcall.c
#ifdef CONFIG_XEN
#include <asm/xen/hypervisor.h>
#include <xen/page.h>
#include <xen/events.h>
#endif
because apparently headers are broken on RHEL6 since
include/asm/xen/hypervisor.h
contains
#include <xen/xen.h>
but I couldn't find a xen dir with a xen.h file anywhere.
However, I saw xen is disabled in the rest of lcall.c, so I think it's ok to if0.
2) Then I got
ibcs-3.9.2/lcall/lcall.c: In function 'linux_lcall7':
ibcs-3.9.2/lcall/lcall.c:280: error: '__NR_open' undeclared ...
I had to add
#include <linux/syscalls.h>
to lcall/lcall.c. Is this ok?
3) I tried 3.10 too with same results.
I had to revert the changes in
svr4/xti.c: timod_socket_wakeup(struct file *fp)
because RHEL6 doesn't have "wq".