public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)
@ 2001-05-18 20:08 mirabilos
  2001-05-21  8:39 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: mirabilos @ 2001-05-18 20:08 UTC (permalink / raw)
  To: Andrea Arcangeli; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)
  2001-05-18 20:08 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14) mirabilos
@ 2001-05-21  8:39 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2001-05-21  8:39 UTC (permalink / raw)
  To: mirabilos; +Cc: Andrea Arcangeli, linux-kernel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-21  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-18 20:08 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14) mirabilos
2001-05-21  8:39 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox