Date: Mon, 20 Dec 1999 10:06:07 +0100 From: Jos Backus <Jos.Backus@nl.origin-it.com> To: freebsd-current@FreeBSD.ORG Subject: make world broken with NO_FORTRAN=true Message-ID: <19991220100607.A31391@hal.mpn.cp.philips.com> In-Reply-To: <19991219010305.B53473@hal.mpn.cp.philips.com>; from Jos.Backus@nl.origin-it.com on Sun, Dec 19, 1999 at 01:03:05AM %2B0100 References: <19991216231609.A90209@hal.mpn.cp.philips.com> <385AC788.56641747@heartland.ab.ca> <19991217115334.B11849@hal.mpn.cp.philips.com> <19991219010305.B53473@hal.mpn.cp.philips.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
_/ _/ _/ _/
Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer;
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?19991220100607.A31391>
