Re: False positive in skalibs system feature test

From: Dewayne Geraghty <dewayne.geraghty_at_heuristicsystems.com.au>
Date: Thu, 24 Oct 2019 11:12:32 +1100

While building skalibs-2.9.1.0, I notice that the getrandom option isn't
available on FreeBSD 12.1 Stable. What I have from ./configure --help is:

"...
Sysdeps autodetection override:
  --with-sysdep-K=V assume sysdep K has the value V
[autodetected]
List of mandatory K for cross-compiling: devurandom (V=yes|no)
"

To your question Laurent about what other (non-Linux) people use, as FYI
normal FreeBSD people (on FreeBSD 12.1Stable) use
for cc, clang 8.0.1
# ld -v
LLD 8.0.1 ; an LLVM-based linker

For dev/testing I also use gcc 9.2.0 and ld (GNU Binutils) 2.32 as needed.

On HardenedBSD which uses LLVM tooling, there are additional flags like
-fPIC -fPIE and for linking -pie -z relro -z now; and optional settings
for CFI but that's becoming esoteric. ;)

Cheers, Dewayne.
Received on Thu Oct 24 2019 - 00:12:32 UTC

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