Date: Fri, 27 Jul 2018 08:58:14 -0700 From: Mark Millard <marklmi@yahoo.com> To: John Baldwin <jhb@freebsd.org> Cc: Konstantin Belousov <kib@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: head -r336568 and -r336570 appears to have made ci.freebsg.org's FreeBSD-head-amd64-gcc fail either than it had been (error: operand type 'struct <anonymous> *' is incompatible with argument 1 of '__atomic_fetch_add') Message-ID: <8E61EA21-2DBE-4DED-A7E6-CCE4C79D0359@yahoo.com> In-Reply-To: <ECEF39B4-4A40-42C6-8A17-B989D23C7C3C@yahoo.com> References: <AED126D8-AFB9-4BF6-81AF-A3CE5F16D2AB@yahoo.com> <EDDB87CC-3CC6-4A71-AF6D-B193F26BB692@yahoo.com> <95fdbf29-6c11-77a6-27a3-2d0dc30f1668@FreeBSD.org> <788B1EE7-EFC9-4AD4-9FD1-9876D0121189@yahoo.com> <9D40F38E-F1DC-4A3F-8792-09AD30D8802B@yahoo.com> <D06CD69A-F0E5-4935-8B64-D1ADB7B6D90A@yahoo.com> <1ea2a8d0-b27a-503a-0a8b-48d7fbcd8fcb@FreeBSD.org> <0103123A-2D77-4D64-8FF6-97CD521CA7A8@yahoo.com> <11b515f2-5777-f983-bec5-e60bceda06ab@FreeBSD.org> <6DB0B921-30C8-4BF5-B610-770C0CBF1174@yahoo.com> <E3CFA058-D879-4E25-A8BA-C052803AE509@yahoo.com> <462BE582-0C2E-4D40-92F3-A27155777E58@yahoo.com> <1E03ECE7-297C-4D40-BC58-FB1903538181@yahoo.com> <ECEF39B4-4A40-42C6-8A17-B989D23C7C3C@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Jul-27, at 8:52 AM, Mark Millard <marklmi atyahoo.com> wrote: > On 2018-Jul-27, at 12:12 AM, Mark Millard <marklmi at yahoo.com> = wrote: >=20 > On 2018-Jul-26, at 11:29 PM, Mark Millard <marklmi at yahoo.com> = wrote: >=20 >> . . . >> I was looking too locally: the overall context has an outer #if >> as well that skips the section: >>=20 >> /* >> * Keywords added in C11. >> */ >>=20 >> #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L >> . . . >> #if !defined(__cplusplus) && !__has_extension(c_atomic) && \ >> !__has_extension(cxx_atomic) >> /* >> * No native support for _Atomic(). Place object in structure to = prevent >> * most forms of direct non-atomic access. >> */ >> #define _Atomic(T) struct { T volatile __val; } >> #endif >> . . . >> #endif /* __STDC_VERSION__ || __STDC_VERSION__ < 201112L */ >>=20 >>=20 >>=20 >>=20 >> The build with gcc's float.h also removed did complete instead of >> stopping early. >>=20 >>=20 >>=20 >> As for what x86_64-unknown-freebsd12.0 .h files were used: >> (some may do include_next back into FreeBSD headers) >>=20 >>=20 >> # find /usr/obj/amd64_xtoolchain-gcc/ -name "*.meta" -exec grep "^R = .*/x86_64-unknown-freebsd12.0/.*\.h" {} \; | sort -k 3 | uniq -f 2 | = more >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/adxintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/ammintrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx2intrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512bwintrin= .h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512cdintrin= .h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512dqintrin= .h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512erintrin= .h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512fintrin.= h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512ifmaintr= in.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512ifmavlin= trin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512pfintrin= .h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512vbmiintr= in.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512vbmivlin= trin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512vlbwintr= in.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512vldqintr= in.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avx512vlintrin= .h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/avxintrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/bmi2intrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/bmiintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/clflushoptintr= in.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/clwbintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/clzerointrin.h= >> R 56022 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/cpuid.h >> R 1222 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/emmintrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/f16cintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/fma4intrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/fmaintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/fxsrintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/ia32intrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/immintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/lwpintrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/lzcntintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/mm3dnow.h >> R 1222 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/mm_malloc.h >> R 1222 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/mmintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/mwaitxintrin.h= >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/pkuintrin.h >> R 1336 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/pmmintrin.h >> R 1485 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/popcntintrin.h= >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/prfchwintrin.h= >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/rdseedintrin.h= >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/rtmintrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/shaintrin.h >> R 1485 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/smmintrin.h >> R 10000 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/stdarg.h >> R 27622 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/stdatomic.h >> R 10000 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/stdbool.h >> R 10025 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/stddef.h >> R 10000 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/stdint.h >> R 68604 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/stdnoreturn.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/tbmintrin.h >> R 1336 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/tmmintrin.h >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/wmmintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/x86intrin.h >> R 1222 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xmmintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xopintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xsavecintrin.h= >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xsaveintrin.h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xsaveoptintrin= .h >> R 1595 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xsavesintrin.h= >> R 1520 = /usr/local/lib/gcc/x86_64-unknown-freebsd12.0/6.4.0/include/xtestintrin.h >=20 > FYI: a devel/powerpc64-gcc amd64 -> powerpc64 cross build completed = (lib32 build > disabled for other reasons). [ ci.freebsd.org only tries amd64-gcc = based .] >=20 > For reference: > (some may do include_next back into FreeBSD headers) >=20 > # find /usr/obj/powerpc64vtsc_xtoolchain-gcc-no_toolchain/ -name = "*.meta" -exec grep "^R .*/.*-unknown-freebsd12.0/.*/include/" {} \; | = sort -k 3 | uniq -f 2 | more > R 1003 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/float.h > R 10005 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/stdarg.h > R 38468 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/stdatomic.h= > R 10001 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/stdbool.h > R 10050 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/stddef.h > R 10000 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/stdint.h > R 74283 = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/stdnoreturn= .h I forgot to write for the powerpc64-gcc case: The build had no system clang or gcc 4.2.1 toolchain built either: it is = one I use for base/{binutils,gcc} experiments (when I have access to the hardware). So this avoided the altivec.h potential issue in building the clang = related materials for powerpc64. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net <http://dsl-only.net/> went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8E61EA21-2DBE-4DED-A7E6-CCE4C79D0359>