Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam from 1.49.0 aborts on 100k targets project without message on AIX/gcc-4.6
From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2012-03-16 15:47:39


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

Hi!

Am 15.03.12 20:44, schrieb Hubert Tong:
> It it is a out-of-memory condition, on AIX, you may want to
> investigate the maxdata linker option: e.g., apply
> -bmaxdata:0xAFFFFFFF/dsa to the link step of your bjam build

Oh, yes, I haven't applied this when building the bjam executable. I
did now. And I now built bjam as a 64bit executable:

export LDR_CNTRL=MAXDATA=0xA0000000_at_dsa
export OBJECT_MODE=64
export CFLAGS="-maix64"
export CC="gcc"
./build.sh cc

I figured the project has some 91k targets and 3.2k being built at once.

From: Steven Watanabe <watanabesj_at_[hidden]>
> It's most likely running out of memory. Can you try using trunk
> Boost.Build/bjam? There are several optimizations that reduce
> memory usage.

Ok, using the rebuild 64bit bjam from 1.49 works for me. I might try
the trunk version as well maybe next week.

Thank you both for your help on this!

BR, Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: keyserver x-hkp://pool.sks-keyservers.net

iEYEARECAAYFAk9jmNsACgkQhAOUmAZhnmq5OgCcDsjDXFYU6a8RSwOi6wMFZ72S
PQAAnRNpW9M53nzC5ombiLAQSFcFmIIF
=dShq
-----END PGP SIGNATURE-----


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk