Open mayd opened 1 week ago
After a little investigation I found that this error is possibly related to GCC version 10 linker option -fno-common being set to TRUE by default: it was set to FALSE in earlier versions of GCC. I learned the the R Project for Statistical Computing has created its own refactored version of dieharder
to work around this issue. And I noticed that the original dieharder
project (for Linux) has not been updated for several years. So I am not optimistic this issue is going to be fixed.
However, this turned out to be simple to fix. So I created a pull request. if anyone is interested: https://github.com/rurban/dieharder/pull/16.
I tried compiling the source code from here https://github.com/rurban/dieharder/releases/tag/3.31.2.111. but there were several problems.
According the the instructions in INSTALL the build should require configure && make. However, there was no configure script. I ran autogen.sh and it created a configure script.
Configure ran without error.
Make compiled libdieharder object files with a few warnings but failed to create the library due to many undefined references:
Unfortunately, I am not very knowledgeable about Autoconf but it seems many of the undefined variables are defined in
dieharder/set_globals.c
rather than in libdieharder source files.