On Wed, 25 Nov 2020, co...@sdf.org wrote: > I've been building successfully with setting: > export ac_cv_func_freelocale=no > export ac_cv_func_newlocale=no > export ac_cv_func_uselocale=no
It's a workaround really, though surely one that works; I've done things like this myself regularly, especially for cross-compilation where the right setting cannot be determined by `configure' and the default is either wrong or bails out (it used to be the case with type sizes, very painful, until a clever trick was invented with one version of autoconf). Overall a plain `/path/to/configure' invocation is expected to do the right thing though for whatever the default configuration of a software piece is. Also by "building successfully" do you mean someone has actually ported libgfortran locally for VAX FP support, or is it just with NetBSD ports that use IEEE-754 FP? > I think the code to avoid these functions already exists, but just the > configure tests need tuning. I chose to update actual code instead as I found it more straightforward. Fix committed now; commit beb9afcaf146 ("libgfortran: Verify the presence of all functions for POSIX 2008 locale"). > Also, this is amazing work! Thanks, appreciated, although I've been doing this kind of things for some 20 years now (and much longer when it comes to all kinds of computer programming and fiddling with microprocessors), so it's bread and butter to me really. I'd have had to switch fields by now if I used not to get such stuff right. Maciej