[Bug 237639] lang/gcc8: libgfortran.so should be linked with libgcc_s.so

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 29 07:19:24 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237639

            Bug ID: 237639
           Summary: lang/gcc8: libgfortran.so should be linked with
                    libgcc_s.so
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: yuri at freebsd.org
             Flags: maintainer-feedback?(gerald at FreeBSD.org)
          Assignee: gerald at FreeBSD.org

cmake searching for some functions sometimes fails like this:

> /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c3509.dir/link.txt --verbose=1
> /usr/bin/cc -fopenmp=libomp  -I/usr/local/include -L/usr/local/lib -O2 -pipe -fno-omit-frame-pointer  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=openblas_set_num_threads    CMakeFiles/cmTC_c3509.dir/CheckFunctionExists.c.o  -o cmTC_c3509 -Wl,-rpath,/usr/local/lib /usr/local/lib/libopenblas.so
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__multf3 at GCC_4.6.0'
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__subtf3 at GCC_4.6.0'
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__unordtf2 at GCC_4.6.0'
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__netf2 at GCC_4.6.0'

This is because /usr/local/lib/gcc8/libgfortran.so should be linked with
/usr/local/lib/gcc8/libgcc_s.so

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list