tags 469379 patch
thanks

Hi,

The attached patch fixes this build failure. The change to 
linux/sparc/syscall.h makes it equivalent to the latest CVS version. 
The change to linux/sparc/syscallent.h is needed because 
sys_getpagesize() definition in mem.c is protected by the following 
clause:

#if defined(ALPHA) || defined(FREEBSD) || defined(IA64) || defined(SUNOS4) || 
defined(SVR4)

Thus, it's not available on linux/sparc, so compilation fails if it's 
referenced.

Best regards,
-- 
Jurij Smakov                                           [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
diff -aur strace-4.5.15.orig/linux/sparc/syscallent.h strace-4.5.15/linux/sparc/syscallent.h
--- strace-4.5.15.orig/linux/sparc/syscallent.h	2006-10-16 02:17:53.000000000 +0100
+++ strace-4.5.15/linux/sparc/syscallent.h	2008-03-07 21:55:04.000000000 +0000
@@ -62,7 +62,6 @@
 	{ 1,	TF,	sys_chroot,	"chroot" },		/* 61 */
 	{ 2,	TD,	sys_fstat,	"fstat" },		/* 62 */
 	{ 2,	TD,	sys_fstat64,	"fstat64" },		/* 63 */
-	{ 0,	0,	sys_getpagesize,"getpagesize" },	/* 64 */
 	{ 3,	0,	sys_msync,	"msync" },		/* 65 */
 	{ 0,	TP,	sys_vfork,	"vfork" },		/* 66 */
 	{ 5,	TD,	sys_pread,	"pread" },		/* 67 */
diff -aur strace-4.5.15.orig/linux/sparc/syscall.h strace-4.5.15/linux/sparc/syscall.h
--- strace-4.5.15.orig/linux/sparc/syscall.h	2006-01-12 22:34:50.000000000 +0000
+++ strace-4.5.15/linux/sparc/syscall.h	2008-03-07 21:54:51.000000000 +0000
@@ -25,7 +25,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- *	$Id: syscall.h,v 1.11 2006/01/12 22:34:50 roland Exp $
+ *	$Id: syscall.h,v 1.12 2007/09/12 01:26:24 roland Exp $
  */
 #include "dummy.h"
 
@@ -107,6 +107,7 @@
 int sys_rt_sigtimedwait(), sys_prctl(), sys_poll();
 int sys_sendfile(), sys_query_module(), sys_capget(), sys_capset();
 int sys_create_module(), sys_init_module();
+int sys_setgroups32(), sys_getgroups32();
 
 int	sys_umask();		/* XXX */
 
@@ -203,4 +204,14 @@
 int	sys_clock_getres(), sys_clock_nanosleep();
 int	sys_timer_create(), sys_timer_settime(), sys_timer_gettime();
 
+int	sys_io_setup(), sys_io_destroy(), sys_io_submit(), sys_io_cancel(), sys_io_getevents();
+int	sys_mq_open(), sys_mq_unlink(), sys_mq_timedsend(), sys_mq_timedreceive(), sys_mq_notify(), sys_mq_getsetattr();
+int	sys_waitid();
+int	sys_openat(), sys_mkdirat(), sys_mknodat(), sys_fchownat(), sys_futimesat(), sys_newfstatat(), sys_unlinkat(), sys_renameat(), sys_linkat(), sys_symlinkat(), sys_readlinkat(), sys_fchmodat(),	sys_faccessat();
+int	sys_pselect6(), sys_ppoll();
+int	sys_unshare();
+int	sys_move_pages(), sys_getcpu();
+int	sys_epoll_pwait();
+int	sys_signalfd(), sys_timerfd(), sys_eventfd();
+
 #include "syscall1.h"

Reply via email to