Date: Mon, 19 Oct 1998 16:59:14 +1000 From: Bruce Evans <bde@zeta.org.au> To: dpassage@flophouse.com, freebsd-current@FreeBSD.ORG Subject: Re: make buildworld lex library breakage (with fix!) Message-ID: <199810190659.QAA29545@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Environment: FreeBSD -stable box as of approx Oct 8, trying to build >-current cvsupped around 10pm PDT today. > >During the "Rebuilding tools necessary to build the include files" >stage, the attempt to build compile_et fails because of a missing lex >library: > >[...] >cc -O -pipe -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err -I/usr/obj/aout/usr/src/tmp/usr/include -static -o compile_et compile_et.o error_table.o -ll >ld: -ll: no match >*** Error code 1 > >It appears in Makefile.inc1 (revision 1.36) that the lex library never >gets built or installed into the /usr/obj tree. Enabling the build of Actually, it gets built about 3 times, including in a weird place in lib-tools, but not before building compile_et. >the lex library in the "make bootstrap" target fixed the problem for >me. Diff follows (cut and pasted so the tabs may be wrong): This seems to be correct except it doesn't delete building of the lex library in lib-tools. It used to be wrong because ld used to have to be built before any libraries to get support for the -O and -f flags. Now -O is not used, and -f is only used for `make depend', and `make world' doesn't run `make depend' except in the NOCLEAN case and in buggy parts of the legacy build that misspell ${_DEPEND} as `depend'. Bruce 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?199810190659.QAA29545>