Re: False positive in skalibs system feature test

From: Dewayne Geraghty <dewayne.geraghty_at_heuristicsystems.com.au>
Date: Thu, 24 Oct 2019 13:20:17 +1100

Thankyou Laurent.

So cat /usr/ports/devel/skalibs/work/skalibs-2.9.1.0/sysdeps.cfg/sysdeps
reveals
getrandom: yes

Now adding --with-sysdep-getrandom=no to the configure line, we get from:
/usr/ports/devel/skalibs/work/skalibs-2.9.1.0/sysdeps.cfg/sysdeps
getrandom: no

and we obtained a 211K stripped image libskarnet.so.2.9.1.0

This on FreeBSD 12.1 using clang 8.0.1 and ld 2.32 (note not the default
lld). I hope that helps?

However there were some (common) warning messages:
> src/libstddjb/child_spawn1_internal.c:35:23: warning: & has lower
precedence than !=; != will be evaluated first [-Wparentheses]
> if (p[to & 1] != to & 1)
> ~~~~~~~~~~~~~~~~^
> src/libstddjb/child_spawn1_internal.c:35:23: note: place parentheses
around the '!=' expression to silence this warning
> if (p[to & 1] != to & 1)
> ^
> ( )
> src/libstddjb/child_spawn1_internal.c:35:23: note: place parentheses
around the & expression to evaluate it first
> if (p[to & 1] != to & 1)
> ^
> ( )
> 1 warning generated.
Received on Thu Oct 24 2019 - 02:20:17 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC