Hi,
I tested gsl-2.7.101 on several machines, I got an error during `make
check' on Mac (see below).
1) Debian 11.9, gcc 10.2.1, glibc 2.31-13. All OK.
2) Ubuntu 20.04 and Ubuntu 22.04: Warnings from `make check' (seems
harmless).
3) MacOS Sonoma 14.2, gcc 13.2, glibc 2.78.3.
Error during `make check'.
I've attached the files with configurations as filenames. Let me know if
more info is needed.
Best,
Christian
Am 15.05.24 um 05:42 schrieb Patrick Alken:
Thank you all again for your reports. I have (I think) fixed all the
compiler warnings related to filter/movstat, as well as the fabs
issues. I would greatly appreciate it if you could do another round of
testing on this file:
ftp://alpha.gnu.org/gnu/gsl/gsl-2.7.101.tar.gz
Thanks,
Patrick
On 5/12/24 13:34, Patrick Alken wrote:
[External email - use caution]
All, thank you for your testing reports. I believe I have addressed all
the compiler warnings and other issues raised. I have uploaded a new
test release here:
ftp://alpha.gnu.org/gnu/gsl/gsl-2.7.100.tar.gz
I would greatly appreciate if everyone can run the tests again:
./configure && make && make check
Thanks,
Patrick
On 5/10/24 16:04, Patrick Alken wrote:
[External email - use caution]
Dear all,
It is time to make a new GSL release. I have uploaded a test release
to:
ftp://alpha.gnu.org/gnu/gsl/gsl-2.7.99.tar.gz
ftp://alpha.gnu.org/gnu/gsl/gsl-2.7.99.tar.gz.sig
All reports are welcome - anyone who can test on various platforms
would
be appreciated (Linux, BSD, Mac OS, Windows).
Please try testing the build:
./configure && make && make check
If you wish you can test building the documentation, but you will need
to install the python-based sphinx software first:
1. pip install -U --user Sphinx
2. pip install -U --user sphinx_rtd_theme
(the --user flag will install in your home directory rather than
system-wide)
3. cd doc ; make html
Please report any successes/failures.
Thanks,
Patrick
In file included from test.c:33:
test_fdf.c: In function ‘test_fdf.constprop’:
test_fdf.c:308:25: warning: ‘/weighted’ directive writing 9 bytes into a region
of size between 1 and 2048 [-Wformat-overflow=]
308 | sprintf(sname, "%s/weighted", buf);
| ^~~~~~~~~
In file included from /usr/include/stdio.h:867,
from ../gsl/gsl_errno.h:23,
from ../gsl/gsl_vector_complex_long_double.h:25,
from ../gsl/gsl_vector.h:4,
from ../gsl/gsl_multifit_nlinear.h:27,
from test.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 10 and 2057 bytes into a destination
of size 2048
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from test.c:33:
test_fdf.c: In function ‘test_fdf.constprop’:
test_fdf.c:311:25: warning: ‘/weighted’ directive writing 9 bytes into a region
of size between 1 and 2048 [-Wformat-overflow=]
311 | sprintf(sname, "%s/weighted", buf);
| ^~~~~~~~~
In file included from /usr/include/stdio.h:867,
from ../gsl/gsl_errno.h:23,
from ../gsl/gsl_vector_complex_long_double.h:25,
from ../gsl/gsl_vector.h:4,
from ../gsl/gsl_multilarge_nlinear.h:26,
from test.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 10 and 2057 bytes into a destination
of size 2048
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dwt.c: In function ‘main’:
dwt.c:26:7: warning: ignoring return value of ‘fscanf’, declared with attribute
warn_unused_result [-Wunused-result]
26 | fscanf (f, "%lg", &orig_data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from test.c:33:
test_fdf.c: In function ‘test_fdf.constprop’:
test_fdf.c:311:25: warning: ‘/weighted’ directive writing 9 bytes into a region
of size between 1 and 2048 [-Wformat-overflow=]
311 | sprintf(sname, "%s/weighted", buf);
| ^~~~~~~~~
In file included from /usr/include/stdio.h:894,
from ../gsl/gsl_errno.h:23,
from ../gsl/gsl_vector_complex_long_double.h:25,
from ../gsl/gsl_vector.h:4,
from ../gsl/gsl_multilarge_nlinear.h:26,
from test.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note:
‘__builtin___sprintf_chk’ output between 10 and 2057 bytes into a destination
of size 2048
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
dwt.c: In function ‘main’:
dwt.c:26:7: warning: ignoring return value of ‘fscanf’ declared with attribute
warn_unused_result’ [-Wunused-result]
26 | fscanf (f, "%lg", &orig_data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Making check in blas
make[1]: Nothing to be done for `check'.
Making check in linalg
/Library/Developer/CommandLineTools/usr/bin/make test
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT test.o -MD -MP -MF
.deps/test.Tpo -c -o test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o test test.o
libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la
../permutation/libgslpermutation.la ../matrix/libgslmatrix.la
../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la
../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la
../sys/libgslsys.la ../utils/libutils.la ../rng/libgslrng.la -lm
libtool: link: gcc -g -O2 -o .libs/test test.o ./.libs/libgsllinalg.a
../blas/.libs/libgslblas.a ../cblas/.libs/libgslcblas.dylib
../permutation/.libs/libgslpermutation.a ../matrix/.libs/libgslmatrix.a
../vector/.libs/libgslvector.a ../block/.libs/libgslblock.a
../complex/.libs/libgslcomplex.a ../ieee-utils/.libs/libgslieeeutils.a
../err/.libs/libgslerr.a ../test/.libs/libgsltest.a ../sys/.libs/libgslsys.a
../utils/.libs/libutils.a ../rng/.libs/libgslrng.a -lm
/Library/Developer/CommandLineTools/usr/bin/make check-TESTS
FAIL: test
============================================================================
Testsuite summary for gsl 2.7.101
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See linalg/test-suite.log
============================================================================
make[3]: *** [test-suite.log] Error 1
make[2]: *** [check-TESTS] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
========================================
gsl 2.7.101: linalg/test-suite.log
========================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test
==========
( 5, 3)[2,1]: 0.00349227666295463118 0.00349227666295552934
FAIL: QR_update m(5,3) [22533626]
FAIL: QR Rank-1 Update [22533635]