Subject: Re: -current build failure in npx.c?
To: gabriel rosenkoetter <gr@eclipsed.net>
From: Glendon Gross <gross@xinetd.com>
List: current-users
Date: 11/01/2001 08:57:03
I finally got the kernel to build with 686 support after building
"gas.new" and "libbfd." This was not clearly documented in UPDATING,
but I haven't looked at the latest version.
On Mon, 29 Oct 2001, gabriel rosenkoetter wrote:
> On Mon, Oct 29, 2001 at 03:36:39PM -0500, gabriel rosenkoetter wrote:
> > Surely the new toolchain should have built a new gas for me if
> > necessary. Right?
>
> Aha, "No, it won't. That would be too easy and entirely the point of
> using the new toolchain. You really do still have to go over
> UPDATING with a fine-toothed comb."
>
> Oh, okay, fine, so I'll build gas myself.
>
> Whoops, no I won't:
>
> grappa:usr.bin/gas.new# pwd
> /usr/src/gnu/usr.bin/gas.new
> grappa:usr.bin/gas.new# make && make install
> cc -O2 -Werror -I/usr/src/gnu/usr.bin/gas.new/arch/i386 -I/usr/src/gnu/usr.bin/gas.new/../../dist/gas -I/usr/src/gnu/usr.bin/gas.new/../../dist/gas/config -I/usr/src/gnu/lib/libbfd/obj -I/usr/src/gnu/usr.bin/gas.new/../../dist/bfd -I/usr/src/gnu/usr.bin/gas.new/../../dist/include -I/usr/src/gnu/usr.bin/gas.new/../../dist -D_GNU_SOURCE -DDEFAULT_ELF -c /usr/src/gnu/usr.bin/gas.new/../../dist/gas/app.c
> In file included from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/app.c:29:
> /usr/src/gnu/usr.bin/gas.new/../../dist/gas/as.h:142: bfd.h: No such file or directory
> In file included from /usr/src/gnu/usr.bin/gas.new/arch/i386/obj-format.h:2,
> from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/config/te-nbsd.h:24,
> from /usr/src/gnu/usr.bin/gas.new/arch/i386/targ-env.h:1,
> from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/as.h:599,
> from /usr/src/gnu/usr.bin/gas.new/../../dist/gas/app.c:29:
> /usr/src/gnu/usr.bin/gas.new/../../dist/gas/config/obj-elf.h:32: bfd.h: No such file or directory
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/gnu/usr.bin/gas.new
>
> There's no bfd.h in my (unupdated) /usr/include, but there's also
> none in /usr/src/include, so I don't think a make includes is going
> to change much.
>
> Help? Am I between commits here?
>
> --
> ~ g r @ eclipsed.net
>