Date: Thu, 26 Sep 2019 18:20:48 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: thierry@freebsd.org Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r512582 - head/math/suitesparse Message-ID: <muer-rpun-wny@FreeBSD.org> In-Reply-To: <20190926115734.Horde.3z0badEkm0V_qVN8AvNa2Gl@graf.pompo.net> (thierry@freebsd.org's message of "Thu, 26 Sep 2019 11:57:34 %2B0200") References: <201909221249.x8MCnoxJ014032@repo.freebsd.org> <tv91-693k-wny@FreeBSD.org> <20190924155630.GD56546@graf.pompo.net> <1rw5-4qdl-wny@FreeBSD.org> <20190924181843.GD59717@graf.pompo.net> <1rw5-bboi-wny@FreeBSD.org> <20190926115734.Horde.3z0badEkm0V_qVN8AvNa2Gl@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
thierry@freebsd.org writes: > Selon Jan Beich <jbeich@freebsd.org> le mar. 24 sept. 23:56:45 2019 : > >>>> > Is there a way to request a compiler < C++11 and require openmp when not >>>> > in base? >> >> Why? math/suitesparse has USES=compiler:c++0x which pulls >> lang/gcc${GCC_DEFAULT} >> on architectures like powerpc* (ELFv1)and sparc64. mips* and riscv* are out >> of luck atm due to not supporting either Clang or lang/gcc*. > > Please see PR 240672: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240672 Did the reporter forget to rebuild lang/gcc9 ? I can't reproduce. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51785 and http://beefy12.nyi.freebsd.org/data/latest-per-pkg/gcc9/9.2.0/head-amd64-default.log $ make clean all BATCH= -C ${PORTSDIR:-/usr/ports}/lang/gcc9 2>&1 | fgrep -w gets checking for gets declaration... no $ pkg install gcc9 gcc8 gcc7 gcc6 gcc5 gcc48 $ fgrep -rl '#define _GLIBCXX_HAVE_GETS' /usr/local/lib/gcc* $ echo '#include <cstdio>' | g++9 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include <cstdio>' | g++8 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include <cstdio>' | g++7 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include <cstdio>' | g++6 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include <cstdio>' | g++5 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include <cstdio>' | g++48 -std=gnu++98 -xc++ -c - -o/dev/null When -CURRENT bumps __FreeBSD_version it forces rebuild of all packages. If gcc* binary packages were broken it was only for a short time. https://svnweb.freebsd.org/changeset/base/351659 # removal https://svnweb.freebsd.org/changeset/base/351660 # gcc42 fix https://svnweb.freebsd.org/changeset/base/351698 # bump In short, reverting both r512392 and r512582 appears to help: https://reviews.freebsd.org/P320 # suitesparse https://reviews.freebsd.org/P321 # ceres-solver https://reviews.freebsd.org/P322 # databases/grass7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?muer-rpun-wny>