From owner-freebsd-bugs@freebsd.org Tue Apr 3 20:49:52 2018 Return-Path: Delivered-To: freebsd-bugs@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 95BE7F7F366 for ; Tue, 3 Apr 2018 20:49: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 313C473511 for ; Tue, 3 Apr 2018 20:49:52 +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 6E78E1DE65 for ; Tue, 3 Apr 2018 20:49: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 w33Knp9O040339 for ; Tue, 3 Apr 2018 20:49:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w33KnpmY040338 for freebsd-bugs@FreeBSD.org; Tue, 3 Apr 2018 20:49:51 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: freebsd-bugs@FreeBSD.org Subject: [Bug 225182] devel/powerpc64-xtoolchain-gcc: SLOF Data Storage Exception on boot with kernel built with devel/powerpc64-xtoolchain-gcc Date: Tue, 03 Apr 2018 20:49:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kennethsalerno@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2018 20:49:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225182 --- Comment #23 from Kenneth Salerno --- I want to add two somewhat related notes here. 1. At some point devel/binutils started using a BUTARGET?=3D=20=20=20=20=20 ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} which equates to CROSS_BINUTILS_PREFIX=3D /usr/local/bin/powerpc64-unknown-freebsd11.1- in my environment, where previously I was used to seeing CROSS_BINUTILS_PREFIX=3D powerpc64-freebsd- (devel/amd64-binutils forces this previous behavior I was used to with BUTARGET=3D x86_64-${OPSYS:tl}) The net of this is I had a CROSS_BINUTILS_PREFIX pointing to nowhere. Fixed that in my make.conf. Still have RELEASE-11.1 kernel blowing up with gcc5&6 either way, but want to ensure I'm using binutils 2.30. 2. This one is a complete mystery to me: if I set KERNCONF, even if I copy GENERIC64 exactly, I get the Data Storage Exception in SLOF. If I copy my kernel config to overwrite GENERIC64 (and not set KERNCONF) the kernel will boot normally, if built with the system compiler (again, still getting Data Storage Exception with gcc5&6 no matter what configuration I use). To reproduce error with system compiler: cp /usr/src/sys/powerpc/conf/GENERIC64 /usr/src/sys/powerpc/conf/SALERNO make buildkernel __MAKE_CONF=3D/dev/null __SRC_CONF=3D/dev/null KERNCONF=3D= SALERNO ARCH=3Dpowerpc TARGET_ARCH=3Dpowerpc64 (this kernel will cause a Data Storage Exception) Then take the custom kernel config and overwrite GENERIC64: cp /root/kernels/SALERNO /usr/src/sys/powerpc/conf/GENERIC64 make buildkernel __MAKE_CONF=3D/dev/null __SRC_CONF=3D/dev/null ARCH=3Dpowe= rpc TARGET_ARCH=3Dpowerpc64 (this kernel will boot normally) 3. Previously in RELEASE-11.0 and older, I could build and boot a kernel excluding CTF. Now with 11.1, I get a Data Storage Exception if I do this, forcing me to build including CTF. --=20 You are receiving this mail because: You are on the CC list for the bug.=