From nobody Tue Aug 15 13:51:24 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQCPH4qHQz4mRHw for ; Tue, 15 Aug 2023 13:52:03 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-3.mit.edu (outgoing-exchange-3.mit.edu [18.9.28.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQCPG5ZbQz4J8r for ; Tue, 15 Aug 2023 13:52:02 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b=GTBgwkU1; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.13 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 37FDpGq3011295 for ; Tue, 15 Aug 2023 09:51:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1692107519; bh=qwQoWv6X11U6g4asq6ioA0BkqylFkk6BS0eK890G93k=; h=From:Subject:Date:Message-ID:Content-Type:MIME-Version; b=GTBgwkU1admwpu2g8JmMcQXXWdmnEFJO+aP3HK0636q0ai4gaWAJhvF0PEFMfx/Ka uxYf3vzBOGVG2qL93wP+Vqm6qSHMaK0ifJv1mD+AhcvrRJaPYW0lTcpI8UMJknYUcm a6SuilqUM73qJ2ABlWPX4v8+vI2pFyZdtr9mlpFLrwc+osXTMJjMxmhg0vsSa1PjSc PZCDdn5Gufvhz70TlQxlzXxAlCkICd7Ih04Muu3RaBwh2MDp9yqYU9mi9zbnt2vNFI AiasdpwZGBDZajhbwiOsArZcmF759xLmuU7s+0SYwiHP9hrRJT/ZgvOeoAsyezQJxO EJSv8xH31BQug== Received: from oc11expo13.exchange.mit.edu (18.9.4.18) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 15 Aug 2023 09:51:21 -0400 Received: from oc11exhyb4.exchange.mit.edu (18.9.1.100) by oc11expo13.exchange.mit.edu (18.9.4.18) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 15 Aug 2023 09:51:26 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.42) by oc11exhyb4.exchange.mit.edu (18.9.1.100) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Tue, 15 Aug 2023 09:51:26 -0400 Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by SJ2PR01MB8281.prod.exchangelabs.com (2603:10b6:a03:53d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.26; Tue, 15 Aug 2023 13:51:24 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::c9e9:4c4a:86ad:dc9b]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::c9e9:4c4a:86ad:dc9b%4]) with mapi id 15.20.6678.025; Tue, 15 Aug 2023 13:51:24 +0000 From: "John F Carr" To: freebsd-arm Subject: Float ABI confusion for armv7 Thread-Topic: Float ABI confusion for armv7 Thread-Index: AQHZz3+UBgx8E6qY20WQh3JugHx3xg== Date: Tue, 15 Aug 2023 13:51:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|SJ2PR01MB8281:EE_ x-ms-office365-filtering-correlation-id: e116e39b-3a2b-4629-dbe1-08db9d96b6df x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YLpL+LuQdWO5ypr/fueWABQ1UZZwUjxksRHER98fB9F7WVUSDY4g3U5HOprdzjlmbZFFHCbF/lB889hQgSYq1Fdxd2EMNdTfRrc8n/Z5cBW5Yqvh5S2tE8J4FO7MJF6Uk8xkJNrZBb8s5W2xc7oESi2bQL8W66U09sNV6IgSJf/I40s1ga+dMWy3lII2/Z+rbmaDS/cGybNnfvP75oBabNmrdldcRvYE8kpK8+ur1vx3mhCpPvCuYOFMpQN/zuCJeqD2Jks2VXOrhDvWIcJHich3FeULN7EN3a5fUHBzZ2W6z7fvGfidUkE/dxrfr3WXcv1iC4rxMBQfw1ZnUtNqC2f6uWH3KKMOFKKwKORLpA98DcF6Jdi665a6i7Y6psTpIkj7bYIFjvS9fVQbjdZC6nnwMO+40KpUZr7057vpIrKLXt9ttvVu83vaZvGw8wqVA7E+FhkNxdN/cO0lXxeF+r04sli4n9ReN8TmfjoRHrvlXvphQm2Zx0SUJ618Nh9qq067v2unhb9J+70v/4/Q4MtVSLadmw3Rm+k+PmRQpWL+b1VHa6xpHc2fAWWTb05NXbDmHQenJeA6b2KlTWRLAjm15jr8DUC50e4j+JYJllM= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(346002)(136003)(366004)(396003)(39860400002)(1800799009)(186009)(451199024)(75432002)(38070700005)(38100700002)(66946007)(66556008)(66476007)(66446008)(64756008)(6916009)(786003)(316002)(76116006)(91956017)(478600001)(122000001)(4744005)(2906002)(41300700001)(5660300002)(8936002)(8676002)(83380400001)(6512007)(6486002)(71200400001)(6506007)(26005)(2616005)(86362001)(33656002)(36756003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FM14nOMc3NB8Jq3YSasg2Toql3AaGJNFGmNegYYY6nHXYmgbTH4MN/nRTp9L?= =?us-ascii?Q?I47s7bPqxXjqUsymjXUXsfKQJC2a0kNjIqi9s9Kho74uI3g39RasToy4o6UM?= =?us-ascii?Q?RSfPeblAx3mR9mwvmtrILIHqrwQV8TdVtYUJC0yFYyZcnC+H17Ua/UTpwmTs?= =?us-ascii?Q?/A5/l5pusNTRYkhZMDeiLBk1VoTTS7YviQRna0yNfNznlpGUeOwaMq/xyxBA?= =?us-ascii?Q?ClbfxWFMfqc2Vgs20Uh0GOEFd6EywKVdiF/drgWx3Uz9bHWRpQcfYjfFDft7?= =?us-ascii?Q?XoFf7voIfMsuqfX4x2kcJHhGc9qyN7ePI7vTuNQMYGVAwx53cJI1F+HlnJbf?= =?us-ascii?Q?6HkA+Y13hlMpRILAHqZ0BjkyT/UD7xL/7JFa8FuMtFr2F6aNg94UTLjDy6Cm?= =?us-ascii?Q?IIroyQh/4M3sXTT7/zrwmqbLhz6t/CXOyeeEQiDp22PeH6rYRK5TQxvAL6Km?= =?us-ascii?Q?0iaIEpNWSDQMRW0X/x03olONuTBDr65sPylvn27OzukCP8ZkL6koWSTbRBTV?= =?us-ascii?Q?b7Bj7yKk05uNHb7MkOOWlHrv4tCGAjwL604TlpG6D4InafcN7kcV72ccSraa?= =?us-ascii?Q?gyMh87M2GtpBCSQ7WsHnSPgODK/fKd8m4Oi+mCfwQUqs/7ij2f5+REw3L9NJ?= =?us-ascii?Q?rhDpKWWCRyIV0zdz9hGC0pkjuyjX72gf2XVMeEKL2YrIufjoYQlR9/hD1Hb0?= =?us-ascii?Q?3N4/EMkSD1OCkxfgykqoqs2ZE8cJRx1secm6ygQ62RG+uubHcLBk16ibkHZq?= =?us-ascii?Q?JayCoTGlROQ855TJJy0CL8p5M2Yhcg6OoKBgfx4yp5N5HqP+R9xEkqgWJxdP?= =?us-ascii?Q?QK5yqfuu9Op4LKB/70QRf0i77M/juwoGlJbDdJI6RZBwA33OeDKOj6y3PFcO?= =?us-ascii?Q?IFq0lYrNHNks/+YEQhCZ6SYVbRtrjW6EIz+L/SYWx0LEEdKeoqTfYKv0Q6oK?= =?us-ascii?Q?8nYeBfV/iCuzemgRwlpGD7BhDiRhyLDLdGzyDMM9LSC9hUvUTCeFO/JtYVBQ?= =?us-ascii?Q?z4L+hybRTCidwN+YoyyQoEnyNVJUnb06IVXwqtELcXdgrFqFAU1HWtm/aWlA?= =?us-ascii?Q?UNCf9/PQKpPphaApfahTDuVnISe5xlgTvapOtGXXlf3zfM69srca4SXCxb+X?= =?us-ascii?Q?/dmJerRtqt31joQl/CBUo30Gu963yo3NDr5XM3yL8wvIc7BgFuO7FmYiuKwc?= =?us-ascii?Q?OMvbn2wCWECgyr7ZYHUvOsWbXpSbftP8sCHNRycZIHJTVLBf+r+BFFbo2Xyv?= =?us-ascii?Q?mFap3Tdix50/N4DPPQdlcmkdrSFeWfWZ2Rp4+ykV6y5OGkAB8T29Q9cuyYCP?= =?us-ascii?Q?XfpyG/ECrHv1o9LY6BcGwrfPA6q8nbsZT64QjLyg3SukcA1WIvhpf9m3cXxB?= =?us-ascii?Q?MeOirLLAIW2hhGgpLjHZj9Pwr4TdPM1c7enlnBlPHOUS9fLGJpc/TjyYu3Hs?= =?us-ascii?Q?i3pZ9cJPrO4iZXCIvCEbI58bKOsrQQwfXSgeyb5jEzDDyka6puXXUYMaR7Rz?= =?us-ascii?Q?6Cg+nywMiomn6qe/aD+h/eTBLTZdTx74xzlSeppD/8CIgiC/y47dJJMnYMG5?= =?us-ascii?Q?xkSyY6i1+01JafmiXzc=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: e116e39b-3a2b-4629-dbe1-08db9d96b6df X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2023 13:51:24.1471 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: df+vz8JyUfZ3jHXaWOYeSo76LbyrdCUv7hYx/TY0rG537ixADGd1f/Lpyza8bx/L X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR01MB8281 X-OriginatorOrg: mit.edu X-Spamd-Result: default: False [-5.79 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.99)[-0.986]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[mit.edu,none]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.13:from]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[18.9.3.18:received]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[mit.edu:+]; FROM_EQ_ENVFROM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[104.47.57.42:received]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-Spamd-Bar: ----- X-Rspamd-Queue-Id: 4RQCPG5ZbQz4J8r Has something changed in llvm to cause soft float to be the default for arm= v7? I am cross-compiling using poudriere on a 64 bit ARM host to target armv7. This used to work. After updating my jail (poudriere jail -u -msrc=3D...) = I get an unnecessarily mysterious failure building pkg. Poudriere erases the eviden= ce, poudriere -i does not work as advertised, pkg's configure script spawns sub= shells to prevent set -x from working, and the subshell directs error messages to = /dev/null. After getting past all that, # cc -target armv7-freebsd -o /tmp/a.out autosetup/jimsh0.c=20 in the pkg source directory results in undefined symbols such as __eqdf2. # cc -target armv7-freebsd-gnueabihf -o /tmp/a.out autosetup/jimsh0.c works fine. # cc -v FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvm= org-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin