At the bottom is my first attempt at a patch. It adds all the syscalls that were
not already alocated and updates the ones required to get the build to continue
past udev linking and embutils.I refereed to the Linux-3.3 source for the
updated syscalls.
I think it would probably be better to go ahead and change *all* the syscalls so
that they are in sync with Linux 3.3 but I would like to get some input from the
list on that.
I am now to this point in compiling sparc32 on t2-9.0 looks like libffi hasn't
been built yet how would I go about doing that? I checked and T2 definitly has
libffi > 3.0 so it just hasn't been built yet.
checking for LIBFFI... no
configure: error: Package requirements (libffi >= 3.0.0) were not met:
No package 'libffi' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Due to previous errors, no 1-glib.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 15 files for this package.
Found 0 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
== 03/19/12 13:37:05 =[1]=> Aborted building package glib.
-> Unmounting loop mounts ...
sparc32_syscalls-1.patch
diff -rupN dietlibc-0.32/sparc/syscalls.h dietlibc-0.32-new//sparc/syscalls.h
--- dietlibc-0.32/sparc/syscalls.h 2008-09-30 16:02:35.000000000 -0500
+++ dietlibc-0.32-new//sparc/syscalls.h 2012-03-19 12:04:29.000000000 -0500
@@ -106,11 +106,11 @@
#define __NR_rt_sigtimedwait 105 /* Linux Specific
*/
#define __NR_rt_sigqueueinfo 106 /* Linux Specific
*/
#define __NR_rt_sigsuspend 107 /* Linux Specific
*/
-#define __NR_setresuid32 108 /* Linux Specific, sigvec under SunOS
*/
-#define __NR_getresuid32 109 /* Linux Specific, sigblock under SunOS
*/
-#define __NR_setresgid32 110 /* Linux Specific, sigsetmask under SunOS
*/
-#define __NR_getresgid32 111 /* Linux Specific, sigpause under SunOS
*/
-#define __NR_setregid32 112 /* Linux sparc32, sigstack under SunOS
*/
+#define __NR_setresuid 108 /* Linux Specific, sigvec under SunOS
*/
+#define __NR_getresuid 109 /* Linux Specific, sigblock under SunOS
*/
+#define __NR_setresgid 110 /* Linux Specific, sigsetmask under SunOS
*/
+#define __NR_getresgid 111 /* Linux Specific, sigpause under SunOS
*/
+#define __NR_setregid 112 /* Linux sparc32, sigstack under SunOS
*/
#define __NR_recvmsg 113 /* Common
*/
#define __NR_sendmsg 114 /* Common
*/
#define __NR_getgroups32 115 /* Linux sparc32, vtrace under SunOS
*/
@@ -149,12 +149,12 @@
#define __NR_pciconfig_read 148 /* ENOSYS under SunOS
*/
#define __NR_pciconfig_write 149 /* ENOSYS under SunOS
*/
#define __NR_getsockname 150 /* Common
*/
-/* #define __NR_getmsg 151 SunOS Specific
*/
-/* #define __NR_putmsg 152 SunOS Specific
*/
+#define __NR_inotify_init 151 /* Linux specific
*/
+#define __NR_inotify_add_watch 152 /* Linux specific
*/
#define __NR_poll 153 /* Common
*/
#define __NR_getdents64 154 /* Linux specific
*/
#define __NR_fcntl64 155 /* Linux sparc32 Specific
*/
-/* #define __NR_getdirentires 156 SunOS Specific
*/
+#define __NR_inotify_rm_watch 156 /*
*/
#define __NR_statfs 157 /* Common
*/
#define __NR_fstatfs 158 /* Common
*/
#define __NR_umount 159 /* Common
*/
@@ -315,6 +315,29 @@
#define __NR_fallocate 314
#define __NR_timerfd_settime 315
#define __NR_timerfd_gettime 316
+#define __NR_signalfd4 317
+#define __NR_eventfd2 318
+#define __NR_poll_create1 319
+#define __NR_dup3 320
+#define __NR_pipe2 321
+#define __NR_inotify_init1 322
+#define __NR_accept4 323
+#define __NR_preadv 324
+#define __NR_pwritev 325
+#define __NR_rt_tgsigqueueinfo 326
+#define __NR_perf_event_open 327
+#define __NR_recvmmsg 328
+#define __NR_fanotify_init 329
+#define __NR_fanotify_mark 330
+#define __NR_prlimit64 331
+#define __NR_name_to_handle_at 332
+#define __NR_open_by_handle_at 333
+#define __NR_clock_adjtime 334
+#define __NR_syncfs 335
+#define __NR_sendmmsg 336
+#define __NR_setns 337
+#define __NR_process_vm_readv 338
+#define __NR_process_vm_writev 339
#define syscall_weak(name,wsym,sym) \
.text; \
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2