[Llvm-bgq-discuss] total view with clang bgq
Biddiscombe, John A.
biddisco at cscs.ch
Tue May 6 02:17:25 CDT 2014
Thomas
>
> Just a thought, did you compile both boost and HPX in C++11 mode?
>
Yes, I've been a bit extreme and tried compiling HPX in verbose mode, copying all the flags it generates nd using the same set of boost, so I have a command line like this ...
./b2 toolset=clang cxxflags="-mcpu=a2 -D_bgq_linux -I/bgsys/drivers/ppcfloor/gnu-linux-4.7.2/powerpc64-bgq-linux/include/c++/4.7.2/ -I/bgsys/drivers/ppcfloor/gnu-linux-4.7.2/powerpc64-bgq-linux/include/c++/4.7.2/powerpc64-bgq-linux -I/gpfs/bbp.cscs.ch/home/biddisco/src/bgqhdf/rdma-bgq/V1R2M1 -std=gnu++11 -DBOOST_NO_FENV_H -O3 -fno-omit-frame-pointer -fno-inline -Wall -Wno-strict-aliasing -Wsign-promo -Wno-cast-align -Werror=vla -Werror=return-type -fdiagnostics-show-option -Wno-deprecated-register -Wno-cast-align" --prefix=/gpfs/bbp.cscs.ch/home/biddisco/apps/clang/boost_1_55_0 --layout=versioned architecture=power threading=multi link=shared variant=debug --without-mpi pch=off -j24 install
but infortunately, the symbol error persists. I will try replacing gnu++11 with c++11 and see if that makes a difference.
(NB the -D_bgq_linux is a flag I've added to replace the __bgq__ one because HPX has a lot of #ifdef __bgq__ which I wanted to tweak to allow my "bgq_linux" to build as a standard linux version, but pick up the couple of includes that we need to make the build complete).
Further suggestions welcome. I will experiment with a boost #define I found whilst grepping (BOOST_NO_CXX11_HDR_CODECVT - no idea what it does or is for, but it looks vaguely related...)
JB
More information about the llvm-bgq-discuss
mailing list