From owner-freebsd-ppc@freebsd.org Fri Oct 11 11:41:12 2019 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4272614A385 for ; Fri, 11 Oct 2019 11:41:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46qQyJ0wf4z4QLJ for ; Fri, 11 Oct 2019 11:41:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1F9F714A384; Fri, 11 Oct 2019 11:41:12 +0000 (UTC) Delivered-To: ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F67214A383 for ; Fri, 11 Oct 2019 11:41:12 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46qQyH75mHz4QLH; Fri, 11 Oct 2019 11:41:11 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id CE0621F534; Fri, 11 Oct 2019 11:41:11 +0000 (UTC) Date: Fri, 11 Oct 2019 11:41:11 +0000 From: Alexey Dokuchaev To: Kevin Smallman Cc: ppc@freebsd.org Subject: Re: build 32-bit binary on powerpc64 Message-ID: <20191011114111.GA32954@FreeBSD.org> References: <20191010140937.GA89733@FreeBSD.org> <20191010162302.GA40333@FreeBSD.org> <20191010163950.GA20831@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2019 11:41:12 -0000 On Thu, Oct 10, 2019 at 05:50:26PM +0100, Kevin Smallman wrote: > Thank you very much indeed. > So, hopefully if I do 'portsnap update' tomorrow it'll allow me to build > x11-toolkits/xview after you've made the changes? I'm afair not: x11-toolkits/xview is indeed an ancient and no longer maintained software; e.g. it officially never supported 64-bit arches, per https://archive.physionet.org/physiotools/xview/: "There is no 64-bit version of XView, and it is unlikely that one will be produced. [...] Unfortunately, the changes that would be required to create a 64-bit version are very extensive, requiring an effort that would be similar to starting from scratch." I built it under 32-bit PowerPC, but any XView-based application crashes with a segfault for me, similar to amd64. Also, modern Xorg server is severely incompatible with XView (however, applications at least start running on i386). While theoretically it should be possible to unbreak it on ppc32, I'm not sure if that's the best investment of one's time. Perhaps you might consider something less old and working? :-) ./danfe