Re: False positive in skalibs system feature test

2019-10-25 Thread Guillermo
El vie., 25 oct. 2019 a las 17:01, Jens Rehsack escribió: > > > [...] > > configure:2634: result: no > > > > As you can see, only the equivalent of a skarnet.org 'choose cl' is used > > here. > > Wasn't that clear enough when I told that weeks before? > For any typical library function, that is en

Re: False positive in skalibs system feature test

2019-10-25 Thread Jens Rehsack
> Am 25.10.2019 um 21:35 schrieb Guillermo : > > El vie., 25 oct. 2019 a las 14:30, Shengjing Zhu escribió: >> >> Not familiar with autoconf, but I found the following snippet in autoconf >> code. >> >> https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4?h=v2.69#n179 >> >>

Re: False positive in skalibs system feature test

2019-10-25 Thread Guillermo
El vie., 25 oct. 2019 a las 14:30, Shengjing Zhu escribió: > > Not familiar with autoconf, but I found the following snippet in autoconf > code. > > https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4?h=v2.69#n179 > > ``` > #if defined __stub_$1 || defined __stub___$1 > choke me

Re: False positive in skalibs system feature test

2019-10-25 Thread Laurent Bercot
Not familiar with autoconf, but I found the following snippet in autoconf code. https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4?h=v2.69#n179 ``` #if defined __stub_$1 || defined __stub___$1 choke me #endif ``` I checked on GNU Hurd, __stub_getrandom is defined. Good fin

Re: False positive in skalibs system feature test

2019-10-25 Thread Shengjing Zhu
On Fri, Oct 25, 2019 at 5:48 AM Laurent Bercot wrote: > Could anyone please: > * investigate how autoconf deals with it? Not familiar with autoconf, but I found the following snippet in autoconf code. https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/c.m4?h=v2.69#n179 ``` #if

Re: cross-compile skalibs

2019-10-25 Thread Jens Rehsack
> Am 21.09.2019 um 00:22 schrieb Laurent Bercot : > >> What I *can* do, though, is change the skalibs build system so that >> on cross-compilation, you only need to provide the few sysdeps that >> cannot be probed at all. > > I spent today on this, and managed to bring down the necessary amount

Re: cross-compile skalibs

2019-10-25 Thread Jens Rehsack
> Am 18.09.2019 um 09:50 schrieb Laurent Bercot : > > >>> It's a difference whether you have to run the entire configure stage >>> for a new target on the target first or know maybe platform, cpu, >>> library or kernel issues before and can "cache" these ;) > > You mean... like adding specific

Re: False positive in skalibs system feature test

2019-10-25 Thread Jens Rehsack
> Am 24.10.2019 um 23:41 schrieb Laurent Bercot : > > > Excellent analysis, as always. :) Thank you. > > >> * If GNU libc is used, a 'choose cl' test is unreliable. >> * GNU/Hurd and GNU/k*BSD would be 'getrandom: no' OSes, at least until >> the libc is updated to make a system call on GNU/kF