Re: numpy failure on netbsd-9, rintl

2023-11-16 Thread Greg Troxel
It looks like this is more ok than I thought. I don't find anything different from 10 to current. Looking at 9 to current and pruning diff noise, there are a number of additional aliases in 10. It seems that there are two strategies for this.Can we pick one and document it? It seems like t

Re: numpy failure on netbsd-9, rintl

2023-11-16 Thread Greg Troxel
I extracted defined symbols ending in l from libm.so. Diffing from netbsd-9 amd64 to netbsd-9 earmv7hf-el -__ieee754_sqrtl +_fmal +_frexpl +_rintl -fabsl -nearbyintl -nexttowardl I suspect the + is my local changes and strong vs weak aliases.

Re: numpy failure on netbsd-9, rintl

2023-11-16 Thread Martin Husemann
On Thu, Nov 16, 2023 at 09:03:22AM -0500, Greg Troxel wrote: > +#ifndef __HAVE_LONG_DOUBLE > +__strong_alias(_frexpl, frexp) > +__weak_alias(frexpl, _frexpl) > +#endif That is exactly the right thing to do (and we have added such aliases to several functions already, but not done a systematic swee

numpy failure on netbsd-9, rintl

2023-11-16 Thread Greg Troxel
As background, I am using numpy, not really intentionally, but because homeassistant depends on it indirectly, as does gpsd via py-matplotlib. I have a RPI3, netbsd-9, and pkgsrc 2023Q3. Importing numpy results in the following error (full output at end): ImportError: /usr/pkg/lib/python3.11