Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 17:20:06 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Adam Migus <adam@migus.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   RE: PERFORCE change 13617 for review
Message-ID:  <Pine.NEB.3.96L.1020629171832.30000W-100000@fledge.watson.org>
In-Reply-To: <HGEBLKNLFOJKKBGJBAKDGEEECAAA.adam@migus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Not sure if this will cause errors, but there is other stuff in the
integ'd assembly code that requires a new compiler.  What I'm doing until
I trust the new code base is using a compiler local to the build tree:

  make buildworld
  make buildkernel KERNCONF=MYMAC

If you do buildworld first, buildkernel will use the compiler from the
obj tree from buildworld.  Make sure you don't installworld unless you
mean to :-)

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories

On Sat, 29 Jun 2002, Adam Migus wrote:

>  
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Will this cause errors if I compile with the old compiler?
> 
> > -----Original Message-----
> > From: Robert Watson [mailto:rwatson@freebsd.org]
> > Sent: Saturday, June 29, 2002 4:27 PM
> > To: Perforce Change Reviews
> > Subject: PERFORCE change 13617 for review
> > 
> > 
> > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13617
> > 
> > Change 13617 by rwatson@rwatson_tislabs on 2002/06/29 13:26:29
> > 
> > 	Fix var args handling in a macro, ## is not needed and was
> > 	generating a token warning with the new compiler.
> > 
> > Affected files ...
> > 
> > .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#155 edit
> > 
> > Differences ...
> > 
> > ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#155 
> > (text+ko) ====
> > 
> > @@ -175,7 +175,7 @@
> >  	LIST_FOREACH(mpc, &mac_policy_list, mpc_list) {			\
> >  		if (mpc->mpc_ops.mpo_ ## check != NULL)			\
> >  			error = error_select(				\
> > -			    mpc->mpc_ops.mpo_ ## check (## args),	\
> > +			    mpc->mpc_ops.mpo_ ## check (args),		\
> >  			    error);					\
> >  	}								\
> >  	MAC_POLICY_LIST_UNBUSY();					\
> > @@ -196,7 +196,7 @@
> >  	LIST_FOREACH(mpc, &mac_policy_list, mpc_list) {			\
> >  		if (mpc->mpc_ops.mpo_ ## operation != NULL)		\
> >  			result = result composition			\
> > -			    mpc->mpc_ops.mpo_ ## operation ( ## args);	\
> > +			    mpc->mpc_ops.mpo_ ## operation (args);	\
> >  	}								\
> >  	MAC_POLICY_LIST_UNBUSY();					\
> >  } while (0)
> > @@ -211,7 +211,7 @@
> >  	MAC_POLICY_LIST_BUSY();						\
> >  	LIST_FOREACH(mpc, &mac_policy_list, mpc_list) {			\
> >  		if (mpc->mpc_ops.mpo_ ## operation != NULL)		\
> > -			mpc->mpc_ops.mpo_ ## operation (## args);	\
> > +			mpc->mpc_ops.mpo_ ## operation (args);	\
> >  	}								\
> >  	MAC_POLICY_LIST_UNBUSY();					\
> >  } while (0)
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.1
> 
> iQA/AwUBPR4jCHYIuWxy/CTSEQI7MACdHlABZrdixPd3iebnG6GSKS0PPq8Aniaz
> nR0aGoO07fvNyIC1X91Z5w9g
> =vXQl
> -----END PGP SIGNATURE-----
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020629171832.30000W-100000>