[Llvm-bgq-discuss] Fwd: [Early-users-discuss] C++11 compiler?

Hal Finkel hfinkel at anl.gov
Tue Jun 18 11:43:09 CDT 2013


Michael,

FYI, this also applies to your lowercall64svr4.c test case. I'll be releasing a newly-rebased compiler soon with all of these fixes incorporated.

Thanks again,
Hal

----- Forwarded Message -----
From: "Hal Finkel" <hfinkel at anl.gov>
To: "Erik Schnetter" <schnetter at cct.lsu.edu>
Cc: "early-users-discuss" <early-users-discuss at alcf.anl.gov>, "Jeff Hammond" <jhammond at alcf.anl.gov>
Sent: Monday, June 17, 2013 10:29:15 AM
Subject: Re: [Early-users-discuss] C++11 compiler?

Erik,

I've fixed this in my local repository; so this will be fixed in the next patchset release.

Thanks again,
Hal

----- Original Message -----
> 
> Hal
> 
> 
> This is < http://llvm.org/bugs/show_bug.cgi?id=16223 >.
> 
> 
> -erik
> 
> 
> 
> On Thu, Jun 6, 2013 at 10:24 AM, Hal Finkel < hfinkel at anl.gov >
> wrote:
> 
> 
> 
> ----- Original Message -----
> > 
> > 
> > Jeff
> > 
> > 
> > Thanks for the pointers.
> > 
> > 
> > It turns out that C++11 support for running on the front-end was
> > not
> > good enough in these compilers; I could not figure out how to use a
> > C++11 STL. However, installing gcc 4.7 was easy, and this worked
> > out
> > of the box there.
> > 
> > 
> > For the compute nodes, however, things look worse. The provided
> > bgclang++11 provides C++11 support just fine (including STL), but
> > encounters severe code generation problems. I reported the issue to
> > LLVM,
> 
> Erik,
> 
> Do you mean that you filed LLVM bug reports? Can you please either CC
> me on those, or send me to the report numbers please?
> 
> Thanks again,
> Hal
> 
> 
> 
> > and am now stuck with using bgxlC_r instead. Thus, no C++11 --
> > my forage into this standard version has been foiled, and I had to
> > rewrite large parts of the code avoiding the respective new
> > language
> > features. Lesson learned.
> > 
> > 
> > -erik
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Sun, Jun 2, 2013 at 12:44 PM, Jeff Hammond <
> > jhammond at alcf.anl.gov
> > > wrote:
> > 
> > 
> > https://wiki.alcf.anl.gov/parts/index.php/BGClang (and links
> > therefrom) has all the answers that you seek.
> > 
> > Jeff
> > 
> > 
> > 
> > On Sun, Jun 2, 2013 at 10:40 AM, Erik Schnetter <
> > schnetter at cct.lsu.edu > wrote:
> > > I'm looking for a C++11 compiler on Vesta, both for the front end
> > > (for
> > > easier debugging) and the compute nodes. Modern versions of gcc
> > > (e.g. 4.7.x)
> > > or or clang (e.g. 3.2) should do the trick. However, the compiler
> > > alone
> > > isn't good enough, I also need a modern STL to go with it.
> > > 
> > > Not finding any on Vesta, I installed clang 3.3 and libcxx 3.3
> > > myself. The
> > > problem is that libcxx, as built by clang 3.3, now insists on
> > > linking
> > > against libstdc++ from gcc 4.4 -- the very library it is supposed
> > > to
> > > replace!
> > > 
> > > Has anyone done this before? Is there a modern version of gcc or
> > > clang
> > > available on Vesta already?
> > > 
> > > -erik
> > > 
> > > --
> > > Erik Schnetter < schnetter at cct.lsu.edu >
> > > http://www.perimeterinstitute.ca/personal/eschnetter/
> > > 
> > > _______________________________________________
> > > early-users-discuss mailing list
> > > early-users-discuss at lists.alcf.anl.gov
> > > https://lists.alcf.anl.gov/mailman/listinfo/early-users-discuss
> > > 
> > 
> > 
> > 
> > --
> > Jeff Hammond
> > Argonne Leadership Computing Facility
> > University of Chicago Computation Institute
> > jhammond at alcf.anl.gov / (630) 252-5381
> > http://www.linkedin.com/in/jeffhammond
> > https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
> > ALCF docs: http://www.alcf.anl.gov/user-guides
> > 
> > 
> > 
> > 
> > --
> > Erik Schnetter < schnetter at cct.lsu.edu >
> > http://www.perimeterinstitute.ca/personal/eschnetter/
> > _______________________________________________
> > early-users-discuss mailing list
> > early-users-discuss at lists.alcf.anl.gov
> > https://lists.alcf.anl.gov/mailman/listinfo/early-users-discuss
> > 
> 
> 
> 
> 
> --
> Erik Schnetter < schnetter at cct.lsu.edu >
> http://www.perimeterinstitute.ca/personal/eschnetter/

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-bgq-discuss mailing list