From owner-freebsd-toolchain@freebsd.org Sun Jun 24 05:56:35 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F35AF1019CA9 for ; Sun, 24 Jun 2018 05:56:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-15.consmr.mail.bf2.yahoo.com (sonic311-15.consmr.mail.bf2.yahoo.com [74.6.131.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A8997B105 for ; Sun, 24 Jun 2018 05:56:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 0ZcGmKMVM1m0_lOfyk1HHf0C_us2_kdBxcnVcxHxahrimHds.l.MfeaXuJ_aRRU qCB5TJXJOqZC3QebrBFocrh3ZjguLqXgkcXyFxnv5VtUJOzbyaiyL63gTPEITA2q9wO7Ntgv4BE2 0mBLKPcihKWw.oE0Gdu23ElIDhFsCmAUbvr0PvOhR8EfBT3XfsEjeRM7yZPOF8eeXhrQ8cmjaGIQ y2SSgxmdaowsp32FxvXRr8kgUdJPTpzsvmjgfQEd1ROiWgHjAR9RM0z32vNn0CicFwMqy0VcsZSd yguxWx94uM0a1BOvQIBZ04R0X1UH8lLHypnD9FeevcFpB3nna9.HFSrcCVpOSADOrqrbMyBK6N4N 8E7ptg9_pyTvmg.z1SLxi5icF2QjruQ6ulIPSHYcsLLNc6GvkAjix.ujgFPK1R_y7KShxa_CrIVH XnWw0SCUh1D_nGAK_SODeUVbga3vpOzB4l2kIYwJcKWVrQ.KwxOBWbKd281hJidkVwZnOdCZKeC3 mQHaCtxi5jxyudY5W3V.XEelpT0lFZf1ySlQqp2TnarpaO5XXtTCOeaijTUVq394JMLUP.8qGbNv JzFHiaYGWrTQizxpcANO7pefODX3ycl3R72EucBJMtkwZeOqsjzNmviUvylvKhBsOvZp7VXi8fbF 4emEH9bEWpDSpNMGm4iP8qbH.WhbGRHa4ERsM_FrtP5MHElHA0IcIc2Eg1y3083q0.6RK5HBnpe. NkIpuIrw5Nz13HW6ipXHMKqX0kxvH_p.C_YMGn7zH0r.H5eUNm6jgP3fTeIuWPX3PuKl_HbbyXJL GutP54g7Adwb7.2gQv8bxHeOkVVm47hLM6ertzeB4nPinjTHG0kGuD4oJlYf8oj5EPTShKk3HzNc Wp5TUEIiT4oSLHEKdBC3MeAhiDgbYfcVm1ToCii4kdExAGECSOf4_jTlWbZUWDRm1PXJcQ_PM1Nu DLGnq1Qu2yQQKJvtottRkKw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Sun, 24 Jun 2018 05:56:28 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp410.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 140f530341776fe5b1cf7c64b828f6ee; Sun, 24 Jun 2018 05:56:26 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: system clang based head -r334932 amd64 -> powerpc64 cross build: fatal error: 'altivec.h' file not found in stage 4.2 "building libraries" From: Mark Millard In-Reply-To: <9E5016CA-8642-4E01-8E28-F33244BADB15@yahoo.com> Date: Sat, 23 Jun 2018 22:56:24 -0700 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <7D944C97-ECEC-4D4B-8C2D-2D508E0C0ADD@yahoo.com> References: <2DEAB250-1D93-4009-82F4-BB55CD4E406D@yahoo.com> <9E5016CA-8642-4E01-8E28-F33244BADB15@yahoo.com> To: FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 05:56:35 -0000 [Still true of -r335385. But, based on a build of devel/llvm60 supplying the XCC/XCXX/XCPP, FreeBSD can be built, including the clang compiler. The problem is FreeBSD system-clang-building specific, not general to llvm targeting powerp64.] On 2018-Jun-11, at 12:58 PM, Mark Millard wrote: > On 2018-Jun-11, at 6:37 AM, Mark Millard wrote: >=20 >> [Note: I sometimes build for powerpc families via clang >> as part of identifying what is not yet working. Currently >> I do not have access to any powerpc system so I only build. >> This involves using devel/powerpc-binutils currently.] >>=20 >> Despite for head -r334932: >>=20 >> # find /usr/src/* -name altivec.h -print=20 >> /usr/src/contrib/llvm/tools/clang/lib/Headers/altivec.h >> /usr/src/contrib/gcc/config/rs6000/altivec.h >> /usr/src/sys/powerpc/include/altivec.h >=20 > I should have noted someplace that the correct binding for the context > is for Lex/Lexer.cpp to find: >=20 > /usr/src/contrib/llvm/tools/clang/lib/Headers/altivec.h >=20 > and not one of the FreeBSD headers. (Very different content.) >=20 >> and: >>=20 >> # find /usr/obj/powerpc64vtsc_clang_altbinutils -name altivec.h = -print >> = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/tmp/usr/include/machine/altivec.h >> = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/tmp/usr/lib/clang/6.0.0/include/altivec.h >> = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/obj-lib32/tmp/usr/include/machine/altivec.h >>=20 >> and: >>=20 >> # find /usr/local -name altivec.h -print >> = /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.4.0/include/altivec.h >> /usr/local/llvm50/lib/clang/5.0.0/include/altivec.h >> /usr/local/llvm60/lib/clang/6.0.0/include/altivec.h >>=20 >> and use of clang/clang++: >>=20 >> # c++ --version >> FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on = LLVM 6.0.0) >> Target: x86_64-unknown-freebsd12.0 >> Thread model: posix >> InstalledDir: /usr/bin >>=20 >> my attempt to amd64 -> powerpc64 cross build (-j4) got: >>=20 >> . . . >> Building = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/lib/clang/libclang/Lex/Lexer.o >> Building = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/lib/clang/libclang/Lex/LiteralSupport.o >> --- Lex/Lexer.o --- >> /usr/src/contrib/llvm/tools/clang/lib/Lex/Lexer.cpp:2401:10: fatal = error: 'altivec.h' file not found >> #include >> ^~~~~~~~~~~ >> 1 error generated. >> *** [Lex/Lexer.o] Error code 1 >>=20 >> make[6]: stopped in /usr/src/lib/clang/libclang >> .ERROR_TARGET=3D'Lex/Lexer.o' >> = .ERROR_META_FILE=3D'/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.power= pc64/usr/src/powerpc.powerpc64/lib/clang/libclang/Lex_Lexer.o.meta' >> .MAKE.LEVEL=3D'6' >> MAKEFILE=3D'' >> .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes = silent=3Dyes verbose' >> _ERROR_CMD=3D'c++ -target powerpc64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr= /src/powerpc.powerpc64/tmp = -B/usr/local/powerpc64-unknown-freebsd12.0/bin/ -O2 -pipe = -I/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/power= pc.powerpc64/lib/clang/libclang = -I/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/power= pc.powerpc64/lib/clang/libllvm = -I/usr/src/contrib/llvm/tools/clang/lib/Basic = -I/usr/src/contrib/llvm/tools/clang/lib/Driver = -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT = -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include = -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL = -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"powerpc64-unknown-freebsd12.0\" = -DLLVM_HOST_TRIPLE=3D\"powerpc64-unknown-freebsd12.0\" = -DDEFAULT_SYSROOT=3D\"\" -ffunction-sections -fdata-sections = -gline-tables-only -fstack-protector-strong -Qunused-arguments = -std=3Dc++11 -fno-exceptions -fno-rtti -gline-tables-only -stdlib=3Dlibc++= -Wno-c++11-extensions -c = /usr/src/contrib/llvm/tools/clang/lib/Lex/Lexer.cpp -o Lex/Lexer.o;' >> .CURDIR=3D'/usr/src/lib/clang/libclang' >> .MAKE=3D'make' >> = .OBJDIR=3D'/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/= src/powerpc.powerpc64/lib/clang/libclang' >> .TARGETS=3D'all' >> = DESTDIR=3D'/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/= src/powerpc.powerpc64/tmp' >> LD_LIBRARY_PATH=3D'' >> MACHINE=3D'powerpc' >> MACHINE_ARCH=3D'powerpc64' >> MAKEOBJDIRPREFIX=3D'' >> MAKESYSPATH=3D'/usr/src/share/mk' >> MAKE_VERSION=3D'20180512' >> = PATH=3D'/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src= /powerpc.powerpc64/tmp/legacy/usr/sbin:/usr/obj/powerpc64vtsc_clang_altbin= utils/powerpc.powerpc64/usr/src/powerpc.powerpc64/tmp/legacy/usr/bin:/usr/= obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc.powe= rpc64/tmp/legacy/bin:/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powe= rpc64/usr/src/powerpc.powerpc64/tmp/usr/sbin:/usr/obj/powerpc64vtsc_clang_= altbinutils/powerpc.powerpc64/usr/src/powerpc.powerpc64/tmp/usr/bin:/sbin:= /bin:/usr/sbin:/usr/bin' >> SRCTOP=3D'/usr/src' >> = OBJTOP=3D'/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/s= rc/powerpc.powerpc64' >> .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.powerpc64-clang_altbinutils-bootstrap.amd64-hos= t /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null = /usr/src/lib/clang/libclang/Makefile /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/lib/clang/clang.pre.mk = /usr/src/lib/clang/llvm.pre.mk /usr/src/lib/clang/clang.build.mk = /usr/src/lib/clang/llvm.build.mk /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk = /usr/src/lib/clang/libclang/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' >> .PATH=3D'. /usr/src/lib/clang/libclang = /usr/src/contrib/llvm/tools/clang/lib' >> 1 error >>=20 >>=20 >> I'll note that the -I's for include/'s: >>=20 >> -I/usr/src/contrib/llvm/tools/clang/include >> -I/usr/src/lib/clang/include >> -I/usr/src/contrib/llvm/include >=20 > So: >=20 > /usr/src/contrib/llvm/tools/clang/lib/Headers >=20 > is missing and is where altivec.h should be found for > the include in Lex/Lexer.cpp . >=20 > It is too bad that the altivec.h naming matches between > clang-internal headers and FreeBSD headers, making > correct selection messier to deal with. >=20 > The code in Lx/Lexer.cpp looks like: >=20 > #ifdef __SSE2__ > #include > #elif __ALTIVEC__ > #include > #undef bool > #endif >=20 >=20 >> do not seem to match up with any of: >>=20 >> /usr/src/contrib/llvm/tools/clang/lib/Headers/ >> /usr/src/sys/powerpc/include/ >> = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/tmp/usr/include/machine/altivec.h >> = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/tmp/usr/lib/clang/6.0.0/include/altivec.h >> = /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc= .powerpc64/obj-lib32/tmp/usr/include/machine/altivec.h >>=20 >>=20 >> For reference: >>=20 >> # more = ~/src.configs/src.conf.powerpc64-clang_altbinutils-bootstrap.amd64-host=20= >> TO_TYPE=3Dpowerpc64 >> TOOLS_TO_TYPE=3D${TO_TYPE} >> VERSION_CONTEXT=3D12.0 >> # >> KERNCONF=3DGENERIC64vtsc-NODBG >> TARGET=3Dpowerpc >> .if ${.MAKE.LEVEL} =3D=3D 0 >> TARGET_ARCH=3D${TO_TYPE} >> .export TARGET_ARCH >> .endif >> # >> WITH_CROSS_COMPILER=3D >> WITHOUT_SYSTEM_COMPILER=3D >> # >> WITH_LIBCPLUSPLUS=3D >> WITHOUT_BINUTILS_BOOTSTRAP=3D >> WITH_ELFTOOLCHAIN_BOOTSTRAP=3D >> WITH_CLANG_BOOTSTRAP=3D >> WITH_CLANG=3D >> #WITH_CLANG_IS_CC=3D >> WITH_CLANG_FULL=3D >> WITH_CLANG_EXTRAS=3D >> WITHOUT_LLD_BOOTSTRAP=3D >> WITH_LLD=3D >> WITHOUT_LLD_IS_LD=3D >> WITH_LLDB=3D >> # >> WITH_BOOT=3D >> # avoid lang/gcc7 and the like attempting >> # lib32 (-m32) support that does not work. >> # (Register usage mismatch?) >> WITHOUT_LIB32=3D >> # >> WITHOUT_CLANG_IS_CC=3D >> WITHOUT_BINUTILS=3D >> WITHOUT_GCC_BOOTSTRAP=3D >> WITHOUT_GCC=3D >> WITHOUT_GCC_IS_CC=3D >> WITHOUT_GNUCXX=3D >> # >> NO_WERROR=3D >> MALLOC_PRODUCTION=3D >> # >> # Avoid converts between pointers to integer types with different = sign [-Werror,-Wpointer-sign] >> # and such from blocking the build. >> WERROR=3D >> # >> WITH_REPRODUCIBLE_BUILD=3D >> WITH_DEBUG_FILES=3D >> # >> # >> # For TO (so-called "cross") stages . . . >> # So-called-cross via ${TO_TYPE}-xtoolchain-gcc/${TO_TYPE}-gcc. . . >> # TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related binutils. = . . >> # >> = CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSI= ON_CONTEXT}/bin/ >> .if ${.MAKE.LEVEL} =3D=3D 0 >> # >> # Note: The WITH_CROSS_COMPILER picks up the CROSS_BINUTILS_PREFIX >> # binding automatically. >> # >> = XAS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/as= >> = XAR=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ar= >> = XNM=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/nm= >> = XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objcopy >> = XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objdump >> = XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bi= n/ranlib >> = XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/= size >> #NO-SUCH: = XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/strings >> = XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEX= T}-strings >> .export XAS >> .export XAR >> .export XNM >> .export XOBJCOPY >> .export XOBJDUMP >> .export XRANLIB >> .export XSIZE >> .export XSTRINGS >> = XLD=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ld= >> .export XLD >> .endif >>=20 >> # more ~/src.configs/make.conf=20 >> CFLAGS.gcc+=3D -v >>=20 >> # more = ~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_clang_altbinutil= s-amd64-host.sh=20 >> kldload -n filemon && \ >> script = ~/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinutils-= amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ >> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc64-clang_altbinutils-boo= tstrap.amd64-host" \ >> WITH_META_MODE=3Dyes \ >> = MAKEOBJDIRPREFIX=3D"/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.power= pc64" \ >> make $* >>=20 For head -r335385 I tried again and got the same problem. Then I tried a variation to using devel/xtoolchain-llvm60 that instead used devel/powerpc64-binutils . This built. (I'm not claiming that the resultant build has no problems of note. Likely I'm not going to have access to any powerpc variant for at least a few months.) So the problem is not with using llvm60 as such, but with FreeBSD's = build environment's handling of things for the system clang (V6.0). The devel/xtoolchain-llvm60 variation was based on using: # more /usr/local/share/toolchains/llvm60_altbinutils.mk=20 XCC=3D/usr/local/bin/clang60 XCXX=3D/usr/local/bin/clang++60 XCPP=3D/usr/local/bin/clang-cpp60 #XLD=3D/usr/local/llvm60/bin/ld.lld #CROSS_BINUTILS_PREFIX=3D/var/empty X_COMPILER_TYPE=3Dclang that thereby allowed me to use devel/powerpc64-binutils via: # more ~/src.configs/src.conf.powerpc64-xtoolchain-llvm.amd64-host=20 TO_TYPE=3Dpowerpc64 TOOLS_TO_TYPE=3D${TO_TYPE} VERSION_CONTEXT=3D12.0 # KERNCONF=3DGENERIC64vtsc-NODBG TARGET=3Dpowerpc .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITHOUT_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D # WITH_LIBCPLUSPLUS=3D WITHOUT_BINUTILS_BOOTSTRAP=3D WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D WITHOUT_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITHOUT_LLD_BOOTSTRAP=3D WITH_LLD=3D WITHOUT_LLD_IS_LD=3D WITH_LLDB=3D # WITH_BOOT=3D #WITH_LIB32=3D WITHOUT_LIB32=3D # WITHOUT_BINUTILS=3D WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D # # Avoid build aborting for the likes of: # /usr/src/sys/sys/sglist.h:81:19: error: # passing 'int *' to parameter of type 'volatile u_int *' # (aka 'volatile unsigned int *') converts between # pointers to integer types with different sign # [-Werror,-Wpointer-sign] # WERROR=3D MALLOC_PRODUCTION=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D # # # For TO (so-called "cross") stages . . . # TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related binutils. . . # CROSS_TOOLCHAIN=3Dllvm60_altbinutils #X_COMPILER_TYPE=3Dclang = CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSI= ON_CONTEXT}/bin .if ${.MAKE.LEVEL} =3D=3D 0 XCC=3D/usr/local/bin/clang60 XCXX=3D/usr/local/bin/clang++60 XCPP=3D/usr/local/bin/clang-cpp60 .export XCC .export XCXX .export XCPP XAS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/as= XAR=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ar= XLD=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/ld= XNM=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/nm= = XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objcopy = XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/objdump = XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bi= n/ranlib = XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/bin/= size #NO-SUCH: = XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEXT}/b= in/strings = XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-unknown-freebsd${VERSION_CONTEX= T}-strings .export XAS .export XAR .export XLD .export XNM .export XOBJCOPY .export XOBJDUMP .export XRANLIB .export XSIZE .export XSTRINGS .endif # # # =46rom based on clang (via system). . . # .if ${.MAKE.LEVEL} =3D=3D 0 CC=3D/usr/bin/clang CXX=3D/usr/bin/clang++ CPP=3D/usr/bin/clang-cpp .export CC .export CXX .export CPP .endif and: # more = ~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_incl_clang_xtool= chain-llvm-amd64-host.sh=20 kldload -n filemon && \ script = ~/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_incl_clang_xtoolch= ain-llvm-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.powerpc64-xtoolchain-llvm.amd64= -host" \ WITH_META_MODE=3Dyes \ = MAKEOBJDIRPREFIX=3D"/usr/obj/powerpc64vtsc_xtoolchain-llvm/powerpc.powerpc= 64" \ make $* and: # more ~/src.configs/make.conf=20 CFLAGS.gcc+=3D -v =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sun Jun 24 21:17:16 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 132041012504 for ; Sun, 24 Jun 2018 21:17:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B96E7BDA0 for ; Sun, 24 Jun 2018 21:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B7021012502; Sun, 24 Jun 2018 21:17:15 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4900B1012500 for ; Sun, 24 Jun 2018 21:17:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D92F87BD9C for ; Sun, 24 Jun 2018 21:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0F4939B83 for ; Sun, 24 Jun 2018 21:17:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5OLHDPt063723 for ; Sun, 24 Jun 2018 21:17:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5OLHD8C063715 for toolchain@FreeBSD.org; Sun, 24 Jun 2018 21:17:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 193594] stddef.h should define max_align_t Date: Sun, 24 Jun 2018 21:17:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: cc bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 21:17:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193594 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org Status|New |Closed Resolution|--- |FIXED --- Comment #3 from Konstantin Belousov --- Dup of PR210890, already closed. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Mon Jun 25 04:19:53 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4FE51023450 for ; Mon, 25 Jun 2018 04:19:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7D64789CE7 for ; Mon, 25 Jun 2018 04:19:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 386E21023445; Mon, 25 Jun 2018 04:19:52 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 261591023444 for ; Mon, 25 Jun 2018 04:19:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B837F89CE1 for ; Mon, 25 Jun 2018 04:19:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0DC0CD846 for ; Mon, 25 Jun 2018 04:19:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5P4JojB039236 for ; Mon, 25 Jun 2018 04:19:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5P4JosM039234 for toolchain@FreeBSD.org; Mon, 25 Jun 2018 04:19:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 193594] stddef.h should define max_align_t Date: Mon, 25 Jun 2018 04:19:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 04:19:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193594 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE --- Comment #4 from Kubilay Kocak --- Correctly mark as duplicate *** This bug has been marked as a duplicate of bug 210890 *** --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-toolchain@freebsd.org Wed Jun 27 17:01:35 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA254102D29F; Wed, 27 Jun 2018 17:01:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70EF586D16; Wed, 27 Jun 2018 17:01:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 4F8111DB3A; Wed, 27 Jun 2018 17:01:35 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 07F149672; Wed, 27 Jun 2018 17:01:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id ZbYlKDuXjsRr; Wed, 27 Jun 2018 17:01:31 +0000 (UTC) To: "current@freebsd.org" DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 5C9A1966D Cc: FreeBSD Toolchain From: Bryan Drewery Subject: Build updates Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD Message-ID: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> Date: Wed, 27 Jun 2018 10:01:31 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ivcbCxvMIvGjxTzN3ZuVIzLY8vhXnF8e3" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 17:01:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ivcbCxvMIvGjxTzN3ZuVIzLY8vhXnF8e3 Content-Type: multipart/mixed; boundary="nEwayV8hkKBhe6Ow34RSpuktd8Ui4SoSY"; protected-headers="v1" From: Bryan Drewery To: "current@freebsd.org" Cc: FreeBSD Toolchain Message-ID: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> Subject: Build updates --nEwayV8hkKBhe6Ow34RSpuktd8Ui4SoSY Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 work 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 LLVM 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 both bootstrap and compiled clang. Setting WITHOUT disables SYSTEM_COMPILER support for cross-builds. Please CC me directly for any weird tinderbox/universe or clang failures for the next few weeks. --=20 Regards, Bryan Drewery --nEwayV8hkKBhe6Ow34RSpuktd8Ui4SoSY-- --ivcbCxvMIvGjxTzN3ZuVIzLY8vhXnF8e3 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 iQEcBAEBAgAGBQJbM8LrAAoJEDXXcbtuRpfP9ToH/iq/SMoFoTGcOji/EQj9wudK nJUHYq8jxoQyT5n1jw3qje4QSsXV600sEQiPFiI5STxnGcr+boK1x1gsCEzm6uBx wxNuCS1YHSn8gXZhF1iLKtni8l0wxCnocuTU59tIF6yiI4lLnrcONALUFvahzq3f +9ZqxYz79R6QlUSz0kjdss5b6iaU/tCfUTeR6DxRoQFfVAeh7SInWQiC7ivtbhhc BOWg72A/2DW4kSNfiVZ2NZr5FzLDsMIovMPNgZyTbB6jlmluHUsAa06MbkCtOW/z k+W865SbparsM1/JiCu1VvatxkCS574PCOjmSmEy5/YernCP9T7Epq5ZG9SvzuM= =ZuNL -----END PGP SIGNATURE----- --ivcbCxvMIvGjxTzN3ZuVIzLY8vhXnF8e3-- From owner-freebsd-toolchain@freebsd.org Wed Jun 27 17:53:13 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D067102FC84 for ; Wed, 27 Jun 2018 17:53:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-22.consmr.mail.gq1.yahoo.com (sonic311-22.consmr.mail.gq1.yahoo.com [98.137.65.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB16B8A678 for ; Wed, 27 Jun 2018 17:53:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: shEyRd8VM1lSLR1lCGSQ2xGyCX2IwPbyuYs4MjBcBFW0.qMwNFjKD37T6Wo9A7b Xwl8MUg5qBNjWbLQRsXTNE8As63SXX5v6Rdc2dqZKjAYMGbythDw99kXozd8hvNYUkHz44DOYW.K B9iWOmdkFQ8DQgbik6wlZIZDEk_gddAZgEmPFKbit14l4yHIbSlqXDfYohC7UNpiLMTccDAVXOaK y3.OsCgH5wTaQNwryLs7m5qH4Yix7ffvaorAoqub_nI5MDdWkjI6O9S.mwZ8c5PH7BLVkicFwFkI hIvlewwo1h15bda4YuQOxQ8WKYkrK8xQ4rj2eCuafyCzmPy1jiEtYl8qbnsGAkrHZlK4Rg5GHaAZ C6LSDBlSSKrvMmcGCOsah.VTQIplx3gVN0oMdBLE9Kugc1OM8p.FzxoRUBIKzJL5EbuvJ_tIKbhw zP1nv3Uj0BxsS65k72ciMRGCO06Cq7uAMDkT0soN4xyPUwUK7YnxMhINzntE2bIccW7BjVI9mYUC P5Oe.raLvGM5HD.P1luBZhJAwn_e6z8arNVii6.xZ4.I3hOl2jJkaDADcykPqXRYq.mskxICHu1m yncgNjv18c_jUBqDiHSUoUJO7zjiJz.gH.b76SE53Q3Xvs3A_acDy8G8YCQujzm.rWZi8rr0BC85 CWTaSn2c52uStPLqkva7GenEMGeco9WSKLX5qgConbGe88JZjp2G.znAR2h2NF5x6Bdnp496O6y8 ecc30u.8a8m.kyUvUKXgUAqOlM9iHNl9I2be8lObJ2NN2GVRgy9R0FHoV2BWm22qzveUUWH4ElnC RC8zsW28O6xMDOYSHIve_y2we6XcOlqFVLIr25tJBnnYBfAfMOUvy.LisYJOWFveCZ2DBYvxA6IF G_ND2Jy4CQmfYSQrWAV7DqMSr4bJCwhLGL4gc0YVhnWT729IbNvy6i1kCsnnFt67OsmZBMmAwoqG e2KzG0ha9nawvv38ZgDyAXuGwMxNG4A-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Wed, 27 Jun 2018 17:53:05 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp402.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 404c412715cba164364a536925e4f613; Wed, 27 Jun 2018 17:53:04 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: Build updates [ ci.freebsd.org FreeBSD-head-{aarch64, armv7, armv6}-build failures as of, for example -r335711 and -r335713 ] From: Mark Millard In-Reply-To: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> Date: Wed, 27 Jun 2018 10:53:03 -0700 Cc: "current@freebsd.org" , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> References: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 17:53:13 -0000 > On 2018-Jun-27, at 10:01 AM, Bryan Drewery = wrote: >=20 > As of r335704: >=20 > - make tinderbox/universe will now build the bootstrap clang *once*. > Each target clang is still build of course. This support does not = work > 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. >=20 > This uses the feature dim@ added in r335558 to selectively disable = LLVM > 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 = both > bootstrap and compiled clang. Setting WITHOUT disables SYSTEM_COMPILER > support for cross-builds. >=20 > Please CC me directly for any weird tinderbox/universe or clang = failures > for the next few weeks. https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/8324/consoleText --- all_subdir_cloudabi32 --- clang (LLVM option parsing): Unknown command line argument = '-arm-add-build-attributes'. Try: 'clang (LLVM option parsing) -help' clang (LLVM option parsing): Did you mean '-force-attribute'? *** [cloudabi32_vdso.o] Error code 1 https://ci.freebsd.org/job/FreeBSD-head-armv7-build/460/consoleText (armv6 is similar) --- 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/libllvm...] make[4]: "/usr/src/lib/clang/libllvm/Makefile" line 16: Please enable at = least one of: MK_LLVM_TARGET_AARCH64, MK_LLVM_TARGET_ARM, = MK_LLVM_TARGET_MIPS, MK_LLVM_TARGET_POWERPC, MK_LLVM_TARGET_SPARC, or = MK_LLVM_TARGET_X86 *** [all_subdir_lib/clang/libllvm] Error code 1 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Wed Jun 27 18:44:57 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1CF31000F36; Wed, 27 Jun 2018 18:44:56 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 91F6D8C4F8; Wed, 27 Jun 2018 18:44:56 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 6402F1FC1D; Wed, 27 Jun 2018 18:44:56 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 334CC9874; Wed, 27 Jun 2018 18:44:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id nBrLMf4ziyRu; Wed, 27 Jun 2018 18:44:52 +0000 (UTC) To: Dimitry Andric DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 3D1BF986E Cc: Mark Millard , "current@freebsd.org" , FreeBSD Toolchain References: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD 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> Date: Wed, 27 Jun 2018 11:44:50 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8lDovXtvI7prJyplLJsZvEcFWw1mmBOh5" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 18:44:57 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8lDovXtvI7prJyplLJsZvEcFWw1mmBOh5 Content-Type: multipart/mixed; boundary="wArheKcUXa20en6U7KLrSAMapXswdFDlg"; protected-headers="v1" From: Bryan Drewery To: Dimitry Andric Cc: Mark Millard , "current@freebsd.org" , FreeBSD Toolchain 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 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-- From owner-freebsd-toolchain@freebsd.org Wed Jun 27 18:58:16 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A1651001E0A; Wed, 27 Jun 2018 18:58:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB59C8CE91; Wed, 27 Jun 2018 18:58:15 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id AC3515F; Wed, 27 Jun 2018 18:58:15 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id E96CB98BA; Wed, 27 Jun 2018 18:58:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id jGShqwqOEyXU; Wed, 27 Jun 2018 18:58:12 +0000 (UTC) Subject: Re: Build updates [ ci.freebsd.org FreeBSD-head-{aarch64, armv7, armv6}-build failures as of, for example -r335711 and -r335713 ] DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 9B24098B5 From: Bryan Drewery To: Dimitry Andric Cc: Mark Millard , "current@freebsd.org" , FreeBSD Toolchain References: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD Message-ID: <2a7b1ecb-b647-d09b-4bd7-5c2df62b0846@FreeBSD.org> Date: Wed, 27 Jun 2018 11:58:10 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kblqXkkf3rRGvC9WwNVcqFDSRcBWQmyeX" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 18:58:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kblqXkkf3rRGvC9WwNVcqFDSRcBWQmyeX Content-Type: multipart/mixed; boundary="jFx8TT88Sy9QJ8uHrcEMeNbJwt3gSbY0W"; protected-headers="v1" From: Bryan Drewery To: Dimitry Andric Cc: Mark Millard , "current@freebsd.org" , FreeBSD Toolchain Message-ID: <2a7b1ecb-b647-d09b-4bd7-5c2df62b0846@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> <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> In-Reply-To: <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> --jFx8TT88Sy9QJ8uHrcEMeNbJwt3gSbY0W Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/27/2018 11:44 AM, Bryan Drewery wrote: > On 6/27/2018 10:53 AM, Mark Millard wrote: >> >>> On 2018-Jun-27, at 10:01 AM, Bryan Drewery = wrote: >>> >>> 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 wo= rk >>> 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 LL= VM >>> targets. I've added a new option named WITH[OUT]_LLVM_TARGET_ALL whic= h I >>> suggest using rather than the per-arch options. It is default on (WIT= H). >>> Set WITHOUT to only build the needed native arch on your system for b= oth >>> bootstrap and compiled clang. Setting WITHOUT disables SYSTEM_COMPILE= R >>> support for cross-builds. >>> >>> Please CC me directly for any weird tinderbox/universe or clang failu= res >>> for the next few weeks. >=20 > Thanks! >=20 >> >> https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/8324/consoleText= >> >> --- all_subdir_cloudabi32 --- >> clang (LLVM option parsing): Unknown command line argument '-arm-add-b= uild-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. >=20 > Looking in contrib/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp I > see the option is only added for: >=20 > case llvm::Triple::arm: > case llvm::Triple::armeb: > case llvm::Triple::thumb: > case llvm::Triple::thumbeb: >=20 > But not llvm::Triple::aarch64. So where is it coming from? >=20 cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -x assembler-with-cpp -m32 -shared -nostdinc -nostdlib -Wl,-T/usr/src/sys/compat/cloudabi/cloudabi_vdso.lds /usr/src/sys/contrib/cloudabi/cloudabi_vdso_armv6_on_64bit.S -o cloudabi32_vdso.o It must be the -m32 here making it build with llvm::Triple::arm. So we may need to include more of LLVM_TARGET_ARM in LLVM_TARGET_AARCH64.= I'm testing locally to see how much is needed. >> >> https://ci.freebsd.org/job/FreeBSD-head-armv7-build/460/consoleText >> (armv6 is similar) >> >> --- 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/li= bllvm...] >> make[4]: "/usr/src/lib/clang/libllvm/Makefile" line 16: Please enable = at least one of: MK_LLVM_TARGET_AARCH64, MK_LLVM_TARGET_ARM, MK_LLVM_TARG= ET_MIPS, MK_LLVM_TARGET_POWERPC, MK_LLVM_TARGET_SPARC, or MK_LLVM_TARGET_= X86 >> *** [all_subdir_lib/clang/libllvm] Error code 1 >> >=20 > Arm failures fixed in r335718. >=20 >=20 >=20 --=20 Regards, Bryan Drewery --jFx8TT88Sy9QJ8uHrcEMeNbJwt3gSbY0W-- --kblqXkkf3rRGvC9WwNVcqFDSRcBWQmyeX 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 iQEcBAEBAgAGBQJbM95CAAoJEDXXcbtuRpfP8F8H/iN0RAj1EPJe/4zU5EIivbX5 mv55NLQ0jm7cukOwssw4aqsqDlouP6vUyFKsO7VKGFmOiHq0OYkGfCkhZqOuec1C NvOocDFQmsIun7E5eBBo6HcFhpqAyd7+9rL94/QVKzzmWmer90fRCQxGtLM8oU3v KIP0B44T9VCh3gDDwfKvRobqh5Qv8iiqGtnGV4US/yNZ1c1L1w6R6EWQC2pe4Gcp BNYSMrhRHlghfenzsCc5VTZxkPeJt3niAnGGOfEvc7U21dPeNVZjMFiAtgGzgy6A 4VHqeqOI6upHcxkYRTp+X776iFVEi8ku8FxGww+AIrRCfNt3T62Zzm9ctrAeIzo= =v3bf -----END PGP SIGNATURE----- --kblqXkkf3rRGvC9WwNVcqFDSRcBWQmyeX-- From owner-freebsd-toolchain@freebsd.org Wed Jun 27 21:37:59 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A36CA1012FB2; Wed, 27 Jun 2018 21:37:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F56274C8E; Wed, 27 Jun 2018 21:37:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 108193F56; Wed, 27 Jun 2018 21:37:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id DB41B9BE5; Wed, 27 Jun 2018 21:37:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id mO187FixkeBS; Wed, 27 Jun 2018 21:37:54 +0000 (UTC) Subject: Re: Build updates [ ci.freebsd.org FreeBSD-head-{aarch64, armv7, armv6}-build failures as of, for example -r335711 and -r335713 ] DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 83AC29BE0 From: Bryan Drewery To: Dimitry Andric Cc: Mark Millard , "current@freebsd.org" , FreeBSD Toolchain References: <168e5fec-2d38-78e1-6aa4-c51e860ffd55@FreeBSD.org> <7116FF4C-DFA0-41CC-9906-F8B0B5A951EF@yahoo.com> <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> <2a7b1ecb-b647-d09b-4bd7-5c2df62b0846@FreeBSD.org> Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD Message-ID: Date: Wed, 27 Jun 2018 14:37:52 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <2a7b1ecb-b647-d09b-4bd7-5c2df62b0846@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EDBzPO8NpXYdNleVxzVf2DakFa9XFrM4l" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 21:37:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EDBzPO8NpXYdNleVxzVf2DakFa9XFrM4l Content-Type: multipart/mixed; boundary="SDb6VyYRUtHFw3PUu6H4O1RdKgtsmzsQd"; protected-headers="v1" From: Bryan Drewery To: Dimitry Andric Cc: Mark Millard , "current@freebsd.org" , FreeBSD Toolchain Message-ID: 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> <555a1ac0-a7e8-3ca1-019e-41cf829cbff0@FreeBSD.org> <2a7b1ecb-b647-d09b-4bd7-5c2df62b0846@FreeBSD.org> In-Reply-To: <2a7b1ecb-b647-d09b-4bd7-5c2df62b0846@FreeBSD.org> --SDb6VyYRUtHFw3PUu6H4O1RdKgtsmzsQd Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/27/2018 11:58 AM, Bryan Drewery wrote: > On 6/27/2018 11:44 AM, Bryan Drewery wrote: >> On 6/27/2018 10:53 AM, Mark Millard wrote: >>> >>>> On 2018-Jun-27, at 10:01 AM, Bryan Drewery = wrote: >>>> >>>> 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 w= ork >>>> 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 stil= l so >>>> SYSTEM_COMPILER logic works for cross-compling. >>>> >>>> This uses the feature dim@ added in r335558 to selectively disable L= LVM >>>> targets. I've added a new option named WITH[OUT]_LLVM_TARGET_ALL whi= ch I >>>> suggest using rather than the per-arch options. It is default on (WI= TH). >>>> Set WITHOUT to only build the needed native arch on your system for = both >>>> bootstrap and compiled clang. Setting WITHOUT disables SYSTEM_COMPIL= ER >>>> support for cross-builds. >>>> >>>> Please CC me directly for any weird tinderbox/universe or clang fail= ures >>>> for the next few weeks. >> >> Thanks! >> >>> >>> https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/8324/consoleTex= t >>> >>> --- all_subdir_cloudabi32 --- >>> clang (LLVM option parsing): Unknown command line argument '-arm-add-= build-attributes'. Try: 'clang (LLVM option parsing) -help' >>> clang (LLVM option parsing): Did you mean '-force-attribute'? >>> *** [cloudabi32_vdso.o] Error code 1 >>> >> >> 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 > cc -target aarch64-unknown-freebsd12.0 > --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp > -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -x assembler-with-cpp -m32= > -shared -nostdinc -nostdlib > -Wl,-T/usr/src/sys/compat/cloudabi/cloudabi_vdso.lds > /usr/src/sys/contrib/cloudabi/cloudabi_vdso_armv6_on_64bit.S -o > cloudabi32_vdso.o >=20 > It must be the -m32 here making it build with llvm::Triple::arm. > So we may need to include more of LLVM_TARGET_ARM in LLVM_TARGET_AARCH6= 4. > I'm testing locally to see how much is needed. >=20 r335747 should fix aarch64 but it's not necessarily the best fix. It may be possible to reduce how much of MK_LLVM_TARGET_ARM is needed for -m32 support for arm64. I didn't look into that too much. --=20 Regards, Bryan Drewery --SDb6VyYRUtHFw3PUu6H4O1RdKgtsmzsQd-- --EDBzPO8NpXYdNleVxzVf2DakFa9XFrM4l 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 iQEcBAEBAgAGBQJbNAOwAAoJEDXXcbtuRpfPUQAH/RF2rqWR4d/8NZcgj0gYdmva wJnl+3HK6Ty+EiJEpd8x/YlQTSCLGpoZC2AvyOzRWyYPoj9GvlZaxPRcWYXYknbP OEXRoMyg5wMtzvrTFL4KGpGwImMzsoFOB93aaUvXnd0G/i3Uad7X/yxhB+9/pSCP BVGc+/8afd9UfYzCaZipM++KGNb9PTk2jbhLw3ytBnmOA0os2BEpi22SqW4oaJhY PtohyRhK++WMknoeeSZil4o7v0ELaswS7NZhLoJZDFuEahZ5aZd+226KFbnxg+xh hBCecXNC5sG7wQ6ppdyi3jnHbnVYOWnC6Sd3FOJEgLdG1ae93R19MiGsRWMVpl4= =z1NL -----END PGP SIGNATURE----- --EDBzPO8NpXYdNleVxzVf2DakFa9XFrM4l-- From owner-freebsd-toolchain@freebsd.org Sat Jun 30 05:45:54 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA179101B950 for ; Sat, 30 Jun 2018 05:45:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-2.consmr.mail.bf2.yahoo.com (sonic302-2.consmr.mail.bf2.yahoo.com [74.6.135.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F8B58FFC0 for ; Sat, 30 Jun 2018 05:45:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: ppNjk9sVM1kyW4pdaASfpi8cbUmncxFhFz1Y6t40pUPnuPcyLNefIRkfqzzlPep mbiDqOXWyp073AF84MIWX5BBMS5FQMMqFScCRucT_iYA9ACCnz7QOxF11NyJUd0y6cjHFWxmd2N. s_BqJ_gwCZnd3CyIewIBMI3BzXmVBinhr3CggIIWRjLs1olR7.Qny8huW.PlzXHCIeluAO7AwN5N SgftZiC235FHDsyPomySvTOGJ45A.VfZ0dXjmgvigSgPrHPpRh.wnOzJwKn2h6L.RdxHwcRMzxwB 9Mxop_n7eJ1Dqa7lqVZ0nx0MmJ1o2SOdh.F0B8ycS.eA92Fw2b.cfvRnlJTGF1D3flEfqjQWBP.W ibUYIhAp4i5wSYMhnParN67aoT2mO4jkNbq1NevXgASqI_5njq5bZ9PEoVadMS53ofxXC5cvIWUW pDmwqB6rkbzc13ysGUOkx6t6hDoN_P7vLldo5mur.p4Z3SOwQdadyz4cp.W2waVPmLX8xBf0_.yV Yo3x0X06i1Up1LXyk08Zv_UqUM41hVNQ.Co5BWy0Wd0qmSo2R394CWRXZG0OPp7rO7kXXmWW1mVH tZHzs1Pb3b5G6G3QvRg6YuDbUeary8H7PR5UyV28jMInDO7PKAg7_WK_qNC4XNRtJVuM4bOaBTqz KJM4TH.ozTnHDmsysfAF2bmWW7PvpFj9OpDC6hMa2fMj3_eA31vWT.Hxaohfi3zLwcPV4jCyXJNp iEQEFRi2Lhh4_peyhUfoZLvVqx.n3J4S25ZfV.DmYQvxSWzo3MwfPbPIo0To6xMfp5aOcHUyN0qL hGQbxj3NZnfYDdT7gfX8vccLL016PTJ_yJEtkcejeTQy_GuwDNwndlhXshEER6xxgKPq5JlOoHC7 SQUY_ebvAPlTsL3DlhZN9EiEqR_SNYzzBhpuVc5QKsmsruf9JU2z_iuGT2I4PoOshcDukY_U5yGo Du94bWcZU_X1RteLkgRAAevLltkKGjR4- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Sat, 30 Jun 2018 05:45:47 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID cdc899094e08abecafe4a2008959073f; Sat, 30 Jun 2018 05:45:45 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: head -r335799 -> -r335812: "Not bootstrapping a cross-compiler" vs. "libclang will be built for bootstrapping a cross-linker": both being reported together Message-Id: <38AFEE6E-C4C9-4827-AC99-B48DADE95277@yahoo.com> Date: Fri, 29 Jun 2018 22:45:43 -0700 To: Bryan Drewery , FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2018 05:45:54 -0000 Going from -r335799 to -r335812 buildworld buildkernel reported: --- buildworld --- make[1]: "/usr/src/Makefile.inc1" line 342: SYSTEM_COMPILER: Determined = that CC=3Dcc matches the source tree. Not bootstrapping a = cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_LINKER: libclang will = be built for bootstrapping a cross-linker. and later did: =3D=3D=3D> lib/clang/libllvm (all) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/cla= ng/libllvm/X86GenAsmWriter.inc Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/cla= ng/libllvm/X86GenAsmWriter1.inc . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Sat Jun 30 06:32:18 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9784101F7AE for ; Sat, 30 Jun 2018 06:32:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-30.consmr.mail.ne1.yahoo.com (sonic301-30.consmr.mail.ne1.yahoo.com [66.163.184.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 747397123E for ; Sat, 30 Jun 2018 06:32:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: hGyc12UVM1k_GLw9SECoyCkiFOCnb8edjHF.ZKLQNNAje9lf2UDQxW.LCjmyjVf mVjIydiDNnUvg_Vj5iuI6Qi1Ecmr5iHQk89SeO6OQmxsMH1jT3hltH_jj3wrmu.QAA2bUQQOiK3Z dRDGNLZxxLGNLC1BIa4ORDbPTaPvFHnATrAcBMDhrOVS1okfdVJHh37TUH0ouuwOGsp40AwkOov1 gJR4D9b_Vq3wOOWqTLG11oK99uQN5n8f7Vi.TlPuRWa3ZOMcd3iwcY0vnGPPwetWSJTOsgkTu04t 5kM5g.LMkc8L5kPs8bM7eYMMKXVDmlAuKBaFg2Gprwj_M8LPf40G6HFzcuIKKKxCJtkF1gc8qm4D Y00gFGqLBwiD0j0.wyuvlsBH9DwBWhEUyzO.5gWBV5AGygXjEU8J8ZIZ0Tf6VMeaFtzrw.pYuW4O 1_sjC7iBZqVsgBhzaZ7U_97UDOyj0J9ajzHVsGBGw7hojb6YqiADxVqBDIuMAFFLPhfn6hLB02Gw zyhCiPgcylRXLy.HyYDlCgV1L2TaCqMtqkmMOFci7iBj8_wFOC.pCiAPBwj663ijcW.Jin4Zlv9q ldXsPoTj9CD.OeoTmfQS4lflF7dWB_m65kqc1KWCuf1bgxKfuqj80JbRTYBTco8ErUKfDiRheIUo dlauR_cbjJCemmuqz_Dbx_qwp2n9zIECeW1urIf8fp37pg53l2Ho737GmSh45mz3FMh88LisZTux Um44Q6N8tMdDCF8H5NXwqwPJsjkCGKTUmHxUNYtG7uzBeEvgYxbvxCu5vSSKc13kiGLJt9TIW1Gn 7J4JH_TjEuFpH_MpFVVVbRsr0UCgTYMawQv5aeKR3bi_6055xwmp1ar4lEaVMwAiT5UoAC7gITFk ST7DvYMb6uwzlDKSRQdyptWFui0o0dQ3SIjP1QlqikrisqUNlImhp6nvd5ZTTKCpRE6W9V4xQwqj b7MWw5DKeMA.CFtbeJinPY7ta_WFBzKO_ Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sat, 30 Jun 2018 06:32:16 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp419.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5c78b5d07e478362bd41f1558549873f; Sat, 30 Jun 2018 06:32:12 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: head -r335799 -> -r335812: "Not bootstrapping a cross-compiler" vs. "libclang will be built for bootstrapping a cross-linker": both being reported together Date: Fri, 29 Jun 2018 23:32:08 -0700 References: <38AFEE6E-C4C9-4827-AC99-B48DADE95277@yahoo.com> To: Bryan Drewery , FreeBSD Toolchain In-Reply-To: <38AFEE6E-C4C9-4827-AC99-B48DADE95277@yahoo.com> Message-Id: <5C884C99-73A7-4967-92AD-212213ACA69A@yahoo.com> X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2018 06:32:18 -0000 On 2018-Jun-29, at 10:45 PM, Mark Millard wrote: > Going from -r335799 to -r335812 buildworld buildkernel reported: >=20 > --- buildworld --- > make[1]: "/usr/src/Makefile.inc1" line 342: SYSTEM_COMPILER: = Determined that CC=3Dcc matches the source tree. Not bootstrapping a = cross-compiler. > make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_LINKER: libclang = will be built for bootstrapping a cross-linker. >=20 > and later did: >=20 > =3D=3D=3D> lib/clang/libllvm (all) > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/cla= ng/libllvm/X86GenAsmWriter.inc > Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/cla= ng/libllvm/X86GenAsmWriter1.inc > . . . and: --- libllvm.a --- building static llvm library --- all_subdir_lib/clang/libclang --- =3D=3D=3D> lib/clang/libclang (all) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/cla= ng/libclang/clang/AST/AttrImpl.inc Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/lib/cla= ng/libclang/clang/AST/AttrVisitor.inc . . . =3D=3D=3D> usr.bin/clang/lld (obj,all,install) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ELF/Options.inc Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/Common/TargetOptionsCommandFlags.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ELF/Driver.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ELF/DriverUtils.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ELF/InputFiles.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ELF/LTO.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ELF/ScriptParser.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ld.lld.full Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ld.lld.debug Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/ld.lld Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/_proginstall Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/obj-tools/usr.bin= /clang/lld/_installlinks . . . I guess it just looked odd to me that needing to rebuild libclang did not imply needing to rebuild the compiler but only lld. It is doing similarly for: --- lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/lib/clang/libllvm/X86= GenGlobalISel.inc Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/lib/clang/libllvm/X86= GenInstrInfo.inc Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/lib/clang/libllvm/X86= GenRegisterBank.inc Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/lib/clang/libllvm/X86= GenRegisterInfo.inc . . . (I'll note that jumping from -r335245 to -r335799 also rebuilt such = things and more, as expected for an llvm version update. -r335799 to -r335812 = is less obvious.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)