Date: Wed, 30 Nov 2016 21:41:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214965] Mk/Uses/fortran.mk lang/gcc: bump PORTREVISION of ports using gfortran Message-ID: <bug-214965-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214965 Bug ID: 214965 Summary: Mk/Uses/fortran.mk lang/gcc: bump PORTREVISION of ports using gfortran Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: thierry@FreeBSD.org CC: freebsd-ports-bugs@FreeBSD.org Created attachment 177558 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D177558&action= =3Dedit Example from french/aster configure After the upgrade of lang/gcc to gcc-4.9.4, and thus the upgrade of gfortra= n, all PORTREVISION of ports installing libraries built with gfortran should h= ave been bumped. Without that, packages built with the previous version and mixed with the current version abort with the following message: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc49/libgfortran.so.3 not found How to reproduce the error, e.g. with blas lapack: - compile the attached test.c with cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC test.c -c -o test.c.1.o - link it with cc -Wl,--allow-multiple-definition -Wl,-rpath=3D/usr/local/lib/gcc49 -Wl,-rpath=3D/usr/local/lib/gcc49 -L/usr/local/lib/gcc49 -B/usr/local/bin -L/usr/local/lib test.c.1.o -o testprog -Wl,-Bstatic -Wl,-Bdynamic -L/usr/local/lib -lblas -llapack -lgfortran -lm -lkvm -Xlinker -export-dyna= mic -lutil -lpthread -lz - run ./testprog /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc49/libgfortran.so.3 not found - Bump PORTREVISION of math/lapack - rebuild math/lapack and math/blas - redo the previous test =3D> no more error! --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214965-13>