Boost logo

Boost :

Subject: Re: [boost] Boost Mingw w64 compilation issues and fixes
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2013-07-17 05:11:41


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Andrew Ho
> Sent: Monday, July 15, 2013 11:01 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] Boost Mingw w64 compilation issues and fixes
>
>
> > What happens if you try:
> >
> > b2 --with-math pch=off
>
> Interestingly, I was able to compile the library with pch=off.

This agrees with the conclusions of this thread?

http://sourceforge.net/mailarchive/message.php?msg_id=30821409

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56926

It would seem that a new compiler build is needed to increase stack size - and they are 'on the
case'.

So the workaround is a bit "Doctor, Doctor it hurts when I use PCH" - "don't use PCH".

I'd also observe that building the Boost.Math library is not necessary for most users, so adding

  --without-math

should also allow the build of the other libraries to continue.

HTH

Paul

---
Paul A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB  UK
+44 1539 561830  07714330204
pbristow_at_[hidden]

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