Indeed the problematic option is -DCLANG_DEFAULT_CXX_STDLIB=libc++ , thanks Jonas!
On Thu, May 26, 2016 at 11:19 AM, Hahnfeld, Jonas <hahnf...@itc.rwth-aachen.de> wrote: > Hi, > > Have you also set CLANG_DEFAULT_CXX_STDLIB? Then you may need to add an > '-stdlib=platform' to the test... (see r260662 and r263434) > > Cheers, > Jonas > >> -----Original Message----- >> From: cfe-commits [mailto:cfe-commits-boun...@lists.llvm.org] On Behalf >> Of Ismail Donmez via cfe-commits >> Sent: Thursday, May 26, 2016 10:03 AM >> To: Simon Atanasyan >> Cc: cfe-commits >> Subject: Re: r270373 - [driver][mips] Support new versions of MIPS >> CodeScape toolchains >> >> Hi, >> >> I think this is because I enable libc++ by default with - >> DLLVM_ENABLE_LIBCXX=ON , so this tests need an explicit -stdlib=libstdc++ >> >> ismail >> >> >> On Thu, May 26, 2016 at 10:08 AM, Simon Atanasyan >> <si...@atanasyan.com> wrote: >> > I'm trying to reproduce the problem but without success yet. And all >> > buildbots available to me are green. So no ideas right now. >> > >> > By the way, as far as I can see you use some sort of build system >> > probably to get rpm package. Right? Could you try to build Clang by >> > hand (http://clang.llvm.org/get_started.html) and run the tests. Is >> > the problem reproduced in that case? >> > >> > On Thu, May 26, 2016 at 10:01 AM, Ismail Donmez <ism...@i10z.com> >> wrote: >> >> Any ideas what's going on? >> >> >> >> On Wed, May 25, 2016 at 1:35 PM, Ismail Donmez <ism...@i10z.com> >> wrote: >> >>> Hi, >> >>> >> >>> On Wed, May 25, 2016 at 1:32 PM, Simon Atanasyan >> <si...@atanasyan.com> wrote: >> >>>> Hi, >> >>>> >> >>>> Thanks for the information. One more question. Does the following >> folder exist? >> >>>> >> >>>> >> /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Driver/Inputs/mip >> >>>> s_img_v2_tree/lib/gcc/mips-img-linux-gnu/4.9.2/../../../../mips-img >> >>>> -linux-gnu/include/c++/4.9.2 >> >>>> >> >>> >> >>> Yes : >> >>> >> >>> :/ # ls >> >>> >> /home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Driver/Inputs/mips >> >>> _img_v2_tree/lib/gcc/mips-img-linux-gnu/4.9.2/../../../../mips-img-l >> >>> inux-gnu/include/c++/4.9.2 >> >>> mips-img-linux-gnu >> > >> > -- >> > Simon >> _______________________________________________ >> cfe-commits mailing list >> cfe-commits@lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits