From owner-freebsd-current Mon Dec 20 0:44:17 1999 Delivered-To: freebsd-current@freebsd.org Received: from gw-nl4.philips.com (gw-nl4.philips.com [192.68.44.36]) by hub.freebsd.org (Postfix) with ESMTP id 7324E14C9E for ; Mon, 20 Dec 1999 00:44:11 -0800 (PST) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl4.philips.com with ESMTP id JAA07547 for ; Mon, 20 Dec 1999 09:44:08 +0100 (MET) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a) id xma007542; Mon, 20 Dec 99 09:44:09 +0100 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id JAA02643 for ; Mon, 20 Dec 1999 09:44:06 +0100 (MET) Received: (qmail 77497 invoked by uid 666); 20 Dec 1999 09:06:07 -0000 Date: Mon, 20 Dec 1999 10:06:07 +0100 From: Jos Backus To: freebsd-current@FreeBSD.ORG Subject: make world broken with NO_FORTRAN=true Message-ID: <19991220100607.A31391@hal.mpn.cp.philips.com> Reply-To: Jos Backus 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i 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 +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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