
Hi all, Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html . - Doug

On 20 May 2010 22:46, Doug Gregor <doug.gregor@gmail.com> wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Awesome! Well done guys. -- Darren

On 5/20/2010 2:46 PM, Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Totally freakin' awesome work guys. Does it work on cygwin yet? -- Eric Niebler BoostPro Computing http://www.boostpro.com

On Thu, May 20, 2010 at 3:45 PM, Eric Niebler <eric@boostpro.com> wrote:
On 5/20/2010 2:46 PM, Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Totally freakin' awesome work guys. Does it work on cygwin yet?
Not yet, sorry. - Doug

Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
To me this is an amazing accomplishment. Looking at the tables I do have one question. It shows boost build failing most tests. Doesn't bjam need to work before you can even run the tests? Robert Ramey
- Doug _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Thu, May 20, 2010 at 4:22 PM, Robert Ramey <ramey@rrsd.com> wrote:
Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
To me this is an amazing accomplishment.
Looking at the tables I do have one question. It shows boost build failing most tests. Doesn't bjam need to work before you can even run the tests?
bjam works well enough to run all of the regression tests, but the clang module for Boost.Build isn't mature enough to pass all of the build system's tests. Frankly, I need help with this: I don't have the deep understanding of bjam needed to make it work. - Doug

Doug Gregor wrote:
On Thu, May 20, 2010 at 4:22 PM, Robert Ramey <ramey@rrsd.com> wrote:
Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
To me this is an amazing accomplishment.
Looking at the tables I do have one question. It shows boost build failing most tests. Doesn't bjam need to work before you can even run the tests?
bjam works well enough to run all of the regression tests, but the clang module for Boost.Build isn't mature enough to pass all of the build system's tests. Frankly, I need help with this: I don't have the deep understanding of bjam needed to make it work.
I don't think you need to feel responsible for build tests at all. Some of them test pretty contrived functionality, and many depend on more on OS and user config than toolset, so any failure must be carefully analysed -- and often causes no problems for Boost itself whatsoever. - Volodya

Robert Ramey wrote:
Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
To me this is an amazing accomplishment.
Looking at the tables I do have one question. It shows boost build failing most tests. Doesn't bjam need to work before you can even run the tests?
BTW - I am working to address the breakage in the MPI skeleton. Hopefully this should be fixed soon. Robert Ramey

On Thu, May 20, 2010 at 4:24 PM, Robert Ramey <ramey@rrsd.com> wrote:
Robert Ramey wrote:
Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
To me this is an amazing accomplishment.
Looking at the tables I do have one question. It shows boost build failing most tests. Doesn't bjam need to work before you can even run the tests?
BTW - I am working to address the breakage in the MPI skeleton. Hopefully this should be fixed soon.
Great, thanks! - Doug

Doug Gregor wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
- Doug _______________________________________________
Amazing Doug! Congratulations to you all. michael -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com

On Thu, May 20, 2010 at 2:46 PM, Doug Gregor <doug.gregor@gmail.com> wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Great work guys! I'm now going to work on getting a clang build working on Linux and start switching over for the development of my libraries to clang. Thanks for the heads up and I hope to hear more great stuff soon! -- Dean Michael Berris deanberris.com

Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Great news, congratulations. It will be very useful. Barend

Doug Gregor wrote:
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
This is amazing progress. Congratulations! Now I have no excuse but to build it and use it against our internal code base if for no other reason than to get Clang's amazing diagnostic support! _____ Rob Stewart robert.stewart@sig.com Software Engineer, Core Software using std::disclaimer; Susquehanna International Group, LLP http://www.sig.com IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

On 05/21/2010 01:52 PM, Stewart, Robert wrote:
Doug Gregor wrote:
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
This is amazing progress. Congratulations!
Now I have no excuse but to build it and use it against our internal code base if for no other reason than to get Clang's amazing diagnostic support!
I just compiled clang for the same purpose, but unfortunately on Centos 5.5 I get errors from system headers (#include <string>): In file included from /usr/include/c++/4.1.2/string:45: In file included from /usr/include/c++/4.1.2/bits/char_traits.h:45: In file included from /usr/include/c++/4.1.2/bits/stl_algobase.h:69: In file included from /usr/include/c++/4.1.2/iosfwd:45: In file included from /usr/include/c++/4.1.2/i386-redhat-linux/bits/c++io.h:38: In file included from /usr/include/c++/4.1.2/i386-redhat-linux/bits/gthr.h:132: /usr/include/c++/4.1.2/i386-redhat-linux/bits/gthr-default.h:100:1: error: weakref declaration of '__gthrw_pthread_once' must be static __gthrw(pthread_once) ^ /usr/include/c++/4.1.2/i386-redhat-linux/bits/gthr-default.h:81:23: note: instantiated from: #define __gthrw(name) __gthrw2(__gthrw_ ## name,name,name) ^ /usr/include/c++/4.1.2/i386-redhat-linux/bits/gthr-default.h:72:46: note: instantiated from: extern __typeof(type) name __attribute__ ((__weakref__(#name2))); \ --> Mika Heiskanen

On Fri, May 21, 2010 at 4:41 AM, Mika Heiskanen <mika.heiskanen@fmi.fi> wrote:
On 05/21/2010 01:52 PM, Stewart, Robert wrote:
Doug Gregor wrote:
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
This is amazing progress. Congratulations!
Now I have no excuse but to build it and use it against our internal code base if for no other reason than to get Clang's amazing diagnostic support!
I just compiled clang for the same purpose, but unfortunately on Centos 5.5 I get errors from system headers (#include <string>): [snip]
This looks like a bug in your system headers, although Clang can work around that. Please file a Clang bug (and any further discussion should happen there or on the Clang mailing lists). - Doug

On Thu, May 20, 2010 at 5:46 PM, Doug Gregor <doug.gregor@gmail.com> wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Totally cool! What standard library did you use? Is there a fighting chance of getting clang++ to build Boost's regression tests on Windows? --Beman

Richard Webb wrote:
Beman Dawes <bdawes <at> acm.org> writes:
Is there a fighting chance of getting clang++ to build Boost's regression tests on Windows?
Whats the status of Windows exception handling in LLVM? (i guess that lack of exception support would cause some problems with the tests.)
That's an interesting question. Doug mentioned no exception support at BoostCon, yet I see some exception support listed in the table at http://clang.llvm.org/cxx_status.html#specification. There are no details, so it is unclear what is and isn't supported. _____ Rob Stewart robert.stewart@sig.com Software Engineer, Core Software using std::disclaimer; Susquehanna International Group, LLP http://www.sig.com IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

On Fri, May 21, 2010 at 4:53 AM, Stewart, Robert <Robert.Stewart@sig.com> wrote:
Richard Webb wrote:
Beman Dawes <bdawes <at> acm.org> writes:
Is there a fighting chance of getting clang++ to build Boost's regression tests on Windows?
Whats the status of Windows exception handling in LLVM? (i guess that lack of exception support would cause some problems with the tests.)
That's an interesting question. Doug mentioned no exception support at BoostCon, yet I see some exception support listed in the table at http://clang.llvm.org/cxx_status.html#specification. There are no details, so it is unclear what is and isn't supported.
Remember, the C++ status table there [1] only covers the front end, which has complete support for exceptions (modulo bugs!). However, it does not capture platform support in the back end. LLVM supports DWARF exceptions, which work on Linux, Darwin, and many other *nix systems, including (I believe) Cygwin on Windows [2]. Visual C++ uses a different exception model that isn't implemented in LLVM. The main pattern here is that the vast majority of LLVM (and Clang) developers work on Linux, Mac OS X, or FreeBSD, so those platforms are well-supported. Without more Windows developers involved in pushing LLVM and Clang forward on their platform, support for Windows will lag behind. - Doug [1] The status table itself is a bit dated; I'll fix it when time permits, but the general comment is: Everything in C++98/03 is implemented except export; file bugs if Clang is wrong. [2] As Eric mentioned, there are issues with Cygwin, too.

At Fri, 21 May 2010 08:05:28 -0700, Doug Gregor wrote:
Visual C++ uses a different exception model that isn't implemented in LLVM.
I think that only applies to 32-bit VC++; their 64-bit compiler uses the same ABI as g++, IIUC. -- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com

On Fri, May 21, 2010 at 7:29 PM, David Abrahams <dave@boostpro.com> wrote:
At Fri, 21 May 2010 08:05:28 -0700, Doug Gregor wrote:
Visual C++ uses a different exception model that isn't implemented in LLVM.
I think that only applies to 32-bit VC++; their 64-bit compiler uses the same ABI as g++, IIUC.
VC++ did move from SEH to something similar to table based unwinding, but, AFAIK it is still quite different from DWARF tables format and not compatible. -- gpd

VC's C++ exception handling on x64 is table-based but still powered by SEH. Debug into a throw and you'll see VC's _CxxThrowException() call Windows' RaiseException(). Stephan T. Lavavej Visual C++ Libraries Developer -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Giovanni Piero Deretta Sent: Friday, May 21, 2010 5:22 PM To: boost@lists.boost.org Subject: Re: [boost] Clang Builds Boost On Fri, May 21, 2010 at 7:29 PM, David Abrahams <dave@boostpro.com> wrote:
At Fri, 21 May 2010 08:05:28 -0700, Doug Gregor wrote:
Visual C++ uses a different exception model that isn't implemented in LLVM.
I think that only applies to 32-bit VC++; their 64-bit compiler uses the same ABI as g++, IIUC.
VC++ did move from SEH to something similar to table based unwinding, but, AFAIK it is still quite different from DWARF tables format and not compatible. -- gpd _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

AMDG Beman Dawes wrote:
On Thu, May 20, 2010 at 5:46 PM, Doug Gregor <doug.gregor@gmail.com> wrote:
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Totally cool!
What standard library did you use?
Is there a fighting chance of getting clang++ to build Boost's regression tests on Windows?
I'm slowly working on getting clang to parse Microsoft's headers. Once that's done, there are still a lot of ABI issues (name mangling, exception handling, and calling conventions at least). In Christ, Steven Watanabe

Sent from my iPhone On May 21, 2010, at 4:22 AM, Beman Dawes <bdawes@acm.org> wrote:
On Thu, May 20, 2010 at 5:46 PM, Doug Gregor <doug.gregor@gmail.com> wrote:
Hi all,
Well, we didn't make it before the end of BoostCon, but now we have: Clang successfully builds all of Boost's regression tests on the release branch. More information available at http://blog.llvm.org/2010/05/clang-builds-boost.html .
Totally cool!
What standard library did you use?
The default libstdc++ 4.2 on Snow Leopard. I'd like to try it with libc++ at some point, but I suspect that I'll need to add Boost.Config support first. - Doug
participants (17)
-
Barend Gehrels
-
Beman Dawes
-
Darren Garvey
-
David Abrahams
-
Dean Michael Berris
-
Doug Gregor
-
Eric Niebler
-
Giovanni Piero Deretta
-
Michael Caisse
-
Mika Heiskanen
-
Neal Becker
-
Richard Webb
-
Robert Ramey
-
Stephan T. Lavavej
-
Steven Watanabe
-
Stewart, Robert
-
Vladimir Prus