From owner-freebsd-alpha@FreeBSD.ORG Mon May 24 17:25:30 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30DF816A4CE for ; Mon, 24 May 2004 17:25:30 -0700 (PDT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBCB143D1F for ; Mon, 24 May 2004 17:25:29 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 68DA63EF4; Tue, 25 May 2004 02:14:19 +0200 (CEST) Date: Tue, 25 May 2004 02:14:19 +0200 From: Simon Barner To: freebsd-alpha@freebsd.org Message-ID: <20040525001419.GB33068@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de Subject: devel/boost seems to trigger a g++ bug on alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 00:25:30 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I am the maintainer of that port, and I just received a port build error log from Kris. It seems the devel/boost port is triggering a g++ bug on alpha: While other c++ compile fine, cregex.cpp seems to cause g++ to consume all virtual memory. Could somebody with access to an alpha machine please verify this? You can enable a verbose build with the port's VERBOSE_BUILD option. The log shows that g++ is optimizing for a specific CPU. Is that the cause for the error, i.e. does it work without these optimizations? Given, that it's really a g++ bug: How should I proceed from here? File a FreeBSD PR? File a gcc bug report? Thanks in advance for your help, Simon =3D=3D=3D> Building for boost-1.31.0 Selected options: (see the Makefile for a description of available tunables) o Debugging symbols....no o Thread support.......yes o Extra optimization...no o Python support.......no [...] gcc-C++-action bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/s= hared-linkable-true/threading-multi/cpp_regex_traits.o gcc-C++-action bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/s= hared-linkable-true/threading-multi/cregex.o virtual memory exhausted: Cannot allocate memory set -e=20 c++ -O -pipe -mcpu=3Dev4 -mtune=3Dev5 -mieee -c -Wall -ftemplate-dept= h-100 -DNDEBUG -DNDEBUG -DBOOST_REGEX_DYN_LINK=3D1 -finline-functions -Wn= o-inline -fPIC -I"bin/boost/libs/regex/build" -I "/tmp/a/ports/devel/boo= st/work/boost_1_31_0" -o "bin/boost/libs/regex/build/libboost_regex.so.1/g= cc/release/shared-linkable-true/threading-multi/cregex.o" "/tmp/a/ports/de= vel/boost/work/boost_1_31_0/libs/regex/build/../src/cregex.cpp"=20 =20 =2E..failed gcc-C++-action bin/boost/libs/regex/build/libboost_regex.so.1/g= cc/release/shared-linkable-true/threading-multi/cregex.o... gcc-C++-action bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/s= hared-linkable-true/threading-multi/fileiter.o gcc-C++-action bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/s= hared-linkable-true/threading-multi/posix_api.o [...] gcc-C++-action bin/boost/libs/regex/build/libboost_regex.a/gcc/release/thre= ading-multi/cregex.o virtual memory exhausted: Cannot allocate memory set -e=20 c++ -O -pipe -mcpu=3Dev4 -mtune=3Dev5 -mieee -c -Wall -ftemplate-dept= h-100 -DNDEBUG -DNDEBUG -finline-functions -Wno-inline -I"bin/boost/lib= s/regex/build" -I "/tmp/a/ports/devel/boost/work/boost_1_31_0" -o "bin/bo= ost/libs/regex/build/libboost_regex.a/gcc/release/threading-multi/cregex.o"= "/tmp/a/ports/devel/boost/work/boost_1_31_0/libs/regex/build/../src/crege= x.cpp"=20 =20 =2E..failed gcc-C++-action bin/boost/libs/regex/build/libboost_regex.a/gcc/= release/threading-multi/cregex.o... gcc-C++-action bin/boost/libs/regex/build/libboost_regex.a/gcc/release/thre= ading-multi/fileiter.o [...] --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAso/aCkn+/eutqCoRAkbOAJ4ojkiTNU6KzKFfV11G/1VgpVfQ/ACeIkNg hWRmJjHsiYKJLqdOAfZ1JQ4= =64uR -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--