On Fri, Jul 8, 2016 at 4:52 AM, Stefan Teleman via llvm-dev < llvm-dev at lists.llvm.org> wrote:> On Thu, Jul 7, 2016 at 1:36 PM, Oscar Guido via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Hello, > > I get the following error while trying to configure an llvm build on > > Solaris 10-SPARC: > > > > CMake Error at projects/libcxx/CMakeLists.txt:268 (message): > > C++11 is required but the compiler does not support -std=c++11 > > > > However, the error is about a missing header file > (llvm/Support/Solaris.h) > > as reported in build/CMakeFiles/CMakeError.log: > > > cc1plus: fatal error: llvm/Support/Solaris.h: No such file or directory > > compilation terminated. > > gmake[1]: *** [CMakeFiles/cmTC_67861.dir/src.cxx.o] Error 1 > > I am not sure that clang/llvm will build out-of-the-box on Solaris 10. > At least not without some major interventions. > > Which version of GCC is this? >Solaris 11 shouldn't be that much work, if any, except for that the OP mentioned SPARC. Even if using a gcc which supports c++11, libc++ may be an obstacle because it needs some stuff (libc/system headers) which wasn't added until Solaris 11. (I can look in my notes for exactly what if needed) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160708/ab901cb5/attachment.html>
Stefan Teleman via llvm-dev
2016-Jul-07 21:07 UTC
[llvm-dev] Configure error on Solaris 10
On Thu, Jul 7, 2016 at 5:03 PM, C Bergström <cbergstrom at pathscale.com> wrote:> > > On Fri, Jul 8, 2016 at 4:52 AM, Stefan Teleman via llvm-dev > <llvm-dev at lists.llvm.org> wrote:>> Which version of GCC is this? > > > Solaris 11 shouldn't be that much work, if any, except for that the OP > mentioned SPARC.The OP explicitly stated Solaris 10. Not Solaris 11, or any other version of Solaris. -- Stefan Teleman KDE e.V. stefan.teleman at gmail.com
On Fri, Jul 8, 2016 at 5:07 AM, Stefan Teleman <stefan.teleman at gmail.com> wrote:> On Thu, Jul 7, 2016 at 5:03 PM, C Bergström <cbergstrom at pathscale.com> > wrote: > > > > > > On Fri, Jul 8, 2016 at 4:52 AM, Stefan Teleman via llvm-dev > > <llvm-dev at lists.llvm.org> wrote: > > >> Which version of GCC is this? > > > > > > Solaris 11 shouldn't be that much work, if any, except for that the OP > > mentioned SPARC. > > The OP explicitly stated Solaris 10. Not Solaris 11, or any other > version of Solaris. >As per my email - I was indirectly letting him know that Solaris 10 likely doesn't have everything he needs. (Was my email really that unclear?) There are potential "hacks" which may not be too much work and "acceptable" work-around. (I'd need to double check) Like can he live with hard coded C LOCALES.. I'm adding Eric on cc - he'll know how much libc++ stuff is tied to system specifics for c++11. I have no idea if it would be feasible (ABI compat), but there's the other option to leverage the gcc STL like is done on x86 Linux. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160708/0a7674c1/attachment.html>