From owner-freebsd-toolchain@freebsd.org Tue Sep 20 21:55:44 2016 Return-Path: Delivered-To: freebsd-toolchain@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 DA198BE3C2E for ; Tue, 20 Sep 2016 21:55:44 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-37.reflexion.net [208.70.210.37]) (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 87D9F28C for ; Tue, 20 Sep 2016 21:55:43 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1923 invoked from network); 20 Sep 2016 21:56:24 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 20 Sep 2016 21:56:24 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.00.0) with SMTP; Tue, 20 Sep 2016 17:55:42 -0400 (EDT) Received: (qmail 1777 invoked from network); 20 Sep 2016 21:55:41 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Sep 2016 21:55:41 -0000 Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 4CE29EC8839; Tue, 20 Sep 2016 14:55:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: binutils 2.27 [not working for powerpc64 (and powerpc?)] From: Mark Millard In-Reply-To: <7386974C-F100-41DF-B742-28C1DB4E5F07@FreeBSD.org> Date: Tue, 20 Sep 2016 14:55:35 -0700 Cc: FreeBSD Toolchain , FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: <05960430-8B1B-4B84-AC28-019BFD031021@dsl-only.net> References: <9972E75F-9102-4A18-BA9B-33AB6BF64789@dsl-only.net> <7386974C-F100-41DF-B742-28C1DB4E5F07@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2016 21:55:45 -0000 On 2016-Sep-20, at 1:59 PM, Dimitry Andric wrote: > Has anyone succeeded in bisecting upstream binutils, to see where this = problem was introduced? >=20 > -Dimitry Apparently not from what I've seen in the lists. It will be a couple/few = weeks before I again have powerpc64 or powerpc access. I've just been = monitoring powerpc64 & powerpc things in hopes of things working once I = have access again --or at least my knowing what to do to sidestep issues = and what sequence to progress in from what I had in very early 2016-June = when I lost access temporarily. May be someone will have the time & knowledge to bisect the upstream = binutils materials. I may figure how to sometime after I get access = again. But it is not the only FreeBSD powerpc64 (PowerMac) thing that = I'd likely be investigating. (Example: because of problems with = sprg0-value handling for FreeBSD vs. OpenFirmware on PowerMac = powerpc64's: testing usefdt=3D1 mode for Nathan Whitehorn in hopes of = future changes avoiding OpenFirmware use from FreeBSD. Nathan put the = hooks in place for testing somewhat after I'd already lost access.) I wonder if the various(?) binutil port(s) that are 2.27 based now and = can be built to target powerpc64/powerpc should be marked broken for = powerpc64/powerpc until this is figured out. Any ports that are only for = targeting powerpc64 or powerpc probably should not be at 2.27 at this = point. I've submited a bugzilla report 212868 for devel/binutils with the text = of the list reports that I've quoted. > On 20 Sep 2016, at 22:56, Mark Millard wrote: >>=20 >> The below forward from freebsd-pcc's list confirms that binutils 2.27 = not working for powerpc64 (& powerpc?) contexts. >>=20 >> Note: Krzysztof Parzyszek is one of the two people that have recently = been working on updating clang/llvm for fixing some of the issues that = block FreeBSD from using clang for powerpc and powerpc64 for buildworld = and buildkernel. >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >> On 2016-Sep-20, at 11:19 AM, Krzysztof Parzyszek wrote: >>=20 >>> I've had similar problems after building gcc-4.8. After reverting = back to binutils 2.25 and rebuilding, it worked fine. >>>=20 >>> -Krzysztof >>>=20 >>> On 9/9/2016 11:32 AM, Bill Sorenson wrote: >>>> Everything I've built with the new binutils using either GCC 4.9, = 5.4 or >>>> 6.2 instantly dumps when run. This is on an Xserve G5. Is this just = me or >>>> is there something genuinely broken here? >>>>=20 >>>> Thanks, >>>> Bill =3D=3D=3D Mark Millard markmi at dsl-only.net