On Thu, Jul 27, 2017 at 12:25:57AM +0100, Stuart Henderson wrote:
> clang-linux.compile.c++.without-pth 
> bin.v2/libs/atomic/build/clang-linux-4.0.0/release/link-static/python-2.7/threading-multi/lockpool.o
> 
>   "c++" -c -x c++ -O2 -pipe  -Wno-c++11-extensions -Wno-keyword-macro  
> -Wno-expansion-to-defined -Wno-unused-local-typedef  -pthread -O2 -pipe  
> -Wno-string-plus-int  -pthread -O3 -Wno-inline -Wall -pthread -O2 -pipe  
> -Wno-c++11-extensions -Wno-keyword-macro  -Wno-expansion-to-defined 
> -Wno-unused-local-typedef  -pthread -O2 -pipe  -Wno-string-plus-int  -pthread 
> -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_SOURCE -DBOOST_ATOMIC_STATIC_LINK=1 
> -DNDEBUG -I"." -o 
> "bin.v2/libs/atomic/build/clang-linux-4.0.0/release/link-static/python-2.7/threading-multi/lockpool.o"
>  "libs/atomic/src/lockpool.cpp"
> 
> In file included from libs/atomic/src/lockpool.cpp:16:
> In file included from ./boost/config.hpp:61:
> ./boost/config/suffix.hpp:496:26: error: __int128 is not supported on this 
> target
>    __extension__ typedef __int128 int128_type;
>                          ^
> ./boost/config/suffix.hpp:497:35: error: __int128 is not supported on this 
> target
>    __extension__ typedef unsigned __int128 uint128_type;
>                                   ^
> 2 errors generated.

This should fix the config error.
Not certain that's enough for everything, but still:


Index: files/user.hpp
===================================================================
RCS file: /cvs/ports/devel/boost/files/user.hpp,v
retrieving revision 1.5
diff -u -p -r1.5 user.hpp
--- files/user.hpp      4 Jun 2017 19:05:03 -0000       1.5
+++ files/user.hpp      27 Jul 2017 09:23:52 -0000
@@ -43,7 +43,9 @@
 #define BOOST_HAS_DIRENT_H
 #define BOOST_HAS_EXPM1
 #define BOOST_HAS_GETTIMEOFDAY
-#define BOOST_HAS_INT128
+#if defined(_SIZEOF_INT_128_)
+# define BOOST_HAS_INT128
+#endif
 #define BOOST_HAS_LOG1P
 #define BOOST_HAS_LONG_LONG
 #define BOOST_HAS_NANOSLEEP

Reply via email to