From owner-freebsd-ppc@freebsd.org Sat Dec 17 01:18:07 2016 Return-Path: Delivered-To: freebsd-ppc@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 74FF5C82AFA for ; Sat, 17 Dec 2016 01:18:07 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-169.reflexion.net [208.70.211.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2793D1C5C for ; Sat, 17 Dec 2016 01:18:07 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 2825 invoked from network); 17 Dec 2016 01:18:12 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 17 Dec 2016 01:18:12 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Fri, 16 Dec 2016 20:18:08 -0500 (EST) Received: (qmail 19600 invoked from network); 17 Dec 2016 01:18:08 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 17 Dec 2016 01:18:08 -0000 Received: from [192.168.1.103] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 63CE9EC9190; Fri, 16 Dec 2016 17:17:59 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: The updates of devel/powerpc64-* to 6.2.0 have killed my ability to buildkernel targeting powerpc64: SIGSEGV's Message-Id: Date: Fri, 16 Dec 2016 17:17:58 -0800 To: FreeBSD Toolchain , FreeBSD PowerPC ML X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2016 01:18:07 -0000 I have submitted bugzilla 215350: devel/powerpc64-gcc -r428604: The 6.2.0 based gcc (indirectly?) gets = SIGSEGV building src/sys/modules/agp/agp_if.o but ctfconvert involved Attempting to build src/sys/modules/agp/agp_if.o ets a SIGSEGV reported. Despite "segmentation fault" being reported for a powerpc64-gcc command the only .core file was for ctfconvert instead. ctfconvert does report its own death as well --but multiple times yet with only one core file present. With clang 3.9.0 issues and this there seem to be no modern toolchain for head for which I can do both buildworld and buildkernel and end up with a bootable PowerMac G5 powerpc64 system. For powerpc64 things have definitely regressed overall despite clang progressing some from where it was for 3.8.0 . Note: The problem was a test without forcing older devel/*-binutils or other such. I've yet to try such a mix-and-match involving xtoolchain. Extracted from the typescript: # grep "ERROR" = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_incl_clang_xto= olchain_kernel-amd64-host-2016-12-16:14:43:08 | more ERROR: ctfconvert: die 10273: failed to get ref: No entry found = [dwarf_attrval_unsigned(177)] ERROR: ctfmerge: No ctf sections found to merge .ERROR_TARGET=3D'agp_if.o' = .ERROR_META_FILE=3D'/usr/obj/powerpc64vtsc_xtoolchain_kernel/powerpc.power= pc64/usr/src/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/agp/agp_i= f.o.meta' .ERROR_TARGET=3D'agp_if.o' = .ERROR_META_FILE=3D'/usr/obj/powerpc64vtsc_xtoolchain_kernel/powerpc.power= pc64/usr/src/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/agp/agp_i= f.o.meta' .ERROR_TARGET=3D'all_subdir_agp' .ERROR_META_FILE=3D'' ERROR: ctfconvert: die 26932: failed to get ref: No entry found = [dwarf_attrval_unsigned(177)] .ERROR_TARGET=3D'' .ERROR_META_FILE=3D'' .ERROR_TARGET=3D'all_subdir_acl_posix1e' .ERROR_META_FILE=3D'' .ERROR_TARGET=3D'' .ERROR_META_FILE=3D'' .ERROR_TARGET=3D'all_subdir_acl_nfs4' .ERROR_META_FILE=3D'' ERROR: ctfconvert: die 46063: failed to get ref: No entry found = [dwarf_attrval_unsigned(177)] .ERROR_TARGET=3D'' .ERROR_META_FILE=3D'' .ERROR_TARGET=3D'all_subdir_ae' .ERROR_META_FILE=3D'' ERROR: ctfconvert: die 52618: failed to get ref: No entry found = [dwarf_attrval_unsigned(177)] . . . =3D=3D=3D Mark Millard markmi at dsl-only.net