From owner-svn-ports-head@freebsd.org Thu Sep 26 16:20:52 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 17C7712C390; Thu, 26 Sep 2019 16:20:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46fKsv6wVdz4TXS; Thu, 26 Sep 2019 16:20:51 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id CC76479A9; Thu, 26 Sep 2019 16:20:51 +0000 (UTC) From: Jan Beich 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 References: <201909221249.x8MCnoxJ014032@repo.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> Date: Thu, 26 Sep 2019 18:20:48 +0200 In-Reply-To: <20190926115734.Horde.3z0badEkm0V_qVN8AvNa2Gl@graf.pompo.net> (thierry@freebsd.org's message of "Thu, 26 Sep 2019 11:57:34 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2019 16:20:52 -0000 thierry@freebsd.org writes: > Selon Jan Beich 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 ' | g++9 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include ' | g++8 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include ' | g++7 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include ' | g++6 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include ' | g++5 -std=gnu++98 -xc++ -c - -o/dev/null $ echo '#include ' | 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