devel/boost seems to trigger a g++ bug on alpha

Stephane E. Potvin sepotvin at videotron.ca
Tue May 25 20:00:49 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Barner wrote:
| 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
|
| ===>  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/shared-linkable-true/threading-multi/cpp_regex_traits.o
| gcc-C++-action
bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/shared-linkable-true/threading-multi/cregex.o
| virtual memory exhausted: Cannot allocate memory
|
|     set -e
|     c++  -O -pipe -mcpu=ev4 -mtune=ev5 -mieee  -c -Wall
- -ftemplate-depth-100  -DNDEBUG -DNDEBUG -DBOOST_REGEX_DYN_LINK=1
- -finline-functions -Wno-inline -fPIC   -I"bin/boost/libs/regex/build"
- -I "/tmp/a/ports/devel/boost/work/boost_1_31_0"  -o
"bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/shared-linkable-true/threading-multi/cregex.o"
 
"/tmp/a/ports/devel/boost/work/boost_1_31_0/libs/regex/build/../src/cregex.cpp"

|
|
| ...failed gcc-C++-action
bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/shared-linkable-true/threading-multi/cregex.o...
| gcc-C++-action
bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/shared-linkable-true/threading-multi/fileiter.o
| gcc-C++-action
bin/boost/libs/regex/build/libboost_regex.so.1/gcc/release/shared-linkable-true/threading-multi/posix_api.o
|
| [...]
|
| gcc-C++-action
bin/boost/libs/regex/build/libboost_regex.a/gcc/release/threading-multi/cregex.o
| virtual memory exhausted: Cannot allocate memory
|
|     set -e
|     c++  -O -pipe -mcpu=ev4 -mtune=ev5 -mieee  -c -Wall
- -ftemplate-depth-100  -DNDEBUG -DNDEBUG  -finline-functions -Wno-inline
   -I"bin/boost/libs/regex/build"  -I
"/tmp/a/ports/devel/boost/work/boost_1_31_0"  -o
"bin/boost/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/cregex.cpp"

|
|
| ...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/threading-multi/fileiter.o
|
| [...]

I'm unable to reproduce the error on my DS10 using an unmodified (cpu
wise) /etc/make.conf

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAtAgamdOXtTCX/nsRAn5fAKCRFYNtAbdZcy3OgvBIRWFhjKx3BgCgzTRj
R/8qt1y0PWPm9XtoKmtBnfw=
=9rJE
-----END PGP SIGNATURE-----


More information about the freebsd-alpha mailing list