Closed XiangyunHuang closed 3 years ago
Can you please try version 0.2.2 which just got to CRAN this morning. I rebuilt that one numerous times this weekend and would have fixed this had I seen it, but then I am also using gcc
and not clang
so it may differ....
In fact, I already use version 0.2.2, but strangely show that
RDieHarder 0.2.1
================
There is another strange thing when I change clang
to gcc
, warning won't be gone.
install.packages('RDieHarder')
Package which is only available in source form, and may need
compilation of C/C++/Fortran: ‘RDieHarder’
Do you want to attempt to install these from sources? (Yes/no/cancel) y
installing the source package ‘RDieHarder’
trying URL 'https://cran.rstudio.com/src/contrib/RDieHarder_0.2.2.tar.gz'
Content type 'application/x-gzip' length 559098 bytes (545 KB)
==================================================
downloaded 545 KB
* installing *source* package ‘RDieHarder’ ...
** package ‘RDieHarder’ successfully unpacked and MD5 sums checked
** using staged installation
checking endianness... little
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gsl-config... /usr/local/bin/gsl-config
configure: creating ./config.status
config.status: creating src/Makevars
configure: creating ./config.status
config.status: creating src/Makevars
RDieHarder 0.2.1
================
compiler flags: -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include
link argument: -L/usr/local/Cellar/gsl/2.7/lib -lgsl -lgslcblas
build dieharder:
** libs
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/bits.c -o libdieharder/bits.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/chisq.c -o libdieharder/chisq.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/countx.c -o libdieharder/countx.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_birthdays1.c -o libdieharder/dab_birthdays1.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_bytedistrib.c -o libdieharder/dab_bytedistrib.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_dct.c -o libdieharder/dab_dct.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_filltree.c -o libdieharder/dab_filltree.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_filltree2.c -o libdieharder/dab_filltree2.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_monobit2.c -o libdieharder/dab_monobit2.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dab_opso2.c -o libdieharder/dab_opso2.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_2dsphere.c -o libdieharder/diehard_2dsphere.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_3dsphere.c -o libdieharder/diehard_3dsphere.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_birthdays.c -o libdieharder/diehard_birthdays.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_bitstream.c -o libdieharder/diehard_bitstream.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_count_1s_byte.c -o libdieharder/diehard_count_1s_byte.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_count_1s_stream.c -o libdieharder/diehard_count_1s_stream.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_craps.c -o libdieharder/diehard_craps.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_dna.c -o libdieharder/diehard_dna.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_operm5.c -o libdieharder/diehard_operm5.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_opso.c -o libdieharder/diehard_opso.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_oqso.c -o libdieharder/diehard_oqso.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_parking_lot.c -o libdieharder/diehard_parking_lot.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_rank_32x32.c -o libdieharder/diehard_rank_32x32.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_rank_6x8.c -o libdieharder/diehard_rank_6x8.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_runs.c -o libdieharder/diehard_runs.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_squeeze.c -o libdieharder/diehard_squeeze.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/diehard_sums.c -o libdieharder/diehard_sums.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dieharder_rng_types.c -o libdieharder/dieharder_rng_types.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/dieharder_test_types.c -o libdieharder/dieharder_test_types.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/histogram.c -o libdieharder/histogram.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/kstest.c -o libdieharder/kstest.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/marsaglia_tsang_gcd.c -o libdieharder/marsaglia_tsang_gcd.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/marsaglia_tsang_gorilla.c -o libdieharder/marsaglia_tsang_gorilla.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/parse.c -o libdieharder/parse.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/prob.c -o libdieharder/prob.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/random_seed.c -o libdieharder/random_seed.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rank.c -o libdieharder/rank.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_bitdist.c -o libdieharder/rgb_bitdist.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_kstest_test.c -o libdieharder/rgb_kstest_test.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_lagged_sums.c -o libdieharder/rgb_lagged_sums.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_minimum_distance.c -o libdieharder/rgb_minimum_distance.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_permutations.c -o libdieharder/rgb_permutations.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_persist.c -o libdieharder/rgb_persist.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rgb_timing.c -o libdieharder/rgb_timing.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rngav.c -o libdieharder/rngav.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_aes.c -o libdieharder/rng_aes.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rijndael-alg-fst.c -o libdieharder/rijndael-alg-fst.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_ca.c -o libdieharder/rng_ca.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_dev_random.c -o libdieharder/rng_dev_random.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_dev_arandom.c -o libdieharder/rng_dev_arandom.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_dev_urandom.c -o libdieharder/rng_dev_urandom.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_file_input.c -o libdieharder/rng_file_input.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_file_input_raw.c -o libdieharder/rng_file_input_raw.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rngs_gnu_r.c -o libdieharder/rngs_gnu_r.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_kiss.c -o libdieharder/rng_kiss.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_superkiss.c -o libdieharder/rng_superkiss.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_stdin_input_raw.c -o libdieharder/rng_stdin_input_raw.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_threefish.c -o libdieharder/rng_threefish.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_uvag.c -o libdieharder/rng_uvag.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/rng_XOR.c -o libdieharder/rng_XOR.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/sample.c -o libdieharder/sample.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/skein_block64.c -o libdieharder/skein_block64.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/skein_block_ref.c -o libdieharder/skein_block_ref.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/std_test.c -o libdieharder/std_test.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/sts_monobit.c -o libdieharder/sts_monobit.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/sts_runs.c -o libdieharder/sts_runs.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/sts_serial.c -o libdieharder/sts_serial.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/timing.c -o libdieharder/timing.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/Vtest.c -o libdieharder/Vtest.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/version.c -o libdieharder/version.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c libdieharder/Xtest.c -o libdieharder/Xtest.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c add_ui_rngs.c -o add_ui_rngs.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c choose_rng.c -o choose_rng.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c dieharder.c -o dieharder.o
dieharder.c:155:2: warning: variable 'j' is uninitialized when used here
[-Wuninitialized]
j++;
^
dieharder.c:139:21: note: initialize the variable 'j' to silence this warning
unsigned int i,j;
^
= 0
1 warning generated.
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c dieharder_exit.c -o dieharder_exit.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c globals.c -o globals.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c help.c -o help.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c init.c -o init.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c list_rand.c -o list_rand.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c list_rngs.c -o list_rngs.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c list_tests.c -o list_tests.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c output.c -o output.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c output_rnds.c -o output_rnds.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c parsecl.c -o parsecl.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c rng_empty_random.c -o rng_empty_random.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c run_all_tests.c -o run_all_tests.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c run_test.c -o run_test.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c startup.c -o startup.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c time_rng.c -o time_rng.o
gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/local/include -Ilibdieharder -I. -DRDIEHARDER -I/usr/local/Cellar/gsl/2.7/include -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -fPIC -Wall -g -O2 -c user_template.c -o user_template.o
gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o RDieHarder.so libdieharder/bits.o libdieharder/chisq.o libdieharder/countx.o libdieharder/dab_birthdays1.o libdieharder/dab_bytedistrib.o libdieharder/dab_dct.o libdieharder/dab_filltree.o libdieharder/dab_filltree2.o libdieharder/dab_monobit2.o libdieharder/dab_opso2.o libdieharder/diehard_2dsphere.o libdieharder/diehard_3dsphere.o libdieharder/diehard_birthdays.o libdieharder/diehard_bitstream.o libdieharder/diehard_count_1s_byte.o libdieharder/diehard_count_1s_stream.o libdieharder/diehard_craps.o libdieharder/diehard_dna.o libdieharder/diehard_operm5.o libdieharder/diehard_opso.o libdieharder/diehard_oqso.o libdieharder/diehard_parking_lot.o libdieharder/diehard_rank_32x32.o libdieharder/diehard_rank_6x8.o libdieharder/diehard_runs.o libdieharder/diehard_squeeze.o libdieharder/diehard_sums.o libdieharder/dieharder_rng_types.o libdieharder/dieharder_test_types.o libdieharder/histogram.o libdieharder/kstest.o libdieharder/marsaglia_tsang_gcd.o libdieharder/marsaglia_tsang_gorilla.o libdieharder/parse.o libdieharder/prob.o libdieharder/random_seed.o libdieharder/rank.o libdieharder/rgb_bitdist.o libdieharder/rgb_kstest_test.o libdieharder/rgb_lagged_sums.o libdieharder/rgb_minimum_distance.o libdieharder/rgb_permutations.o libdieharder/rgb_persist.o libdieharder/rgb_timing.o libdieharder/rngav.o libdieharder/rng_aes.o libdieharder/rijndael-alg-fst.o libdieharder/rng_ca.o libdieharder/rng_dev_random.o libdieharder/rng_dev_arandom.o libdieharder/rng_dev_urandom.o libdieharder/rng_file_input.o libdieharder/rng_file_input_raw.o libdieharder/rngs_gnu_r.o libdieharder/rng_kiss.o libdieharder/rng_superkiss.o libdieharder/rng_stdin_input_raw.o libdieharder/rng_threefish.o libdieharder/rng_uvag.o libdieharder/rng_XOR.o libdieharder/sample.o libdieharder/skein_block64.o libdieharder/skein_block_ref.o libdieharder/std_test.o libdieharder/sts_monobit.o libdieharder/sts_runs.o libdieharder/sts_serial.o libdieharder/timing.o libdieharder/Vtest.o libdieharder/version.o libdieharder/Xtest.o add_ui_rngs.o choose_rng.o dieharder.o dieharder_exit.o globals.o help.o init.o list_rand.o list_rngs.o list_tests.o output.o output_rnds.o parsecl.o rng_empty_random.o run_all_tests.o run_test.o startup.o time_rng.o user_template.o -L/usr/local/Cellar/gsl/2.7/lib -lgsl -lgslcblas -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/4.1/Resources/library/00LOCK-RDieHarder/00new/RDieHarder/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (RDieHarder)
Here is my session info
> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.1 tools_4.1.1
Here is my Makevars
FLIBS = -L/usr/local/Cellar/gcc/11.2.0/lib/gcc/11 -lgfortran -lquadmath -lm
CC = gcc
CXX = g++
The display of 0.2.1 at the top is a minor oversight; I didn't (manually) update the version in configure.ac
.
I am a little surprised I don't see it with -O3 -Wall -pipe -pedantic
. Hm.
I can see it (and another message) when I switch to clang
(with is clang-12
on my Linux system). I'll take care of it. It is in any event ... harmless.
Try remotes::install_github("eddelbuettel/rdieharder")
now -- it should take care of these issue (and another minor one).
Thanks for the heads-up!
The warning is fixed!
There is 1 warning generated when I install RDieHarder.