Martin J. O'Riordan via llvm-dev
2016-Jul-06 18:02 UTC
[llvm-dev] GCC prerequisites for building LLVM head?
Sorry for the delay, I had to experiment and build everything to be sure. I am actually getting the same problem with GCC v4.9.3 on CentOS, but for both Cygwin and Linux adding '-D_GLIBCXX_USE_C99' to the '-DCMAKE_CXX_FLAGS:STRING=' flag during configuration cured the problem. MartinO -----Original Message----- From: Renato Golin [mailto:renato.golin at linaro.org] Sent: 06 July 2016 11:10 To: Martin.ORiordan at movidius.com Cc: LLVM Developers <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] GCC prerequisites for building LLVM head? On 6 July 2016 at 11:04, Martin J. O'Riordan <martin.oriordan at movidius.com> wrote:> Perhaps it is a broken Cygwin v4.9.3 package, but this is odd since the source should be identical for the Cygwin versus Linux distros?Looks like a broken package. I don't know how Cygwin builds their own packages, but I wouldn't be surprised if they have their own convoluted build system that hacks stuff together, like every other distribution. :) We do test it on large number of Linux distributions, on ARM, AArch64 and x86_64, and we have found no problems at all with 4.8 or 4.9. cheers, --renato
Renato Golin via llvm-dev
2016-Jul-06 18:35 UTC
[llvm-dev] GCC prerequisites for building LLVM head?
On 6 July 2016 at 19:02, Martin J. O'Riordan <martin.oriordan at movidius.com> wrote:> I am actually getting the same problem with GCC v4.9.3 on CentOS, but for both Cygwin and Linux adding '-D_GLIBCXX_USE_C99' to the '-DCMAKE_CXX_FLAGS:STRING=' flag during configuration cured the problem.Right, I don't use that flag, why do you need that? cheers, --renato
Martin J. O'Riordan via llvm-dev
2016-Jul-06 18:43 UTC
[llvm-dev] GCC prerequisites for building LLVM head?
I've no idea, but without it, the 'std::to_string' definitions are not enabled! -----Original Message----- From: Renato Golin [mailto:renato.golin at linaro.org] Sent: 06 July 2016 19:35 To: Martin.ORiordan at movidius.com Cc: LLVM Developers <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] GCC prerequisites for building LLVM head? On 6 July 2016 at 19:02, Martin J. O'Riordan <martin.oriordan at movidius.com> wrote:> I am actually getting the same problem with GCC v4.9.3 on CentOS, but for both Cygwin and Linux adding '-D_GLIBCXX_USE_C99' to the '-DCMAKE_CXX_FLAGS:STRING=' flag during configuration cured the problem.Right, I don't use that flag, why do you need that? cheers, --renato