From owner-freebsd-sparc64@freebsd.org Tue Oct 10 21:14:38 2017 Return-Path: Delivered-To: freebsd-sparc64@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 E255EE3D331; Tue, 10 Oct 2017 21:14:38 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "alchemy.franken.de", Issuer "alchemy.franken.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B98C6D1DD; Tue, 10 Oct 2017 21:14:37 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.15.2/8.15.2/ALCHEMY.FRANKEN.DE) with ESMTPS id v9ALESn3086415 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 10 Oct 2017 23:14:28 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.15.2/8.15.2/Submit) id v9ALESWT086414; Tue, 10 Oct 2017 23:14:28 +0200 (CEST) (envelope-from marius) Date: Tue, 10 Oct 2017 23:14:28 +0200 From: Marius Strobl To: Mark Linimon Cc: Gerald Pfeifer , "A. Wilcox" , freebsd-sparc64@FreeBSD.org, freebsd-arch@freebsd.org Subject: Re: future of sparc64 (was: Making C++11 a hard requirement for FreeBSD) Message-ID: <20171010211428.GA51868@alchemy.franken.de> References: <20171005234149.GE8557@spindle.one-eyed-alien.net> <59D6CA6C.1040502@Wilcox-Tech.com> <20171007174124.GA20810@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171007174124.GA20810@lonesome.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 21:14:39 -0000 On Sat, Oct 07, 2017 at 12:41:24PM -0500, Mark Linimon wrote: > > All gccs > 4.9 fail to build. Looking at the logs AFAICT the failure > is a floating-point exception as soon as the first built binary is run > during the internal testing. The most plausible cause for that is executables and/or dynamic libraries not installing the user trap handlers as specified by the libc 64 psABI, i. e. not call __sparc_utrap_setup(). Do the ports GCCs use their own CRT nowadays? Do they no longer link libc last? Please provide their linker invocation. Also, please provide the backtrace of a minimal program exhibiting that problem. Marius