Guest User

Mongodb build output

a guest
Jul 31st, 2015
354
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vagrant@debian:~/mongo$ scons mongod
  2. scons: Reading SConscript files ...
  3. scons version: 2.3.1
  4. python version: 2 7 9 'final' 0
  5. Checking whether the C++ compiler works... (cached) yes
  6. Checking whether the C compiler works... (cached) yes
  7. Checking if C++ compiler "g++" is GCC... (cached) yes
  8. Checking if C compiler "gcc" is GCC... (cached) yes
  9. Detected a x86_64 processor
  10. Checking if target OS linux is supported by the toolchain (cached) yes
  11. Checking if C compiler is GCC 4.8.2 or newer...(cached) yes
  12. Checking if C++ compiler is GCC 4.8.2 or newer...(cached) yes
  13. Checking if C compiler supports -Wno-unused-local-typedefs... (cached) yes
  14. Checking if C compiler supports -Wno-unused-function... (cached) yes
  15. Checking if C compiler supports -Wno-unused-private-field... (cached) no
  16. Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes
  17. Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no
  18. Checking if C compiler supports -Wno-unused-const-variable... (cached) no
  19. Checking if C compiler supports -Wno-unused-but-set-variable... (cached) yes
  20. Checking if C compiler supports -Wno-missing-braces... (cached) yes
  21. Checking if C compiler supports -Wno-inconsistent-missing-override... (cached) no
  22. Checking if C compiler supports -Wno-potentially-evaluated-expression... (cached) no
  23. Checking if we are using libstdc++... (cached) yes
  24. Checking if C++ compiler supports -std=c++11... (cached) yes
  25. Checking if C compiler supports -std=c99... (cached) yes
  26. Checking for C++11... (cached) yes
  27. Checking for memset_s... (cached) no
  28. Checking for libstdc++ 4.8.2 or better... (cached) yes
  29. Checking if we are on a POSIX system... (cached) yes
  30. Checking if the POSIX monotonic clock is supported... (cached) yes
  31. Checking off_t is 8 bytes... (cached) yes
  32. Checking if C compiler supports -fno-builtin-memcmp... (cached) yes
  33. Checking for storage class thread_local (cached) yes
  34. Checking for storage class __thread (cached) yes
  35. Checking for storage class __declspec(thread) (cached) no
  36. Checking for C++11 is_trivially_copyable support... (cached) no
  37. Checking for C++14 std::make_unique support... (cached) no
  38. Checking for C library rt... (cached) yes
  39. Checking for C library dl... (cached) yes
  40. Checking for C++ header file execinfo.h... (cached) yes
  41. Checking whether backtrace is declared... (cached) yes
  42. Checking whether backtrace_symbols is declared... (cached) yes
  43. Checking whether backtrace_symbols_fd is declared... (cached) yes
  44. Checking for C library pcap... (cached) no
  45. Checking for C library wpcap... (cached) no
  46. Checking if std::atomic<int64_t> works... (cached) yes
  47. Checking if std::atomic<uint64_t> works... (cached) yes
  48. Checking if std::atomic<int32_t> works... (cached) yes
  49. Checking if std::atomic<uint32_t> works... (cached) yes
  50. Checking if __malloc_hook is declared volatile... (cached) yes
  51. Checking for C function fallocate()... (cached) yes
  52. Checking for C function sync_file_range()... (cached) yes
  53. scons: done reading SConscript files.
  54. scons: Building targets ...
  55. g++ -o build/opt/third_party/mozjs-38/extract/js/src/builtin/RegExp.o -c -Wnon-virtual-dtor -Woverloaded-virtual -std=c++11 -Wno-non-virtual-dtor -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -ggdb -pthread -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -include js-confdefs.h -Wno-invalid-offsetof -DAB_CD -DIMPL_MFBT -DJS_USE_CUSTOM_ALLOCATOR -DNO_NSPR_10_SUPPORT -DSTATIC_JS_API=1 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DPCRE_STATIC -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc -Ibuild/opt -Isrc -Ibuild/opt/third_party/mozjs-38/extract/js/src -Isrc/third_party/mozjs-38/extract/js/src -Ibuild/opt/third_party/mozjs-38/extract/mfbt -Isrc/third_party/mozjs-38/extract/mfbt -Ibuild/opt/third_party/mozjs-38/extract/intl/icu/source/common -Isrc/third_party/mozjs-38/extract/intl/icu/source/common -Ibuild/opt/third_party/mozjs-38/include -Isrc/third_party/mozjs-38/include -Ibuild/opt/third_party/mozjs-38/mongo_sources -Isrc/third_party/mozjs-38/mongo_sources -Ibuild/opt/third_party/mozjs-38/platform/x86_64/linux/build -Isrc/third_party/mozjs-38/platform/x86_64/linux/build -Ibuild/opt/third_party/mozjs-38/platform/x86_64/linux/include -Isrc/third_party/mozjs-38/platform/x86_64/linux/include -Isrc/third_party/zlib-1.2.8 src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp
  56. In file included from src/third_party/mozjs-38/extract/js/src/jstypes.h:133:0,
  57. from src/third_party/mozjs-38/include/js/Utility.h:26,
  58. from src/third_party/mozjs-38/extract/js/src/jsalloc.h:18,
  59. from src/third_party/mozjs-38/extract/js/src/jsatom.h:12,
  60. from src/third_party/mozjs-38/extract/js/src/vm/Runtime.h:21,
  61. from src/third_party/mozjs-38/extract/js/src/jscntxt.h:15,
  62. from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
  63. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
  64. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
  65. src/third_party/mozjs-38/extract/js/src/jscpucfg.h:71:4: error: #error "endian.h does not define __BYTE_ORDER nor BYTE_ORDER. Cannot determine endianness."
  66. # error "endian.h does not define __BYTE_ORDER nor BYTE_ORDER. Cannot determine endianness."
  67. ^
  68. In file included from src/third_party/mozjs-38/include/mozilla/Assertions.h:312:0,
  69. from src/third_party/mozjs-38/extract/mfbt/endian.h:67,
  70. from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
  71. from /usr/include/stdlib.h:42,
  72. from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
  73. from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
  74. from src/third_party/mozjs-38/include/js/Vector.h:10,
  75. from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
  76. from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
  77. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
  78. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
  79. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:26:1: error: template with C linkage
  80. template<typename> struct RemoveCV;
  81. ^
  82. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:34:1: error: template with C linkage
  83. template<typename T, T Value>
  84. ^
  85. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:52:1: error: template with C linkage
  86. template<typename T>
  87. ^
  88. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:55:1: error: template specialization with C linkage
  89. template<>
  90. ^
  91. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:68:1: error: template with C linkage
  92. template<typename T>
  93. ^
  94. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:73:1: error: template with C linkage
  95. template <typename T>
  96. ^
  97. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:76:1: error: template specialization with C linkage
  98. template<> struct IsIntegralHelper<char> : TrueType {};
  99. ^
  100. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:77:1: error: template specialization with C linkage
  101. template<> struct IsIntegralHelper<signed char> : TrueType {};
  102. ^
  103. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:78:1: error: template specialization with C linkage
  104. template<> struct IsIntegralHelper<unsigned char> : TrueType {};
  105. ^
  106. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:79:1: error: template specialization with C linkage
  107. template<> struct IsIntegralHelper<short> : TrueType {};
  108. ^
  109. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:80:1: error: template specialization with C linkage
  110. template<> struct IsIntegralHelper<unsigned short> : TrueType {};
  111. ^
  112. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:81:1: error: template specialization with C linkage
  113. template<> struct IsIntegralHelper<int> : TrueType {};
  114. ^
  115. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:82:1: error: template specialization with C linkage
  116. template<> struct IsIntegralHelper<unsigned int> : TrueType {};
  117. ^
  118. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:83:1: error: template specialization with C linkage
  119. template<> struct IsIntegralHelper<long> : TrueType {};
  120. ^
  121. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:84:1: error: template specialization with C linkage
  122. template<> struct IsIntegralHelper<unsigned long> : TrueType {};
  123. ^
  124. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:85:1: error: template specialization with C linkage
  125. template<> struct IsIntegralHelper<long long> : TrueType {};
  126. ^
  127. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:86:1: error: template specialization with C linkage
  128. template<> struct IsIntegralHelper<unsigned long long> : TrueType {};
  129. ^
  130. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:87:1: error: template specialization with C linkage
  131. template<> struct IsIntegralHelper<bool> : TrueType {};
  132. ^
  133. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:88:1: error: template specialization with C linkage
  134. template<> struct IsIntegralHelper<wchar_t> : TrueType {};
  135. ^
  136. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:90:1: error: template specialization with C linkage
  137. template<> struct IsIntegralHelper<char16_t> : TrueType {};
  138. ^
  139. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:107:1: error: template with C linkage
  140. template<typename T>
  141. ^
  142. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:111:1: error: template with C linkage
  143. template<typename T, typename U>
  144. ^
  145. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:116:1: error: template with C linkage
  146. template<typename T>
  147. ^
  148. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:135:1: error: template with C linkage
  149. template<typename T>
  150. ^
  151. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:142:1: error: template with C linkage
  152. template<typename T>
  153. ^
  154. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:145:1: error: template with C linkage
  155. template<typename T, decltype(sizeof(1)) N>
  156. ^
  157. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:148:1: error: template with C linkage
  158. template<typename T>
  159. ^
  160. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:161:1: error: template with C linkage
  161. template<typename T>
  162. ^
  163. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:175:1: error: template with C linkage
  164. template<typename T>
  165. ^
  166. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:178:1: error: template with C linkage
  167. template<typename T>
  168. ^
  169. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:192:1: error: template with C linkage
  170. template<typename T>
  171. ^
  172. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:195:1: error: template with C linkage
  173. template<typename T>
  174. ^
  175. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:209:1: error: template with C linkage
  176. template<typename T>
  177. ^
  178. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:212:1: error: template with C linkage
  179. template<typename T>
  180. ^
  181. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:218:1: error: template with C linkage
  182. template<typename T>
  183. ^
  184. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:232:1: error: template with C linkage
  185. template<typename T>
  186. ^
  187. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:243:1: error: template with C linkage
  188. template<typename T>
  189. ^
  190. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:259:1: error: template with C linkage
  191. template<typename T>
  192. ^
  193. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:280:1: error: template with C linkage
  194. template<typename T>
  195. ^
  196. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:294:1: error: template with C linkage
  197. template<typename T>
  198. ^
  199. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:308:1: error: template with C linkage
  200. template<typename T>
  201. ^
  202. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:311:1: error: template with C linkage
  203. template<typename T>
  204. ^
  205. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:321:1: error: template with C linkage
  206. template<typename T>
  207. ^
  208. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:324:1: error: template with C linkage
  209. template<typename T>
  210. ^
  211. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:335:1: error: template with C linkage
  212. template<typename T>
  213. ^
  214. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:338:1: error: template specialization with C linkage
  215. template<> struct IsPod<char> : TrueType {};
  216. ^
  217. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:339:1: error: template specialization with C linkage
  218. template<> struct IsPod<signed char> : TrueType {};
  219. ^
  220. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:340:1: error: template specialization with C linkage
  221. template<> struct IsPod<unsigned char> : TrueType {};
  222. ^
  223. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:341:1: error: template specialization with C linkage
  224. template<> struct IsPod<short> : TrueType {};
  225. ^
  226. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:342:1: error: template specialization with C linkage
  227. template<> struct IsPod<unsigned short> : TrueType {};
  228. ^
  229. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:343:1: error: template specialization with C linkage
  230. template<> struct IsPod<int> : TrueType {};
  231. ^
  232. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:344:1: error: template specialization with C linkage
  233. template<> struct IsPod<unsigned int> : TrueType {};
  234. ^
  235. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:345:1: error: template specialization with C linkage
  236. template<> struct IsPod<long> : TrueType {};
  237. ^
  238. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:346:1: error: template specialization with C linkage
  239. template<> struct IsPod<unsigned long> : TrueType {};
  240. ^
  241. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:347:1: error: template specialization with C linkage
  242. template<> struct IsPod<long long> : TrueType {};
  243. ^
  244. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:348:1: error: template specialization with C linkage
  245. template<> struct IsPod<unsigned long long> : TrueType {};
  246. ^
  247. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:349:1: error: template specialization with C linkage
  248. template<> struct IsPod<bool> : TrueType {};
  249. ^
  250. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:350:1: error: template specialization with C linkage
  251. template<> struct IsPod<float> : TrueType {};
  252. ^
  253. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:351:1: error: template specialization with C linkage
  254. template<> struct IsPod<double> : TrueType {};
  255. ^
  256. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:352:1: error: template specialization with C linkage
  257. template<> struct IsPod<wchar_t> : TrueType {};
  258. ^
  259. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:354:1: error: template specialization with C linkage
  260. template<> struct IsPod<char16_t> : TrueType {};
  261. ^
  262. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:356:1: error: template with C linkage
  263. template<typename T> struct IsPod<T*> : TrueType {};
  264. ^
  265. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:364:1: error: template with C linkage
  266. template<typename T>
  267. ^
  268. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:411:1: error: template with C linkage
  269. template<typename T>
  270. ^
  271. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:418:1: error: template with C linkage
  272. template<typename T,
  273. ^
  274. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:425:1: error: template with C linkage
  275. template<typename T, typename NoCV>
  276. ^
  277. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:429:1: error: template with C linkage
  278. template<typename T, typename NoCV>
  279. ^
  280. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:435:1: error: template with C linkage
  281. template<typename T, typename NoCV>
  282. ^
  283. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:449:1: error: template with C linkage
  284. template<typename T>
  285. ^
  286. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:454:1: error: template with C linkage
  287. template<typename T,
  288. ^
  289. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:461:1: error: template with C linkage
  290. template<typename T, typename NoCV>
  291. ^
  292. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:465:1: error: template with C linkage
  293. template<typename T, typename NoCV>
  294. ^
  295. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:472:1: error: template with C linkage
  296. template<typename T, typename NoCV>
  297. ^
  298. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:485:1: error: template with C linkage
  299. template<typename T>
  300. ^
  301. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:502:1: error: template with C linkage
  302. template<typename T, typename U>
  303. ^
  304. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:505:1: error: template with C linkage
  305. template<typename T>
  306. ^
  307. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:512:1: error: template with C linkage
  308. template<class Base, class Derived>
  309. ^
  310. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:581:1: error: template with C linkage
  311. template<class Base, class Derived>
  312. ^
  313. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:588:1: error: template with C linkage
  314. template<typename From, typename To>
  315. ^
  316. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:628:1: error: template with C linkage
  317. template<typename From, typename To>
  318. ^
  319. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:645:1: error: template with C linkage
  320. template<typename T>
  321. ^
  322. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:651:1: error: template with C linkage
  323. template<typename T>
  324. ^
  325. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:665:1: error: template with C linkage
  326. template<typename T>
  327. ^
  328. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:671:1: error: template with C linkage
  329. template<typename T>
  330. ^
  331. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:685:1: error: template with C linkage
  332. template<typename T>
  333. ^
  334. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:701:1: error: template with C linkage
  335. template<typename T>
  336. ^
  337. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:707:1: error: template with C linkage
  338. template<typename T>
  339. ^
  340. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:713:1: error: template with C linkage
  341. template<typename T>
  342. ^
  343. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:719:1: error: template with C linkage
  344. template<bool Condition, typename A, typename B>
  345. ^
  346. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:726:1: error: template with C linkage
  347. template<typename T, Voidness V = IsVoid<T>::value ? TIsVoid : TIsNotVoid>
  348. ^
  349. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:729:1: error: template with C linkage
  350. template<typename T>
  351. ^
  352. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:735:1: error: template with C linkage
  353. template<typename T>
  354. ^
  355. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:757:1: error: template with C linkage
  356. template<typename T>
  357. ^
  358. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:764:1: error: template with C linkage
  359. template<bool B, typename T = void>
  360. ^
  361. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:769:1: error: template with C linkage
  362. template<bool MakeConst, typename T>
  363. ^
  364. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:773:1: error: template with C linkage
  365. template<bool MakeVolatile, typename T>
  366. ^
  367. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:778:1: error: template with C linkage
  368. template<bool MakeConst, bool MakeVolatile, typename T>
  369. ^
  370. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:782:1: error: template with C linkage
  371. template<typename T>
  372. ^
  373. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:785:1: error: template specialization with C linkage
  374. template<>
  375. ^
  376. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:787:1: error: template specialization with C linkage
  377. template<>
  378. ^
  379. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:789:1: error: template specialization with C linkage
  380. template<>
  381. ^
  382. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:791:1: error: template specialization with C linkage
  383. template<>
  384. ^
  385. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:793:1: error: template specialization with C linkage
  386. template<>
  387. ^
  388. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:795:1: error: template specialization with C linkage
  389. template<>
  390. ^
  391. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:798:1: error: template with C linkage
  392. template<typename T,
  393. ^
  394. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:804:1: error: template with C linkage
  395. template<typename T, typename CVRemoved>
  396. ^
  397. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:810:1: error: template with C linkage
  398. template<typename T, typename CVRemoved>
  399. ^
  400. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:840:1: error: template with C linkage
  401. template<typename T>
  402. ^
  403. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:850:1: error: template with C linkage
  404. template<typename T>
  405. ^
  406. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:853:1: error: template specialization with C linkage
  407. template<>
  408. ^
  409. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:855:1: error: template specialization with C linkage
  410. template<>
  411. ^
  412. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:857:1: error: template specialization with C linkage
  413. template<>
  414. ^
  415. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:859:1: error: template specialization with C linkage
  416. template<>
  417. ^
  418. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:861:1: error: template specialization with C linkage
  419. template<>
  420. ^
  421. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:863:1: error: template specialization with C linkage
  422. template<>
  423. ^
  424. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:867:1: error: template with C linkage
  425. template<typename T,
  426. ^
  427. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:873:1: error: template with C linkage
  428. template<typename T, typename CVRemoved>
  429. ^
  430. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:879:1: error: template with C linkage
  431. template<typename T, typename CVRemoved>
  432. ^
  433. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:909:1: error: template with C linkage
  434. template<typename T>
  435. ^
  436. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:928:1: error: template with C linkage
  437. template<typename T>
  438. ^
  439. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:934:1: error: template with C linkage
  440. template<typename T>
  441. ^
  442. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:940:1: error: template with C linkage
  443. template<typename T, decltype(sizeof(1)) N>
  444. ^
  445. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:968:1: error: template with C linkage
  446. template<bool B, typename T>
  447. ^
  448. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:972:1: error: template with C linkage
  449. template<typename T>
  450. ^
  451. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:984:1: error: template with C linkage
  452. template<bool Condition, typename A, typename B>
  453. ^
  454. src/third_party/mozjs-38/include/mozilla/TypeTraits.h:990:1: error: template with C linkage
  455. template<class A, class B>
  456. ^
  457. In file included from src/third_party/mozjs-38/extract/mfbt/endian.h:67:0,
  458. from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
  459. from /usr/include/stdlib.h:42,
  460. from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
  461. from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
  462. from src/third_party/mozjs-38/include/js/Vector.h:10,
  463. from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
  464. from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
  465. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
  466. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
  467. src/third_party/mozjs-38/include/mozilla/Assertions.h:316:1: error: template with C linkage
  468. template<typename T>
  469. ^
  470. src/third_party/mozjs-38/include/mozilla/Assertions.h:322:1: error: template with C linkage
  471. template<typename R, typename... A>
  472. ^
  473. src/third_party/mozjs-38/include/mozilla/Assertions.h:328:1: error: template with C linkage
  474. template<typename T>
  475. ^
  476. In file included from src/third_party/mozjs-38/extract/mfbt/endian.h:70:0,
  477. from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
  478. from /usr/include/stdlib.h:42,
  479. from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
  480. from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
  481. from src/third_party/mozjs-38/include/js/Vector.h:10,
  482. from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
  483. from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
  484. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
  485. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
  486. src/third_party/mozjs-38/include/mozilla/DebugOnly.h:36:1: error: template with C linkage
  487. template<typename T>
  488. ^
  489. In file included from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64:0,
  490. from /usr/include/stdlib.h:42,
  491. from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
  492. from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
  493. from src/third_party/mozjs-38/include/js/Vector.h:10,
  494. from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
  495. from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
  496. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
  497. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
  498. src/third_party/mozjs-38/extract/mfbt/endian.h:167:1: error: template with C linkage
  499. template<typename T, size_t Size = sizeof(T)>
  500. ^
  501. src/third_party/mozjs-38/extract/mfbt/endian.h:170:1: error: template with C linkage
  502. template<typename T>
  503. ^
  504. src/third_party/mozjs-38/extract/mfbt/endian.h:183:1: error: template with C linkage
  505. template<typename T>
  506. ^
  507. src/third_party/mozjs-38/extract/mfbt/endian.h:201:1: error: template with C linkage
  508. template<typename T>
  509. ^
  510. src/third_party/mozjs-38/extract/mfbt/endian.h:248:3: error: template with C linkage
  511. template<typename T>
  512. ^
  513. src/third_party/mozjs-38/extract/mfbt/endian.h:259:3: error: template with C linkage
  514. template<Endianness SourceEndian, Endianness DestEndian, typename T>
  515. ^
  516. src/third_party/mozjs-38/extract/mfbt/endian.h:272:3: error: template with C linkage
  517. template<Endianness SourceEndian, Endianness DestEndian, typename T>
  518. ^
  519. src/third_party/mozjs-38/extract/mfbt/endian.h:289:3: error: template with C linkage
  520. template<Endianness SourceEndian, Endianness DestEndian, typename T>
  521. ^
  522. src/third_party/mozjs-38/extract/mfbt/endian.h:317:3: error: template with C linkage
  523. template<Endianness SourceEndian, Endianness DestEndian, typename T>
  524. ^
  525. src/third_party/mozjs-38/extract/mfbt/endian.h:342:1: error: template with C linkage
  526. template<Endianness ThisEndian>
  527. ^
  528. src/third_party/mozjs-38/extract/mfbt/endian.h:623:1: error: template with C linkage
  529. template<Endianness ThisEndian>
  530. ^
  531. In file included from /usr/include/stdlib.h:42:0,
  532. from src/third_party/mozjs-38/include/mozilla/AllocPolicy.h:18,
  533. from src/third_party/mozjs-38/include/mozilla/Vector.h:13,
  534. from src/third_party/mozjs-38/include/js/Vector.h:10,
  535. from src/third_party/mozjs-38/extract/js/src/jscntxt.h:14,
  536. from src/third_party/mozjs-38/extract/js/src/vm/RegExpObject.h:13,
  537. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.h:10,
  538. from src/third_party/mozjs-38/extract/js/src/builtin/RegExp.cpp:7:
  539. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:79:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_retcode'
  540. unsigned int __w_retcode:8;
  541. ^
  542. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:74:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_retcode'
  543. unsigned int __w_retcode:8; /* Return code if exited normally. */
  544. ^
  545. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:80:28: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_coredump'
  546. unsigned int __w_coredump:1;
  547. ^
  548. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:73:28: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_coredump'
  549. unsigned int __w_coredump:1; /* Set if dumped core. */
  550. ^
  551. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:81:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_termsig'
  552. unsigned int __w_termsig:7;
  553. ^
  554. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:72:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_termsig'
  555. unsigned int __w_termsig:7; /* Terminating signal. */
  556. ^
  557. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:93:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_stopsig'
  558. unsigned int __w_stopsig:8; /* Stopping signal. */
  559. ^
  560. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:88:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_stopsig'
  561. unsigned int __w_stopsig:8; /* Stopping signal. */
  562. ^
  563. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:94:27: error: redeclaration of 'unsigned int wait::<anonymous struct>::__w_stopval'
  564. unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
  565. ^
  566. /usr/include/x86_64-linux-gnu/bits/waitstatus.h:87:27: note: previous declaration 'unsigned int wait::<anonymous struct>::__w_stopval'
  567. unsigned int __w_stopval:8; /* W_STOPPED if stopped. */
  568. ^
  569. scons: *** [build/opt/third_party/mozjs-38/extract/js/src/builtin/RegExp.o] Error 1
  570. scons: building terminated because of errors.
RAW Paste Data