Date: Wed, 27 Jun 2018 11:44:50 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Dimitry Andric <dim@freebsd.org> Cc: Mark Millard <marklmi@yahoo.com>, "current@freebsd.org" <current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Subject: Re: Build updates [ ci.freebsd.org FreeBSD-head-{aarch64, armv7, armv6}-build failures as of, for example -r335711 and -r335713 ] Message-ID: <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> In-Reply-To: <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> References: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8lDovXtvI7prJyplLJsZvEcFWw1mmBOh5 Content-Type: multipart/mixed; boundary="wArheKcUXa20en6U7KLrSAMapXswdFDlg"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Dimitry Andric <dim@freebsd.org> Cc: Mark Millard <marklmi@yahoo.com>, "current@freebsd.org" <current@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org> Message-ID: <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> Subject: Re: Build updates [ ci.freebsd.org FreeBSD-head-{aarch64,armv7,armv6}-build failures as of, for example -r335711 and -r335713 ] References: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> In-Reply-To: <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> --wArheKcUXa20en6U7KLrSAMapXswdFDlg Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/27/2018 10:53 AM, Mark Millard wrote: >=20 >> On 2018-Jun-27, at 10:01 AM, Bryan Drewery <bdrewery at FreeBSD.org> w= rote: >> >> As of r335704: >> >> - make tinderbox/universe will now build the bootstrap clang *once*. >> Each target clang is still build of course. This support does not wor= k >> with gcc. >> - make buildworld (kernel-toolchain and toolchain) will build the >> bootstrap clang (if needed per SYSTEM_COMPILER logic) with only the >> TARGET.TARGET_ARCH backend support. The installed clang has all still = so >> SYSTEM_COMPILER logic works for cross-compling. >> >> This uses the feature dim@ added in r335558 to selectively disable LLV= M >> targets. I've added a new option named WITH[OUT]_LLVM_TARGET_ALL which= I >> suggest using rather than the per-arch options. It is default on (WITH= ). >> Set WITHOUT to only build the needed native arch on your system for bo= th >> bootstrap and compiled clang. Setting WITHOUT disables SYSTEM_COMPILER= >> support for cross-builds. >> >> Please CC me directly for any weird tinderbox/universe or clang failur= es >> for the next few weeks. Thanks! >=20 > https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/8324/consoleText >=20 > --- all_subdir_cloudabi32 --- > clang (LLVM option parsing): Unknown command line argument '-arm-add-bu= ild-attributes'. Try: 'clang (LLVM option parsing) -help' > clang (LLVM option parsing): Did you mean '-force-attribute'? > *** [cloudabi32_vdso.o] Error code 1 >=20 This was an aarch64 build. It looks like -arm-add-build-attributes is from Target/ARM/AsmParser/ARMAsmParser.cpp which is only built for LLVM_TARGET_ARM but not LLVM_TARGET_AARCH64. Looking in contrib/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp I see the option is only added for: case llvm::Triple::arm: case llvm::Triple::armeb: case llvm::Triple::thumb: case llvm::Triple::thumbeb: But not llvm::Triple::aarch64. So where is it coming from? >=20 > https://ci.freebsd.org/job/FreeBSD-head-armv7-build/460/consoleText > (armv6 is similar) >=20 > --- all_subdir_lib/clang/libllvm --- > =3D=3D=3D> lib/clang/libllvm (all) > [Creating objdir /usr/obj/usr/src/arm.armv7/tmp/obj-tools/lib/clang/lib= llvm...] > make[4]: "/usr/src/lib/clang/libllvm/Makefile" line 16: Please enable a= t least one of: MK_LLVM_TARGET_AARCH64, MK_LLVM_TARGET_ARM, MK_LLVM_TARGE= T_MIPS, MK_LLVM_TARGET_POWERPC, MK_LLVM_TARGET_SPARC, or MK_LLVM_TARGET_X= 86 > *** [all_subdir_lib/clang/libllvm] Error code 1 >=20 Arm failures fixed in r335718. --=20 Regards, Bryan Drewery --wArheKcUXa20en6U7KLrSAMapXswdFDlg-- --8lDovXtvI7prJyplLJsZvEcFWw1mmBOh5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJbM9siAAoJEDXXcbtuRpfPQIoH/ivFPq06sSIGl+LxshqQjiwr HZwSJbWxpCaEfPzSMYuqwnY0+we6gNZDYxiG6HxK6AFJMAblCn1hZ2utrDcu/EHO U1h1o9HvkC70qI429CIzIsWhltri42LdOQDkBj2K2GjRJOlrxWJQHcAVwKnweLQI wIL4fstGuStRWazD+OZIGz2lcBJ+i+B8OiGOB2TvN69fbAhC0GNmfno8DH4g9H0+ 2DkFw7/rR/jMNI7s1UrxXZaW7QWz6FIVvWVAenAOIkMY66vL60VBCmL0yyBLdkmi LFAok7MatxCpGbRQEPHggFK28jDeFKuD2kY+WCtiD4JXqhxZsDth5Mgob4Tju+o= =bxGI -----END PGP SIGNATURE----- --8lDovXtvI7prJyplLJsZvEcFWw1mmBOh5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?555a1ac0-a7e8-3ca1-019e-41cf829cbff0>