This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26968] HDF5 1.7.52 test segfaults with 4.1.0, fine with 4.0.2 (regression)



------- Comment #8 from orion at cora dot nwra dot com  2006-04-03 23:21 -------
See URL for download. This is about as good as I can do.  th5s.c is adapted
from the th5h.i file that has the failing test.  It is still self-contained and
only runs the test that fails.

The rest of the HDF5 library is provided as .i files.  This thing is too
complicated for me to split out or reduce much.

Do a "make" to compile.

To see the problem:

gdb test
break H5Dio.c:2264
display fm->chunk_dim

walk through the loop and see that fm->chunk_dim does not get set.

If I compile without -fPIC the test works and fm->chunk_dim gets set.


-- 

orion at cora dot nwra dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://www.cora.nwra.com/~or
                   |                            |ion/test.tar.gz


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26968


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]