Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-01-29 06:20:16


Nicola Musatti wrote:
> Leaving the Spirit issue aside, there is a problem I described
> elsewhere whereby several static libraries fail to build with the
> Borland 5.8.2 compiler since the switch to Boost.Build v2 . I only
> became fully aware of this very recently: as it didn't show up on the
> regression tests I had attributed it to quirks of my own setup.
> Moreover as I used to look for build errors by grep'ing for
> '[Ee]rror' in the bjam output I missed the fact that this actually
> doesn't involve just testing, but also building the libraries.

:-(

I'd offer to help, but I can't reproduce the issue.

Only thing I'm aware of that's changed, is that in bbv1 we often had to
increase the library page size with Borland in order to get the static lib
built. I notice a warning in the output:

Warning:
'g:\boost\rc-1-34\results\boost\bin.v2\libs\regex\build\borland-5.8.2\debug\link-static\threading-multi\usinstances.obj'
file not found
Warning: library was too large for page size, rebuilt with page size 64
Warning: DOS-reported error: Permission denied
results are safe in file
'g:\boost\rc-1-34\results\boost\bin.v2\libs\regex\build\borland-5.8.2\debug\link-static\threading-multi\libtmp00.i10'

You could try adding a /P64 switch to the tlib command and see if that fixes
things (but I'm not sure how to inject that with bbv2).

The "DOS-reporting error" is strange to say the least as well!

Not sure if this helps,

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk