Hi all,
I have a build log on the (very fresh) Ubuntu 18.04 which has gcc 7.3.0. It builds, no worries.
There are lots of warnings on int type conversions, ‘const’ violations, etc. Anyone interested in the build log?
Hi all,
I have a build log on the (very fresh) Ubuntu 18.04 which has gcc 7.3.0. It builds, no worries.
There are lots of warnings on int type conversions, ‘const’ violations, etc. Anyone interested in the build log?
FWIW, I’ve just built it with GCC 8.1. It builds fine too, with likely even more warnings. Log: hdf5-1.10.1-3-x86_64-build.log (467.6 KB)
Yep. Same stuff and even more. So I’ll throw away my build log.
Did you run “make check”? I get :
0.13user 0.27system 0:00.87elapsed 46%CPU (0avgtext+0avgdata 28076maxresident)k
0inputs+6144outputs (0major+13540minor)pagefaults 0swaps
make[4]: *** [testhdf5.chkexe_] Error 1
Core was generated by `buildhdf/test/.libs/lt-testhdf5’.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000049418f in test_libver_bounds_super_create (fapl=720575940379279619, fcpl=720575940379279620, is_swmr=0)
at …/…/hdf5-1.10.2/test/tfile.c:5367
5367 VERIFY(low, f->shared->low_bound, “HDF5_superblock_ver_bounds”);
Missing separate debuginfos, use: debuginfo-install glibc-2.17-157.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb) bt
#0 0x000000000049418f in test_libver_bounds_super_create (fapl=720575940379279619, fcpl=720575940379279620, is_swmr=0)
at …/…/hdf5-1.10.2/test/tfile.c:5367
#1 0x00000000004934a4 in test_libver_bounds_super (fapl=720575940379279619) at …/…/hdf5-1.10.2/test/tfile.c:5213
#2 0x00000000004932f5 in test_libver_bounds_low_high () at …/…/hdf5-1.10.2/test/tfile.c:5166
#3 0x00000000004a350c in test_file () at …/…/hdf5-1.10.2/test/tfile.c:7337
#4 0x00000000005c8712 in PerformTests () at …/…/hdf5-1.10.2/test/testframe.c:319
#5 0x000000000040b20c in main (argc=1, argv=0x7fffffffdfa8) at …/…/hdf5-1.10.2/test/testhdf5.c:77
This is centos with gcc 7.3.0
I presume you mean ‘make test’ … (“No rule to make target ‘check’”).
I get:
99% tests passed, 1 tests failed out of 2563
Total Test time (real) = 840.11 sec
The following tests FAILED:
923 - H5REPACK-testh5repack_detect_szip (Failed)
Ubuntu 64 bits 18.04, gcc 7.3.0.
That is odd, I am seeing compile failures with GCC 8.1.0 here. I tried CMake first, and then the configure route. Getting errors such as:
H5detect.c:1640:1: error: expected end of line before ‘ignored’
DETECT_F(long double, LDOUBLE, d_g[nd_g]); nd_g++;
^ ~~
H5detect.c:1640:1: error: expected end of line before ‘pop’
H5detect.c:1640:1: error: expected end of line before ‘push’
H5detect.c:1640:1: error: expected end of line before ‘ignored’
H5detect.c:1640:1: error: expected end of line before ‘pop’
This is with the 1.10.2 source tarball (above comes from configure, but similar to what CMake saw). Using GCC 8.1.0 on Arch Linux.
Not odd, I also have those errors. Above I was building 1.10.1, not .2. So we have an issue here that will prevent upgrading to 1.10.2 in ArchLinux for now.
Build log: hdf5-1.10.2-x86_64-build.log (145.2 KB)
Ah, sorry I had missed the slight difference in version. We are also seeing this with the embedded version in VTK master right now, but it is possible to switch to system version.