On Thursday, 3 April 2025 at 22:13:51 UTC, thinkunix wrote:
I ask because I have been building DMD from source for a while now and this last upgrade failed to build on my customized Linux system. DMD and phobos appeared to build OK, but dustmite from the "tools" tarball
requires Linux kernel 3.17 and glibc 2.25 for getrandom(2).

Just received

   libphobos2.so: undefined reference to `getrandom@GLIBC_2.25'

when trying to produce a dynamically linked executable

   $ dmd -L-lphobos2 test

with

```
void main ()
{
}
```

Linking statically

   $ dmd test

works. I am using the dmd.2.111.0.linux.tar.xz for OpenSUSE. This is a
regression from the previous dmd.2.110.0.linux.tar.xz.

Reply via email to