[Bug 200590] science/hdf5: with FORTRAN option failed to build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 2 10:05:40 UTC 2015
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 at FreeBSD.org
Reporter: fmysh at iijmio-mail.jp
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Assignee: sunpoet at 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 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__floatunditf at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__subtf3 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__multf3 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__unordtf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to `__lttf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__addtf3 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to `__gttf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__divtf3 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to `__letf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to `__netf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__floatditf at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__trunctfdf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to `__eqtf2 at GCC_4.6.0'
/usr/local/lib/gcc48/libgfortran.so: undefined reference to
`__floatsitf at 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.
More information about the freebsd-ports-bugs
mailing list