Hi Bernd, Thanks for finding that!
The reason I added -lbsd-compat is that it should be linked when -D_BSD_SOURCE is defined, which has been true in the library for a long time. See the GNU libc recommendations here here: http://www.gnu.org/s/hello/manual/libc/Feature-Test-Macros.html I do not know if we use any features from 4.3 BSD that conflict with the POSIX 1 standard (the purpose of the symbol is to resolve the conflicts in favor of BSD), though I doubt that we do. If one goes, the other should go as well. If we are going to yank -D_BSD_SOURCE and -lbsd-compat this for the release, I can test this on the BSD VMs tonight. Those would be the most likely systems to have issues. Cheers, Dana On Mon, Oct 31, 2011 at 4:58 AM, Bernd Rinn <[email protected]> wrote: > Hi Mike, > > I'd like to report a regression of 1.8.8-pre1 (compared to 1.8.7) on > Linux i386 with GCC 4.6.2. I get the following test failure (excerpt): > > """ > ============================ > Testing big > ============================ > big Test Log > ============================ > Testing big file with the Family Driver > Checking if file system is adequate for this test... > Testing Huge dataset write > PASSED > #000 0x0000002416144964nknownx > HDF5-DIAG: Error detected in HDF5 (1.8.8-snap1) thread 0: > #000: H5Dio.c line 153 in H5Dread(): selection+offset not within extent > major: Dataspace > minor: Out of range > *FAILED* > at big.c:523 in reader()... > HDF5-DIAG: Error detected in HDF5 (1.8.8-snap1) thread 0: > #000: H5Dio.c line 153 in H5Dread(): selection+offset not within extent > major: Dataspace > minor: Out of range > *** TEST FAILED *** > """ > > I tracked down the test failure is happend due to adding "-lbsd-compat" > in r20898 and can be fixed by applying the patch attached (which reverts > one line from r20898). > > I need to note that I'm using a special build setup: > > The build machine is CentOS 4.6 and I have bootstrapped GCC 4.6.2 > myself. The regression does not occur when using a bootstrapped GCC > 4.2.4 instead of GCC 4.6.2. Unfortunately I have no distribution handy > that ships with GCC 4.6 as the system compiler (like openSUSE 12.1 > will). It is entirely possible that the issue I am reporting is specific > to the combo RHEL4/GCC4.6. > > Best regards, > > Bernd > > On 11-10-27 17:46, Mike McGreevy wrote: >> Hi all, >> >> A pre-release candidate version of HDF5 1.8.8 is available for testing >> and can be downloaded at the following link: >> >> http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/hdf5-1.8.8-pre1/ >> >> If you have some time to test this, we would greatly appreciate it. >> While we test on a wide variety of platforms, there are many systems and >> setups that we are unable to test on, and feedback from the user >> community is quite welcome. >> >> Of particular interest in this maintenance release is the introduction >> of several additions to the Fortran interface: >> >> -- Fortran wrappers for the Dimension Scales APIs were added. See >> http://www.hdfgroup.org/HDF5/doc_test/H51.8docs/HL/RM_H5DS.html for >> the subroutines signatures. >> >> -- Fortran interface was enhanced to support the Fortran 2003 >> standard. The release provides a wider set of Fortran and >> HDF5 datatypes such as >> - any kind of INTEGER or REAL >> - Fortran derived types >> - Fortran and HDF5 enumeration >> - HDF5 variable-length datatypes >> - HDF5 compound datatypes of any complexity >> >> It also contains new subroutines corresponding to the C functions >> with the callback functions as parameters. For general overview and >> information >> on how to enable these new features please see "New Features in the >> HDF5 Fortran Library: Adding support for the Fortran 2003 standard" >> paper posted >> at >> http://www.hdfgroup.org/HDF5/doc_test/H51.8docs/fortran/index.html. You >> may download HDF5 Fortran 2003 examples (names have F03 suffix) from >> >> http://www.hdfgroup.org/ftp/HDF5/examples/examples-by-api/api18-fortran.html >> >> >> We would appreciate feedback from the community on these additions. >> >> Please note that while the release notes contained in the pre-release >> are reflective of the new features and bug fixes present in this >> release, the platforms tested and tested configurations sections still >> need to be updated with our current testing configurations and are not >> reflective of this pre-release candidate at this time. >> >> We plan to release HDF5 1.8.8 mid-November barring the discovery of any >> critical issues. >> >> Thank you! >> >> The HDF Group >> >> _______________________________________________ >> Hdf-forum is for HDF software users discussion. >> [email protected] >> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org > > _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
