Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 20:02:17 +0200 (CEST)
From:      Barry Bouwsma <freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk>
To:        freebsd-current@freebsd.org
Subject:   Re: Need help: buildworld for CURRENT while under STABLE is not working
Message-ID:  <200408091802.i79I2Hp81575@Mail.NOSPAM.DynDNS.dK>
References:  <200408071057.06960.ringworm@inbox.lv> <20040808064912.GA27705@les.ath.cx> <200408081730.i78HUN320899@Mail.NOSPAM.DynDNS.dK> <200408090554.17355.ringworm@inbox.lv> <200408091603.i79G3Pr72422@Mail.NOSPAM.DynDNS.dK>

next in thread | previous in thread | raw e-mail | index | archive | help
[keep replies to the list and I'll catch up later, thanks]

I wrote:

> This failure just in:  It seems that `gengenrtl' is built to the
> expectations of the target -current crossbuild, and then it gets
> invoked during the -stable build as per the makefile:

> genrtl.c genrtl.h: gengenrtl
>         ./gengenrtl > genrtl.c
>         ./gengenrtl -h > genrtl.h

(Apologies sent off-line for mistakenly assuming Harti Brandt was
responsible for this part of the code)

Hmmm.  I see two issues in my build.

The various cc_tools are built as part of my cross-build _build-tools
step, where they're built static, and the above works.

However, I don't see that those build-tools binaries get installed
anywhere that show up in the BPATH or XPATH or STRICTTMPPATH used
later.  Could be pilot error here too.

Anyway, rather than ./genFOO, it seems to me that this makefile
should be trying to make use of the PATH in the environment,
particularly for crossbuilds like mine.

Stripping away the ./ from all the invoked paths in this makefile
and relying on $PATH to DTRT was my first idea; of course, during
the build-tools step, nothing has been installed to be invoked.

So I thought maybe add `:.' to BPATH, and then I thought, aiee,
maybe not.  Instead I changed every `./' in this makefile and
replaced it with `PATH=${PATH}:. ' and that seemed to work for
the build-tools step.

And it might as well work for the everything step, if only these
binaries were to appear in the PATH before the `.', hmmm.

I'll probably poke at that until I pass out or something.


Once again, this is a crossbuild of -current on -stable.


> This appears to result in the crossbuild failure I see:
> ./gengenrtl > genrtl.c
> ELF interpreter /libexec/ld-elf.so.1 not found


thanks
barry bouwsma



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408091802.i79I2Hp81575>