From owner-freebsd-sparc64@freebsd.org Mon Oct 23 05:47:06 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 01694E411DA; Mon, 23 Oct 2017 05:47:06 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com [IPv6:2607:f8b0:400e:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C823E3574; Mon, 23 Oct 2017 05:47:05 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x232.google.com with SMTP id a192so10918685pge.9; Sun, 22 Oct 2017 22:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=0q5lz4vgOOvYOzOPoUa6ZR0eXqAqv1sEg7B+TV1HUuE=; b=Q26oBTmRY5s9zz4ablTkUKhvf39DyNolacyyqaFb8KcFQBePu645ObX2WVyF/GDGgX hooDNDCVjomnvmHoUbt7d7Xe0C3o6UzUK+hUax2P6QJTcX96gAz026LSYHDRwCc46JGn CcysUzUJdY17zzSSLl2xHrgMYd1cnQ8rfxq2I7nZS3dvyRMAE4DqZBEdPkYlkdrC3VKC J6VROi8MLBicJwLHxh8sULgBYFYbE+H9mhpCBQHqO0s+rNTq0L7GMbEbwfod2iy/JI/e paj2zze/pOKVKNcUeSAMwQEcbpGJnHUE9T7Ag612qWn6ZQTkYb/3hVh49c0LSx9ncs1Q SVlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=0q5lz4vgOOvYOzOPoUa6ZR0eXqAqv1sEg7B+TV1HUuE=; b=PAY9UgAMUYlYoHJCXqzKa/1FTW0g1Nv9noK0yeByMpXPfYsQFPtF0RPhjwe/dg4wUT +oggHrzIyMR7UEn3LorSpEhPdyRlOXNRDCioD/4J1GaAwHYka0uBEf/oBhwkroH6cTSM DBefw8fNoeMOlQXSXbPz9aBhR686zmj575WS6qWqsWGiCQRXKoUyfRUTUh9NYuA/SWFm zS5ygBAbtB5dmZDai0kv8beg3+6hEf7hXCol3paqOvLMr11G00BkeI9AQLe94DNJGNRK G4LG7Z42TGoEGoTWbBextW+SDcoQ5sQ/WG0Bnz7nZ6GHJRl0Sepd6l/ldblztnecsfV+ AZXQ== X-Gm-Message-State: AMCzsaWQ+cGWBjiTVkUcsLE8KeBGOoilaPqa9USauEPROUWn3lhqQeMS 6cQC08uXXIKb1QfEG2Ql7w+UIHx+ X-Google-Smtp-Source: ABhQp+TPlYDcyOlsUs34GSrw1abLBNp0hWu9e9BRO/CwdbFETJDDs/yhgqSb27OqTlNRZ2vzQyqffA== X-Received: by 10.99.51.72 with SMTP id z69mr11083341pgz.317.1508737624995; Sun, 22 Oct 2017 22:47:04 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id 68sm11024471pfx.105.2017.10.22.22.47.04 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Oct 2017 22:47:04 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_6F5B54AF-4860-454F-A1B8-C65D9AA8C288"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: future of sparc64 (was: Making C++11 a hard requirement for FreeBSD) From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <20171010211428.GA51868@alchemy.franken.de> Date: Sun, 22 Oct 2017 22:47:03 -0700 Cc: Mark Linimon , "A. Wilcox" , Gerald Pfeifer , freebsd-sparc64@FreeBSD.org, freebsd-arch@freebsd.org Message-Id: References: <20171005234149.GE8557@spindle.one-eyed-alien.net> <59D6CA6C.1040502@Wilcox-Tech.com> <20171007174124.GA20810@lonesome.com> <20171010211428.GA51868@alchemy.franken.de> To: Marius Strobl X-Mailer: Apple Mail (2.3124) 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: Mon, 23 Oct 2017 05:47:06 -0000 --Apple-Mail=_6F5B54AF-4860-454F-A1B8-C65D9AA8C288 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 10, 2017, at 14:14, Marius Strobl wrote: >=20 > On Sat, Oct 07, 2017 at 12:41:24PM -0500, Mark Linimon wrote: >>=20 >> 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. >=20 > 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. An idea occurred to me (after having dealt with building things over, = and over, and over, this weekend): since we can=E2=80=99t rely on the = ABI on ^/head to be stable, why don=E2=80=99t we produce working = dynamic/static toolchains on HEAD-1 in ports, then require them for the = areas that can=E2=80=99t bootstrap (yet, or at all?) with clang? We=E2=80=99= ve already done that with some of our code that=E2=80=99s been deorbited = from base (like rsh, etc). I don=E2=80=99t see why making a toolchain = based on a stable ABI for architectures that will migrate or will be = killed off needs to be a huge undertaking (politically), and needs to = hold us back from making progress using a compiler that implements an = almost 7 year old C++ spec. Thanks, -Ngie --Apple-Mail=_6F5B54AF-4860-454F-A1B8-C65D9AA8C288 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE5bk3FaGcY5rvqmb79YOpJmkwhhUFAlntglcACgkQ9YOpJmkw hhU1YA/9GqhSESf6+PxdqZzHes+zqITzwrGXIMZjdrOrE8N9lRSDVZtFGPva0jWl xuzpUEdHrFtnY7+ByCaA5qgy4yqLck1X82E2IPdUjeGHSzo+b0skonHbYvGPkT/n ow2PkuuLo1XkbiFOpRkSb3MZ3yqut7wIF7WkL5COn0nkyjLsswsfdHnVwNB2Txq4 4cYjzO7RYcjCI6zKZVg38OoV9sKaAG/2/DzJNPW1KIaZjdzmD7AXn+2+Fp3KqmAT vmNNydbPr43tTPQ8AHBRLgVEC4qz9vmXmLArqC86VKWo/S6kewzFtAHL3SH0KYjX bNsNvPV1XyWl7HnVT/0fWmpjv42rnVvd98jmW2GWO+1HxQTQB3BNJlaEHzJTVsGn CkxarkL7hARHnXJ8bzE4Ecn7gLdn3e+KjLm2cesrTJnqdr2iEHrUP50BjrR9bXFN XtFPIGc7sP086PWyeTnx1AGu8BDIsSlmYXJpo28PNqM6HAxjBwW0LL2isAL79YEt Gvitp/IYUKulajlAlycyXFGtBHPTdP6WGaPwgVl1GFDWq7bq8BDUfpc171KaDpfs sY/uSG8ooC/R32mRBXMY2XtywWl6exzYyM/5SEK0cEcyD9qFncbALurJ9/D0X6+Q SJIHRRum1rCp78VGNReKKQJrQeeAc18uUBm5MQQFlA7bYCBN0hg= =Tnci -----END PGP SIGNATURE----- --Apple-Mail=_6F5B54AF-4860-454F-A1B8-C65D9AA8C288--