Subject: Re: Commit to src/lib/libc/stdio/fparseln.c breaks foreign crossbuilds
To: None <M.Drochner@fz-juelich.de>
From: sgimips NetBSD list <email@example.com>
Date: 05/11/2004 05:28:40
On Tue, May 11, 2004 at 12:15pm, Matthias Drochner wrote:
> Subject: Re: Commit to src/lib/libc/stdio/fparseln.c breaks foreign crossb
> firstname.lastname@example.org said:
> > /tiny/src/hp300-main/lib/libc/stdio/fparseln.c:51:23: reentrant.h: No
> > such file or directory
> Hmm - we could either add sone -I... compiler flag so that
> the libc reentrant.h is found, or add a private one.
> The latter is probably more clean.
> Could you try to add a "reentrant.h" to src/tools/compat
> which just contains the lines:
> #define FLOCKFILE(fp)
> #define FUNLOCKFILE(fp)
Did this, and the tools are building fine now. Danke.
I can only submit that adding -I... would ensure that future changes
to F*LOCKFILE won't be overlooked in the toolchain.
> > Is this perhaps a mod-in-progress that hasn't been fully committed yet?
> No - I was hoping that the compat lib build already deals with
> the _REENTRANT stuff because there is a number of files in libc
> which uses it.
> This isn't hit with NetBSD hosted builds, so I couldn't test.
> best regards
>-- End of excerpt from Matthias Drochner