[Llvm-bgq-discuss] bgclang r205936-20140409 on vesta/mira

Hal Finkel hfinkel at anl.gov
Mon Apr 14 08:32:24 CDT 2014


----- Original Message -----
> From: "John A. Biddiscombe" <biddisco at cscs.ch>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Monday, April 14, 2014 8:25:17 AM
> Subject: RE: [Llvm-bgq-discuss] bgclang r205936-20140409 on vesta/mira
> 
> 
> 
> 
> Hal,
> 
> 
> 
> It took me surprisingly long to find out how to fix the paths in the
> script, but the solution (I thought) turned out to be simple
> 
> I changed
> 
> new_floor=/bgsys/drivers/toolchain/${dvr}_base_4.7.2
> 
> to
> 
> new_floor=$BGSYS_FLOOR
> 
> 
> 
> and now it is correctly detecting 4.7.2 toolchain, but although some
> projects are compiling, log4cxx is giving me trouble.
> 
> 
> 
> >>> 
> 
> In file included from
> ../../../src/main/include/log4cxx/helpers/iso8601dateformat.h:21:
> 
> ../../../src/main/include/log4cxx/helpers/simpledateformat.h:57:73:
> error: reference to 'locale' is ambiguous
> 
> SimpleDateFormat(const LogString& pattern, const std::locale*
> locale);
> 
> ^
> 
> /gpfs/bbp.cscs.ch/home/biddisco/apps/clang/bgclang/r205936-20140409/libc++/include/__locale:48:24:
> note: candidate found by name lookup is 'std::__1::locale'
> 
> class _LIBCPP_TYPE_VIS locale
> 
> ^
> 
> ../../../src/main/include/log4cxx/helpers/simpledateformat.h:33:23:
> note: candidate found by name lookup is 'std::locale'
> 
> namespace std { class locale; }

It looks like simpledateformat.h is trying to forward-declare std::locale; I don't think this is a good idea, because it is making an implementation assumption (that turns out not to be true for libc++). Please just include <locale> in simpledateformat.h instead and I predict this problem will go away.

 -Hal

> 
> <<<
> 
> 
> 
> Do you have any idea what might be causing this
> 
> 
> 
> JB
> 
> 
> 
> 
> 
> > -----Original Message-----
> 
> > From: Hal Finkel [mailto:hfinkel at anl.gov]
> 
> > Sent: 11 April 2014 18:37
> 
> > To: Biddiscombe, John A.
> 
> > Cc: llvm-bgq-discuss at lists.alcf.anl.gov; Thomas Heller
> 
> > Subject: Re: [Llvm-bgq-discuss] bgclang r205936-20140409 on
> > vesta/mira
> 
> > 
> 
> > ----- Original Message -----
> 
> > > From: "John A. Biddiscombe" < biddisco at cscs.ch >
> 
> > > To: "Hal Finkel" < hfinkel at anl.gov >
> 
> > > Cc: llvm-bgq-discuss at lists.alcf.anl.gov , "Thomas Heller"
> 
> > < thom.heller at gmail.com >
> 
> > > Sent: Friday, April 11, 2014 11:32:47 AM
> 
> > > Subject: Re: [Llvm-bgq-discuss] bgclang r205936-20140409 on
> > > vesta/mira
> 
> > > 
> 
> > > Not there. No such file or directory
> 
> > > 
> 
> > > 
> 
> > > On 11/04/14 18:24, "Hal Finkel" < hfinkel at anl.gov > wrote:
> 
> > > 
> 
> > > >/bgsys/drivers/toolchain/V1R2M1_base_4.7.2/gnu-linux-4.7.2
> 
> > > 
> 
> > > Yes, I see, I misread your line
> 
> > > 
> 
> > > /bgsys/drivers/V1R2M1/ppc64/gnu-linux-4.7.2/
> 
> > > /bgsys/drivers/toolchain/V1R2M1_base_4.7.2/gnu-linux-4.7.2
> 
> > > 
> 
> > > 
> 
> > > I guess I should just do a search/replace in the script.
> 
> > 
> 
> > Sure. Also, if you do a "proper update" (so that it also retains
> > the current
> 
> > behavior), and send a patch, I'll be happy to include the
> > functionality in
> 
> > future builds.
> 
> > 
> 
> > -Hal
> 
> > 
> 
> > > 
> 
> > > Thanks again
> 
> > > 
> 
> > > JB
> 
> > > 
> 
> > > 
> 
> > 
> 
> > --
> 
> > Hal Finkel
> 
> > Assistant Computational Scientist
> 
> > Leadership Computing Facility
> 
> > Argonne National Laboratory

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


More information about the llvm-bgq-discuss mailing list