Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 07:19:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237639] lang/gcc8: libgfortran.so should be linked with libgcc_s.so
Message-ID:  <bug-237639-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237639

            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@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)
          Assignee: gerald@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=3D1
> /usr/bin/cc -fopenmp=3Dlibomp  -I/usr/local/include -L/usr/local/lib -O2 =
-pipe -fno-omit-frame-pointer  -fstack-protector -isystem /usr/local/includ=
e -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=3Dopenblas_set_num_threads  =
  CMakeFiles/cmTC_c3509.dir/CheckFunctionExists.c.o  -o cmTC_c3509 -Wl,-rpa=
th,/usr/local/lib /usr/local/lib/libopenblas.so
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__multf3@G=
CC_4.6.0'
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__subtf3@G=
CC_4.6.0'
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__unordtf2=
@GCC_4.6.0'
> //usr/local/lib/gcc8/libgfortran.so.5: undefined reference to `__netf2@GC=
C_4.6.0'

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

--=20
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-237639-7788>