Buildworld from FreeBSD4.8

Robert Garrett rg70 at sbcglobal.net
Sat Feb 7 18:55:50 PST 2004


Matthew Dillon wrote:

> 
> :germain at xxxxxxxxxx wrote:
> :> This made the buildworld work when going from freebsd 4.8 to dragonfly
> :> 
> :> 
> :> gold# diff -uN exec_aout.c.old  exec_aout.c
> :> --- exec_aout.c.old     Sat Feb  7 17:52:53 2004
> :> +++ exec_aout.c Sat Feb  7 17:24:56 2004
> :> @@ -42,6 +42,10 @@
> :> 
> :>  #include "extern.h"
> :> 
> :> +#ifndef __DragonFly__
> :> +#define __DragonFly__
> :> +#endif
> :> +
> :
> :Shouldn't this be somewhere in sys/cdefs.h or some other
> :compiler related header?
> :
> :-- Hiten
> 
>     I think David was just suggesting a quick hack to be sure that was the
>     issue.  The real fix is to use both __FreeBSD__ and __DragonFly__
>     tests in the build tools (not the entirety of the buildworld source
>     base, just the parts that buildworld compiles up using the local
>     compiler to generate the tools it needs to compile the rest of the
>     world).
> 
> Matthew Dillon
> <dillon at xxxxxxxxxxxxx>
This seems to be the only place that is giving us a problem,
with builds from freebsd. But yes that is the better way. I will take 
care of this file later this evening.

Robert Garrett





More information about the Submit mailing list