From owner-svn-src-head@freebsd.org Tue Jun 20 07:54:39 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 873C5D9216A for ; Tue, 20 Jun 2017 07:54:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B594A77DF4; Tue, 20 Jun 2017 07:54:38 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id add88134; Tue, 20 Jun 2017 09:54:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=bC1Ag4DlPb9aY/QT0VvVAB/Ras4=; b=Yx6NGiDM/HhACtYZ/lhIEXt4agEf TCi2aUOgkr76a+W93uyNOXlC8NmTeLhTt5Hi2gBmaHUiBA65HYHddDOIN+SmBBNi 4q253U7R9ELBZGRso+iuGoG1ZOROEskhgTtSltyevdn/xE2DctWesBu26b26k6Ys eX5Z00vql9Ot69E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=O1AiWlgSBCjgWjo/gfMKbvJXAnrScD2KDDrGtfVyynOSqbw1BfKqYogf 5BSzcX19+YsT8Oi3stjuY7gLmVFsWqjvOFjqpBTVOTwf6xmKopQxwGybBg/7//Gb s6/RL4hGfcaHmL6dyJtLHaRpNxzfOhe83vyggrKUC+0FBhRAIWs= Received: from arcadia (evadot.gandi.net [217.70.181.36]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 43a726dc TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 20 Jun 2017 09:54:34 +0200 (CEST) Date: Tue, 20 Jun 2017 09:54:34 +0200 From: Emmanuel Vadot To: Mark Millard Cc: manu@FreeBSD.org, svn-src-head@freebsd.org, Ed Maste , Warner Losh Subject: Re: svn commit: r320127 - in head: . share/mk Message-Id: <20170620095434.48a8f8eb3d62df4ae65cf095@bidouilliste.com> In-Reply-To: <9BF6B86D-4CBC-4502-8EB7-849E3461CA4C@dsl-only.net> References: <9BF6B86D-4CBC-4502-8EB7-849E3461CA4C@dsl-only.net> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 07:54:39 -0000 On Tue, 20 Jun 2017 00:31:30 -0700 Mark Millard wrote: > [Because powerpc64 (and pweorpc) buildworld is broken for > clang 4 as of the INO64 changes I've been using > devel/powerpc64-xtoolchain-gcc and its devel/powerpc64-gcc > recently.] > > Emmanuel Vadot manu at FreeBSD.org wrote/committed on Tue Jun 20 02:09:52 UTC 2017 > > > Author: manu > > Date: Tue Jun 20 02:09:50 2017 > > New Revision: 320127 > > URL: > > https://svnweb.freebsd.org/changeset/base/320127 > > > > > > Log: > > Switch back to the BSDL DTC (Device Tree Compiler). > > The BSDL dtc has grown the needed features (overlays mostly) and is able to > > compile all of our base DTS. > > You can use WITH_GPL_DTC is you need the GPL one or DTC= in make.conf(5) > > to specify an alternate location for the compiler to use. > > > > Discussed with: emaste, imp > > > > Modified: > > head/UPDATING > > head/share/mk/src.opts.mk > > Unfortunately now devel/powerpc64-gcc no longer completes buildworld > (this is a libc++ based amd64 -> powerpc64 cross build as I experiment > with libc++ capable compilers for powerpc64): > > --- input_buffer.o --- > /usr/src/usr.bin/dtc/input_buffer.cc:658:2: error: 'result' does not name a type > result operator()() override > ^~~~~~ > . . . > --- all_subdir_usr.bin --- > *** [input_buffer.o] Error code 1 Hello Mark, Could you report the issue upstream please : https://github.com/davidchisnall/dtc ? As soon as it's fixed I'll update our in-tree copy. Thanks, > make[4]: stopped in /usr/src/usr.bin/dtc > .ERROR_TARGET='input_buffer.o' > .ERROR_META_FILE='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/usr.bin/dtc/input_buffer.o.meta' > .MAKE.LEVEL='4' > MAKEFILE='' > .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' > . . . > --- all_subdir_usr.bin --- > > make[4]: stopped in /usr/src/usr.bin/dtc > .ERROR_TARGET='input_buffer.o' > .ERROR_META_FILE='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/usr.bin/dtc/input_buffer.o.meta' > .MAKE.LEVEL='4' > MAKEFILE='' > .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose' > _ERROR_CMD='/usr/local/bin/powerpc64-unknown-freebsd12.0-g++ -isystem /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1 -std=c++11 -nostdinc++ -isystem /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include -L/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/lib -B/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/lib --sysroot=/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp -B/usr/local/powerpc64-freebsd/bin/ -O2 -pipe -g -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno- error=unused-function -Wno-error=unused-value -Wno-error=strict-overflow -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -v -std=c++11 -fno-rtti -fno-exceptions -c /usr/src/usr.bin/dtc/input_buffer.cc -o input_buffer.o;' > .CURDIR='/usr/src/usr.bin/dtc' > .MAKE='make' > .OBJDIR='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/usr.bin/dtc' > .TARGETS='all' > DESTDIR='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp' > LD_LIBRARY_PATH='' > MACHINE='powerpc' > MACHINE_ARCH='powerpc64' > MAKEOBJDIRPREFIX='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64' > MAKESYSPATH='/usr/src/share/mk' > MAKE_VERSION='20170510' > PATH='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/legacy/usr/sbin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/legacy/usr/bin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/legacy/bin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/sbin:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP='/usr/src' > OBJTOP='/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src' > .MAKE.MAKEFILES='/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-xtoolchain-gcc.amd64-host /usr/src/share/mk/bsd.mkopt.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/usr.bin/dtc/Makefile /usr/src/share/mk/bsd.prog.mk /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr/src/usr.bin/dtc/../Makefile.inc /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.man.mk /usr/src/share/mk/bsd.dep.mk /usr/sr c/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='. /usr/src/usr.bin/dtc' > --- all_subdir_libexec --- > *** [all_subdir_libexec] Error code 2 > > > # Meta data file /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/usr.bin/dtc/input_buffer.o.meta > CMD /usr/local/bin/powerpc64-unknown-freebsd12.0-g++ -isystem /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1 -std=c++11 -nostdinc++ -isystem /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include -L/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/lib -B/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/lib --sysroot=/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp -B/usr/local/powerpc64-freebsd/bin/ -O2 -pipe -g -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=un used-function -Wno-error=unused-value -Wno-error=strict-overflow -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -v -std=c++11 -fno-rtti -fno-exceptions -c /usr/src/usr.bin/dtc/input_buffer.cc -o input_buffer.o > CWD /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/usr.bin/dtc > TARGET input_buffer.o > -- command output -- > Using built-in specs. > COLLECT_GCC=/usr/local/bin/powerpc64-unknown-freebsd12.0-g++ > Target: powerpc64-unknown-freebsd12.0 > Configured with: /usr/obj/portswork/usr/ports/devel/powerpc64-gcc/work/gcc-6.3.0/configure --target=powerpc64-unknown-freebsd12.0 --disable-nls --enable-languages=c,c++ --without-headers --with-gmp=/usr/local --with-pkgversion='FreeBSD Ports Collection for powerpc64' --with-system-zlib --with-gcc-include-dir=/usr/include/c++/v1/ --with-as=/usr/local/bin/powerpc64-freebsd-as --with-ld=/usr/local/bin/powerpc64-freebsd-ld --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-unknown-freebsd12.0 > Thread model: posix > gcc version 6.3.0 (FreeBSD Ports Collection for powerpc64) > COLLECT_GCC_OPTIONS='-isystem' '/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1' '-std=c++11' '-nostdinc++' '-isystem' '/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include' '-L/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/lib' '-B' '/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/lib' '-B' '/usr/local/powerpc64-freebsd/bin/' '-O2' '-pipe' '-g' '-fstack-protector-strong' '-Wsystem-headers' '-Wall' '-Wno-format-y2k' '-Wextra' '-Wno-unused-parameter' '-Wpointer-arith' '-Wno-uninitialized' '-Wno-error=address' '-Wno-error=array-bounds' '-Wno-error=attributes' '-Wno-error=bool-compare' '-Wno-error=cast-align' '-Wno-error=clobbered' '-Wno-error=enum-compare' '-Wno-error=extra' '-Wno-error=inline' '-Wno-error=logical-not-parentheses' '-Wno-error=strict-aliasing' '-Wno-error=uninitialized' '-Wno-error=unused-but-set-variable' '-Wno-error=unused-function' '-Wno-error=unused-v alue' '-Wno-error=strict-overflow' '-Wno-error=misleading-indentation' '-Wno-error=nonnull-compare' '-Wno-error=shift-negative-value' '-Wno-error=tautological-compare' '-Wno-error=unused-const-variable' '-v' '-std=c++11' '-fno-rtti' '-fno-exceptions' '-c' '-o' 'input_buffer.o' '-shared-libgcc' > /usr/local/libexec/gcc/powerpc64-unknown-freebsd12.0/6.3.0/cc1plus -quiet -nostdinc++ -v -isysroot /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp -isystem /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1 -isystem /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include /usr/src/usr.bin/dtc/input_buffer.cc -quiet -dumpbase input_buffer.cc -auxbase-strip input_buffer.o -g -O2 -Wsystem-headers -Wall -Wno-format-y2k -Wextra -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-error=address -Wno-error=array-bounds -Wno-error=attributes -Wno-error=bool-compare -Wno-error=cast-align -Wno-error=clobbered -Wno-error=enum-compare -Wno-error=extra -Wno-error=inline -Wno-error=logical-not-parentheses -Wno-error=strict-aliasing -Wno-error=uninitialized -Wno-error=unused-but-set-variable -Wno-error=unused-function -Wno-error=unused-value -Wno-error=strict-overflow -Wno-error=misleading-indentation -Wno-er ror=nonnull-compare -Wno-error=shift-negative-value -Wno-error=tautological-compare -Wno-error=unused-const-variable -std=c++11 -std=c++11 -version -fstack-protector-strong -fno-rtti -fno-exceptions -o - | > /usr/local/bin/powerpc64-freebsd-as -v --traditional-format -a64 -mppc64 -many -o input_buffer.o > GNU assembler version 2.28 (powerpc64-freebsd) using BFD version (GNU Binutils) 2.28 > GNU C++11 (FreeBSD Ports Collection for powerpc64) version 6.3.0 (powerpc64-unknown-freebsd12.0) > compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347), GMP version 6.1.2, MPFR version 3.1.5-p2, MPC version 1.0.3, isl version none > GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 > ignoring nonexistent directory "/usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.3.0/../../../../powerpc64-unknown-freebsd12.0/sys-include" > ignoring nonexistent directory "/usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.3.0/../../../../powerpc64-unknown-freebsd12.0/include" > #include "..." search starts here: > #include <...> search starts here: > /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1 > /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include > /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.3.0/include > /usr/local/lib/gcc/powerpc64-unknown-freebsd12.0/6.3.0/include-fixed > End of search list. > GNU C++11 (FreeBSD Ports Collection for powerpc64) version 6.3.0 (powerpc64-unknown-freebsd12.0) > compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347), GMP version 6.1.2, MPFR version 3.1.5-p2, MPC version 1.0.3, isl version none > GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 > Compiler executable checksum: 47621bba5ca992f7e7897909a81561ae > /usr/src/usr.bin/dtc/input_buffer.cc:658:2: error: 'result' does not name a type > result operator()() override > ^~~~~~ > In file included from /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1/unordered_set:323:0, > from /usr/src/usr.bin/dtc/input_buffer.hh:39, > from /usr/src/usr.bin/dtc/input_buffer.cc:33: > /usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1/__hash_table:1943:1: warning: always_inline function might not be inlinable [-Wattributes] > __hash_table<_Tp, _Hash, _Equal, _Alloc>::__emplace_unique_key_args(_Key const& __k, _Args&&... __args) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > *** Error code 1 > > > === > Mark Millard > markmi at @dsl-only.net -- Emmanuel Vadot