> On Fri, Dec 08, 2000 at 03:37:46AM -0800, Jake Burkholder wrote:
> > >
> > > I cvsuped src , built world and tried to compile a new kernel.
> > > Presently compilation fails with error in ASM line 601 in ../../sys/mutex.h.
> > >
> > > Any ideas?
> > >
> > > (that code seems to be used by i4b sppp routines)
> >
> > This should be fixed, or at least worked around for a while.
> > Re-cvsup and try again.
>
> Easier said than done with a broken isdn link (due to a system running an
> old kernel with new system binaries :)
oh joy :)
>
> Could you tell me which files were related to that fix? mutex.h itself doesn't
> seem to be upgraded since Dec 1, so it may be some other essential
> header files?
Yeah, its pretty simple. We're having trouble with gcc generating bad
code for inline asm in the mutexes, the fix is to use the un-optimized
c versions of the mutex routines for now.
This should get things compiling again:
===================================================================
RCS file: /home/ncvs/src/sys/i386/include/mutex.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- src/sys/i386/include/mutex.h 2000/12/07 02:23:16 1.15
+++ src/sys/i386/include/mutex.h 2000/12/08 05:03:34 1.16
@@ -26,7 +26,7 @@
* SUCH DAMAGE.
*
* from BSDI $Id: mutex.h,v 2.7.2.35 2000/04/27 03:10:26 cp Exp $
- * $FreeBSD: src/sys/i386/include/mutex.h,v 1.15 2000/12/07 02:23:16 jhb Exp $
+ * $FreeBSD: src/sys/i386/include/mutex.h,v 1.16 2000/12/08 05:03:34 jhb Exp $
*/
#ifndef _MACHINE_MUTEX_H_
@@ -69,7 +69,8 @@ extern char STR_SIEN[];
#define _V(x) __STRING(x)
-#ifndef I386_CPU
+#if 0
+/* #ifndef I386_CPU */
/*
* For 486 and newer processors.
>
>
> --
> Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message