Skip to contentSkip to conversation

update libaio to 0.3.106

PATCH New Alex Williamson 1 participant 1 message Jul 13, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update libaio to 0.3.106

Libaio 0.3.104 in xen-unstable doesn't build on ia64. This updates
to 0.3.106, which does build. Thanks,

Alex

---

tools/libaio/libaio.spec +11 -1
diff -r f692a0a476c5 tools/libaio/libaio.spec
@@ -1,5 +1,5 @@ Name: libaio
 Name: libaio
-Version: 0.3.104
+Version: 0.3.106
 Release: 1
 Summary: Linux-native asynchronous I/O access library
 Copyright: LGPL
@@ -59,6 +59,16 @@ make install prefix=$RPM_BUILD_ROOT/usr 
 %attr(0644,root,root) %{_libdir}/libaio.a
 
 %changelog
+* Tue Jan  3 2006 Jeff Moyer <[email protected]> - 0.3.106-1
+- Add a .proc directive for the ia64_aio_raw_syscall macro.  This sounds a lot
+  like the previous entry, but that one fixed the __ia64_raw_syscall macro,
+  located in syscall-ia64.h.  This macro is in raw_syscall.c, which pretty much
+  only exists for ia64.  This bug prevented the package from building with
+  newer version of gcc.
+
+* Mon Aug  1 2005 Jeff Moyer <[email protected]> - 0.3.105-1
+- Add a .proc directive for the ia64 raw syscall macro.
+
 * Fri Apr  1 2005 Jeff Moyer <[email protected]> - 0.3.104-1
 - Add Alpha architecture support.  (Sergey Tikhonov <[email protected]>)
 
tools/libaio/src/raw_syscall.c +1 -0
diff -r f692a0a476c5 tools/libaio/src/raw_syscall.c
@@ -4,6 +4,7 @@
 /* based on code from glibc by Jes Sorensen */
 __asm__(".text\n"
 	".globl	__ia64_aio_raw_syscall\n"
+	".proc	__ia64_aio_raw_syscall\n"
 	"__ia64_aio_raw_syscall:\n"
 	"alloc r2=ar.pfs,1,0,8,0\n"
 	"mov r15=r32\n"
tools/libaio/src/syscall-ia64.h +1 -0
diff -r f692a0a476c5 tools/libaio/src/syscall-ia64.h
@@ -7,6 +7,7 @@
 #define __ia64_raw_syscall(fname, sname) \
 	__asm__ (".text\n"						\
 		".globl " SYMSTR(fname) "\n"				\
+		".proc " SYMSTR(fname) "\n"				\
 		SYMSTR(fname) ":\n"					\
 		"	mov r15=" SYMSTR( __NR_ ## sname ) "\n"		\
 		"	break 0x100000\n"				\