|
Boost-Build : |
Subject: Re: [Boost-build] Anyone know what's up with bug #7212?
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2012-08-30 06:56:11
Hi.
> Woohoo! Boost 1.51 and the related project compiles successfully with
> gcc 4.6.2.
Yeah, since you said everything works fine with gcc 4.6.1 & 4.6.2
while it fails with gcc 4.6.0 and the original bug ticket also mentioned
that the bug was originally detected with gcc 4.6.0 I'm perfectly
satisfied with calling this a 'compiler bug' and committing a patch
using a while loop instead of goto that we tested before, together with
a comment describing the bug.
> It should be noted that bootstrap.log still contains the warning:
>
> jam.c:653:12: warning: incompatible implicit declaration of
> built-in function 'strndup' [enabled by default]
>
> due to a missing _GNU_SOURCE define. However, that is less of a problem.
Already fixed on the trunk, so it will bubble up to some release
eventually... :-)
> So, I will go with Boost 1.51 and gcc 4.6.2 for now ; it might be a
> good idea to get to the bottom of the 4.6.0 problem, though. Possibly,
> the loop/while/goto should be replaced with a while/while/break or the
> compiler flagged as broken.
Change committed as revision [80319].
http://svn.boost.org/trac/boost/changeset/80319
> Please let me know if I can help with further testing.
Thanks again for all the effort you put into this!
Best regards,
Jurko GospodnetiÄ
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