After some more digging I have found out why buildworlds are failing on my
system: it's because I have NO_FORTRAN=true in /etc/make.conf.

cd /usr/src/gnu/usr.bin/cc/f771; make build-tools
cc -O -pipe -march=pentium -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H 
-DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" 
-I/usr/src/gnu/usr.bin/cc/f771/../cc_tools -I/usr/src/gnu/usr.bin/cc/f771/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f -I.   -c 
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/fini.c
...
/usr/src/gnu/usr.bin/cc/f771/../../../../contrib/gcc/f/hconfig.j:25: hconfig.h: No 
such file or directory

When `NO_FORTRAN=true', the Fortran directories are not created under /usr/obj
because of the following in /usr/src/gnu/usr.bin/cc/Makefile:

        .if !defined(NO_FORTRAN)
        SUBDIR+= f77 f771 f77doc
        .endif

But the build-tools target in /usr/src/Makefile.inc1 unconditionally descends
into gnu/usr.bin/cc/f771. As a result, the include reference to hconfig.h
through /usr/src/gnu/usr.bin/cc/f771 fails. The other errors ae a result of
the missing hconfig.h; it contains

        #include "auto-host.h"
        #include "gansidecl.h"
        #include "i386/xm-i386.h"
        #include "hwint.h"

auto-host.h defines HAVE_STRERROR as 1, gansidecl.h defines PVPROTO.

-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
[EMAIL PROTECTED]  _/_/  _/_/_/      use Std::Disclaimer;


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to