On 06.06.2012 22:10, [email protected] wrote:
> Ah yes, this problem sounded familiar, you can look at the
> discussion/resolution at:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48404
> 
> Scot

I'm being told that's expected behaviour, i.e. taking latest possible
gcc libs for runtime. Could we work it around by linking libgfortran
statically? This simple patch fixes it for me:


--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -181,6 +181,7 @@
 else
   H5test_kind_SOURCES = $(srcdir)/H5test_kind.f90
 endif
+H5test_kind_LDFLAGS=-static-libgfortran

 # Mark this directory as part of the Fortran API
 FORTRAN_API=yes

Cheers,
Kacper

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to