On Fri, Nov 01, 2002 at 07:23:04AM +0000, Daniel Flickinger wrote:
>
> from cvsup *default date=2002.11.01.06.00.00:
>
> rm -rf /usr/obj/usr
> make -j 4 -k -s buildworld ...
>
> crashed in libc. v1.19 is in /usr/include; v1.20 is in
> the /usr/obj/ tree where it should be read by infinity.c
>
> /usr/src/lib/libc/i386/gen/infinity.c:11: storage size of `__infinity' isn't known
> *** Error code 1
>
> < * $FreeBSD: src/lib/msun/src/math.h,v 1.19 2002/10/23 17:35:11 markm Exp $
> ---
> > * $FreeBSD: src/lib/msun/src/math.h,v 1.20 2002/10/31 23:05:20 archie Exp $
> 23,24c23,27
> < extern char __infinity[];
> < #define HUGE_VAL (*(double *) __infinity)
> ---
> > extern const union __infinity_un {
> > unsigned char __uc[8];
> > double __ud;
> > } __infinity;
> > #define HUGE_VAL (__infinity.__ud)
>
> This is another instance where the build is not reading
> from the /usr/obj tree, reading from /usr/include first.
>
> a 'make buildincludes installincludes' cures the problem
>
> This is no problem in the development track; costs me a
> few minutes to update /usr/include and 34 minutes on the
> machine to do a new buildworld. I just deleted the 'make
> installincludes' step from my build scripts --maybe I
> should restore it?
>
> However, is it not the intent not to require an
> installincludes prior to buildworld?
>
Of course not, because installincludes are essential part of the
buildworld, and everything that is bootstrapped, should be buildable
in a host environment.> ... too much insider knowledge and nothing documented > other than read the makefiles? > I'm not seeing this breakage. At what stage of buildworld do you see it? (buildworld builds special versions of compiler and cross tools that honour the TOOLS_PREFIX which is set to WORLDTMP during world-related stages of buildworld: includes, libraries, depend, and all. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg45846/pgp00000.pgp
Description: PGP signature
