Date: Tue, 16 Aug 2016 05:24:48 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211889] gfortran fails to link programs against the correct libgcc Message-ID: <bug-211889-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211889 Bug ID: 211889 Summary: gfortran fails to link programs against the correct libgcc Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: vtjnash@gmail.com sample program: ``` $ cat hello.f program hello print *, "Hello World!" end program hello $ gfortran6 hello.f $ ./a.out /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc6/libgfortran.so.3 ``` With the `-Wl,-rpath,/usr/local/lib/gcc6` flag recommended by `pkg install = gcc` it does run successfully. But it seems that a compiler should be able to li= nk itself (e.g. I haven't had the problem before with other non-default compil= ers on other systems)? (noticed because ./configure in arpack immediately failed with the above er= ror) (tested with FreeBSD 11.0-rc1, downloaded as a VM image) --=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-211889-13>