Even when built a statically linked libdieharder, I still get bogus results
(using yesterday's HEAD):
$ ldd dieharder/dieharder
linux-vdso.so.1 (0x00007ffe9b548000)
libgsl.so.27 => /lib/x86_64-linux-gnu/libgsl.so.27 (0x00007f28f3c00000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f28f3b21000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f28f393f000)
libgslcblas.so.0 => /lib/x86_64-linux-gnu/libgslcblas.so.0
(0x00007f28f3ef2000)
/lib64/ld-linux-x86-64.so.2 (0x00007f28f4007000)
$ ./dieharder/dieharder -d 209 -n 17 -p 1
#=============================================================================#
#            dieharder version 3.31.1 Copyright 2003 Robert G. Brown
   #
#=============================================================================#
   rng_name    |rands/second|   Seed   |
        mt19937|  8.76e+07  | 422973324|
#=============================================================================#
        test_name   |ntup| tsamples |psamples|  p-value |Assessment
#=============================================================================#
        dab_monobit2|  17|  65000000|       1|0.00000000|  FAILED
$ ./dieharder/dieharder -d 209 -n 20 -p 1
Segmentation fault

On Sat, Apr 6, 2024 at 10:23 AM Milan Broz <gmazyl...@gmail.com> wrote:

> On 4/6/24 4:33 PM, Lucas Thode wrote:
> ...
> > $ ./dieharder/dieharder -d 209 -n 17 -p 1
> >
> #=============================================================================#
> > #            dieharder version 3.31.1 Copyright 2003 Robert G. Brown
>      #
> >
> #=============================================================================#
> >     rng_name    |rands/second|   Seed   |
> >          mt19937|  1.75e+08  |2063877943|
> >
> #=============================================================================#
> >          test_name   |ntup| tsamples |psamples|  p-value |Assessment
> >
> #=============================================================================#
> >          dab_monobit2|  17|  65000000|       1|1.00000000|  FAILED
>
> This should not be possible.
>
> Are you sure you run the patched version with patched libdieharder (and
> not one from system)?
> You can avoid it by "./configure --disable-shared" to force static link.
>
> This is what I get from current code
> (https://github.com/eddelbuettel/dieharder):
>
> ./dieharder/dieharder -d 209 -n 17 -p 1
> Error:  Can only use ntup up to 15.
>          Read test description with dieharder -d 209 -h.
>
> Milan
>

Reply via email to