On Thursday 21 March 2002 07:56 am, David Howells wrote:
> > This doesn't help. It still fails the same way compiling
> > jfs_imap.c.
>
> Try splitting the "+m" too.
Tried splitting just the +m. This seems to work as well.
We seem to have two patches that work around the problem, but I guess
this really is a gcc bug that should be fixed.
--- include/asm-i386/rwsem.h.orig Mon Feb 25 14:59:07 2002
+++ include/asm-i386/rwsem.h Thu Mar 21 08:30:44 2002
@@ -164,8 +164,8 @@
" jmp 1b\n"
LOCK_SECTION_END
"# ending __up_read\n"
- : "+m"(sem->count), "+d"(tmp)
- : "a"(sem)
+ : "=m"(sem->count), "+d"(tmp)
+ : "a"(sem), "m"(sem->count)
: "memory", "cc");
}
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion