Date: Tue, 16 Jul 1996 19:01:59 -0700 From: Dock Williams <dock@whatsup.jnx.com> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/1393: cant bootstrap lex in -current from 2.1 base Message-ID: <199607170201.TAA17996@whatsup.jnx.com> Resent-Message-ID: <199607170210.TAA03575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1393 >Category: misc >Synopsis: cant bootstrap lex in -current from 2.1 base >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 16 19:10:02 PDT 1996 >Last-Modified: >Originator: Dock Williams >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: FreeBSD 2.1.0-RELEASE >Description: Trying to make world with a 2.1.0 release and the ld of 2.1.0 doesn't have -O support. The bsd.lib.mk uses the new option when making lex and dies with: ===> lib cc -O -c /usr/src/usr.bin/lex/lib/libmain.c -o libmain.o ld: invalid command option `-O' *** Error code 1 (continuing) cc -O -c /usr/src/usr.bin/lex/lib/libyywrap.c -o libyywrap.o ld: invalid command option `-O' *** Error code 1 (continuing) `all' not remade because of errors. The the source for ld has the option support but it needs to be built and installed before it is used. >How-To-Repeat: Using a 2.1.0 base, make world, it will die bootstrapping lex. >Fix: Fix the build process to build and install ld before trying to bootstrap lex, or more gnerally before making a library. I could workaround the problem by using an earlier version of bsd.lib.mk. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607170201.TAA17996>