[cfe-dev] build fails on Solaris 11.2 with g++ 4.8.2

Vladimir Voskresensky - Oracle vladimir.voskresensky at oracle.com
Fri Apr 17 06:57:49 PDT 2015


Hello,

I have two problems building llvm on Solaris 11.2 using g++ 4.8.2.
1) there is predefined macro #define SEC 1(in /usr/include/sys/time.h) which 
breaks macro expansion in ARMArchExtName.def
2) isinf/isnan are macros as well from /usr/include/iso/math_c99.h expanding to
__builtin_isinf/__builtin_isnan so they are not from std and breaks APTFloatTest.cpp

It would be nice if you review and apply patch which fixes build on Solaris.

Thanks!
Vladimir.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Solaris_g++4.8.patch
Type: text/x-patch
Size: 1559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150417/30346b0b/attachment.bin>


More information about the cfe-dev mailing list