Subject: Re: [Boost-build] bjam from 1.49.0 aborts on 100k targets project without message on AIX/gcc-4.6
From: Hubert Tong (hstong_at_[hidden])
Date: 2012-03-15 15:44:40
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
Hope this helps.
Hubert S K Tong
IBM Canada Ltd, C2/YGH/8200/MKM
8200 Warden Ave, Markham ON L6G 1C7
From: Steven Watanabe <watanabesj_at_[hidden]>
To: "Boost.Build developer's and user's list"
Date: 15-03-2012 03:05 PM
Subject: Re: [Boost-build] bjam from 1.49.0 aborts on 100k targets
project without message on AIX/gcc-4.6
Sent by: boost-build-bounces_at_[hidden]
On 03/15/2012 11:50 AM, Frank Birbacher wrote:
> I'm trying to build a software project that comprises of approx 250
> libraries. bjam actually builds parts of the libraries, but not all of
> them at once. It shall link an application that depends on all libs,
> but it aborts before compilation. I estimate some 100k targets found
> and some 2.5k targets to be built (using -a switch). But bjam will
> abort before showing the real numbers:
> - "bjam" alone takes 40s, prints nothing, and aborts
> - "bjam --debug-building" takes 40s, prints lots of targets, and aborts
> - "bjam -n" takes 40s, prints some commands, then aborts; the command
> to link the final exe is missing
> - "bjam -n" after manually executing the shown commands: takes 40s,
> prints nothing, then aborts
> in neither case does it print "...patience...". Building some subdirs
> with only part of the targets works.
> OS: AIX 5.3
> Tool: gcc-4.6
> Bjam: from Boost 1.49.0
> How shall I debug bjam in this case? Are there some built in limits to
> the size of the project? May some internal list run over?
It's most likely running out of memory.
Can you try using trunk Boost.Build/bjam?
There are several optimizations that
reduce memory usage.
> Can I easily
> build a debug version of bjam that I can run using gdb or something?
Unsubscribe & other changes:
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