Re: 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)

2001-05-21 Thread David Howells


The compiler should be now fixed in this respect, for both my stuff that's in
the kernel and Andrea's desired replacement. The problem appears to have been
triggered by having two "input+output" constraints (eg: "+r", "+m"). However,
I can't test this because the head of the CVS trunk doesn't seem to have been
able to build and test successfully since just before the fix was
applied. (I'm going on the codesourcery builds for this).

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)

2001-05-21 Thread David Howells


The compiler should be now fixed in this respect, for both my stuff that's in
the kernel and Andrea's desired replacement. The problem appears to have been
triggered by having two input+output constraints (eg: +r, +m). However,
I can't test this because the head of the CVS trunk doesn't seem to have been
able to build and test successfully since just before the fix was
applied. (I'm going on the codesourcery builds for this).

David
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)

2001-05-18 Thread mirabilos

Andrea,
I applied rwsem-11 (a bit by hand) to -ac11 and tried to
compile. By changing CFLAGS_sys.o to -O (instead of -O2)
as I read earlier I nearly could compile, it only barfed
when it came to assemble the xaddl procedure by itself:

static inline long rwsem_xchgadd(long value, long * count)
{
__asm__ __volatile__(LOCK "xaddl %0,%1"
 : "+r" (value), "+m" (*count));
return value;
}

changing from "inline" to "" yields a kernel which stops just
before mounting root (sysrq still works, but nothing else).
I now try again with GENERIC, and it actually is compiling...
lets look whether it works.
I hope a non-generic will solve the sound freeze :)

-mirabilos
-- 
by telnet
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)

2001-05-18 Thread mirabilos

Andrea,
I applied rwsem-11 (a bit by hand) to -ac11 and tried to
compile. By changing CFLAGS_sys.o to -O (instead of -O2)
as I read earlier I nearly could compile, it only barfed
when it came to assemble the xaddl procedure by itself:

static inline long rwsem_xchgadd(long value, long * count)
{
__asm__ __volatile__(LOCK xaddl %0,%1
 : +r (value), +m (*count));
return value;
}

changing from inline to  yields a kernel which stops just
before mounting root (sysrq still works, but nothing else).
I now try again with GENERIC, and it actually is compiling...
lets look whether it works.
I hope a non-generic will solve the sound freeze :)

-mirabilos
-- 
by telnet
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/