Date: Tue, 02 Jun 2015 10:05:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200590] science/hdf5: with FORTRAN option failed to build Message-ID: <bug-200590-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200590 Bug ID: 200590 Summary: science/hdf5: with FORTRAN option failed to build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: fmysh@iijmio-mail.jp Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Created attachment 157369 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157369&action=edit patch for Makefile science/hdf5 with FORTRAN option depends on lang/gcc48 for gfortran. Build process fails trying to link with not /usr/local/lib/gcc48/libgcc_s.so.1 but /usr/lib/libgcc_s.so.1. # make (snip) Making all in fortran Making all in src FC H5test_kind_STORAGE_SIZE.o FCLD H5test_kind /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__getf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__floatunditf@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__subtf3@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__multf3@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__unordtf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__lttf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__addtf3@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__gttf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__divtf3@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__letf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__netf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__floatditf@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__trunctfdf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__eqtf2@GCC_4.6.0' /usr/local/lib/gcc48/libgfortran.so: undefined reference to `__floatsitf@GCC_4.6.0' collect2: error: ld returned 1 exit status *** [H5test_kind] Error code 1 Stop in /usr//ports/science/hdf5/work/hdf5-1.8.15/fortran/src. *** [all-recursive] Error code 1 Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15/fortran. *** [all-recursive] Error code 1 Stop in /usr/ports/science/hdf5/work/hdf5-1.8.15. *** [do-build] Error code 1 Stop in /usr/ports/science/hdf5. *** [stage] Error code 1 Stop in /usr/ports/science/hdf5. Generated Makefiles by configure have -L/usr/lib explicitly before -L/usr/local/lib/gcc48. They come from CONFIGURE_ARGS=--with-zlib=/usr. As zlib is enabled by default, This is unnecessary. Removing the argument cleared the problem. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200590-13>