Date: Fri, 08 Dec 2000 03:56:12 -0800 From: Jake Burkholder <jburkhol@home.com> To: Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> Cc: freebsd-current@FreeBSD.ORG Subject: Re: sys/mutex.h - compilation errors Message-ID: <20001208115612.562F9BA7D@io.yi.org> In-Reply-To: Message from Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> of "Fri, 08 Dec 2000 12:49:37 %2B0100." <20001208124937.A21874@gil.physik.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001208115612.562F9BA7D>