From nobody Thu Nov 23 12:15:58 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 4SbcXR6bPwz527bM for ; Thu, 23 Nov 2023 12:16:07 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-1.mit.edu (outgoing-exchange-1.mit.edu [18.9.28.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SbcXQ6m6rz3K25 for ; Thu, 23 Nov 2023 12:16:06 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b=EwrX7iol; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.15 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 3ANCFuBh000515 for ; Thu, 23 Nov 2023 07:16:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1700741763; bh=y/sBTfbwwFGlGtA4ay19w+RbwIk/JmVza+gWk3hLdcQ=; h=From:Subject:Date:Message-ID:Content-Type:MIME-Version; b=EwrX7iolA3F7uplkdQcQIepXQyc7g+vqnFKdd0xCTIqIvxlWNpoSv6zoWGBpzg7OJ TFVsiUfsgZlIDSEwGY3kQfVWi0zyIeIMThixjBZcB+xssO5OW1GAfd3gQu3ForqHzf W5NYQzBQzoJPDjnTTrfkC4suYI+q77O1olVKDQUK2TKo+1AXYdapxMtfMogzSqSCUS bcQ97OmUtSI8Azjp6ALlUpLuWQcgjFj6CAVjTQOg1GwzBlSa1DFbmFDdBkUcypnoPn nwS4OHeZ17PLSx/vtFwbKEYsIwikB+UbR/FqG2ySbFlhqGDUUcVwo/OMcivbJY7+9z wNMK1IIF49VhA== Received: from oc11expo6.exchange.mit.edu (18.9.4.11) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 23 Nov 2023 07:15:24 -0500 Received: from oc11exhyb3.exchange.mit.edu (18.9.1.99) by oc11expo6.exchange.mit.edu (18.9.4.11) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 23 Nov 2023 07:16:00 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.169) by oc11exhyb3.exchange.mit.edu (18.9.1.99) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Thu, 23 Nov 2023 07:16:00 -0500 Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by SJ2PR01MB8553.prod.exchangelabs.com (2603:10b6:a03:55b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.20; Thu, 23 Nov 2023 12:15:59 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::79a2:b3b5:bcdf:bdf0]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::79a2:b3b5:bcdf:bdf0%7]) with mapi id 15.20.7025.020; Thu, 23 Nov 2023 12:15:58 +0000 From: "John F Carr" To: FreeBSD ARM List Subject: Undefined __aeabi_uidivmod in 14.0 armv7 Thread-Topic: Undefined __aeabi_uidivmod in 14.0 armv7 Thread-Index: AQHaHgbQ5vyOOPdhD0yFmNvhz59tmw== Date: Thu, 23 Nov 2023 12:15:58 +0000 Message-ID: <0EBEB2B6-198D-47C5-8715-02F19EF5ED06@mit.edu> 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_|SJ2PR01MB8553:EE_ x-ms-office365-filtering-correlation-id: acb0aafe-0653-4c80-e630-08dbec1df346 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WKDOtRwTYqSOKbn2fw2AcrkNh1zxhuHRCXEl9im1pp9paa5F8t00BA6YKPhiD4+8DE0UVdACC4K8Wnz/MvpE6fZwkt7ae8DtvD+PNMjva93XvE9JPQeyFh94AcLaeNUdKrpPPfgrvEb0ySkzL6NHR2w1Blwn7mUI+zNr6an1RaghWmgDxEgE3bLkstEQS1nFifDAcPb/d1kE7WEv1RGdirhX2BPf5gWwqSrR0d4ME2MD9Cq7PODo1VOufaBqUlQZY6qRz0KFN6qKX1ne5IhfU+9lOM1m8glzM8r6TYLV5sKTXjVNyMjr/bVKilrafJr3XsYFDgSzSS6ODxABtCZqdL6mVNkh/4lx6nywKpkbQNRBFbNCn1IY1914jHMDiowESRXf5htSHcVr6yV1xYZIz1wBAHRQWkyDfF45v/CtOdlvbCjz2Hi3xxHssCWDmSkJACjk9fQHTAih2qBsGOT/aZ19k8N7vovn/vVnDNypv5RCFLkQOTMy1TznwJCw4akUvvBLzbWK7+BSLPeUy4KRy66WNMQL+oiJXs69cefNWMIGQquPEdpsqCBe6IXB+/rYTDZAAHAUTK0WLXP/uIMz2pOfYi/QRdpj4Um4S0IK5B0= 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)(136003)(376002)(366004)(396003)(39860400002)(346002)(230922051799003)(451199024)(64100799003)(1800799012)(186009)(83380400001)(38100700002)(38070700009)(86362001)(36756003)(33656002)(122000001)(75432002)(66476007)(6916009)(786003)(316002)(76116006)(66946007)(64756008)(66556008)(66446008)(41300700001)(8936002)(8676002)(91956017)(5660300002)(2906002)(6512007)(2616005)(71200400001)(6486002)(478600001)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sSNsXgewfuBuWcNimglLVw4ipVc3+yKHQmEYJUItNXuPuYfssDWd0Rd9ljAs?= =?us-ascii?Q?MZWPt//Yx/BV4H9lf791MN+Zd4tqfNuyVFtB3nk0j5n1nWLxiuC03N68kd7v?= =?us-ascii?Q?/Q5XlMMUgLi853vjVtukyEfibAK+UufOaUlHYAEN3ngxm/Pn2fNMUdBP23mC?= =?us-ascii?Q?yOjmMpCuBzD3ier9C6RtFXQOzvaNxgA2pcCM59F7mGmUjaE1DjeXkibaKcOi?= =?us-ascii?Q?wtnDsYtDEpzzaGslAoG0kXw/sfpFV4jHtutVywEmJ1DMS5GanMx1haigvcma?= =?us-ascii?Q?gryYyBSsFmXBBYDsSCQLC1lz5b0qk1FEXv3UnwtJD1/te21FVmkJIKwrajEf?= =?us-ascii?Q?Xxa8UsE4lguzZ4qLH2im6QvxegFjVMR0r53iu3IthpCOmmjeTDqUTGIigkt7?= =?us-ascii?Q?xOwHyWLZUJex2BCjI0VrhbJ46GSflERanMD2MhfXwCwZ6jDhRFxsSKf8YwOW?= =?us-ascii?Q?AqL81Imy7gqgR/HoYDIuyBVGcFdzK4XdYxu7Zs/K1+p5qRalbNrUeommhTpa?= =?us-ascii?Q?+O0gmr0TzVrLJdL17miibisJb+cf3anozTKtLIgjufumqUIjo0hpuvyWc5fm?= =?us-ascii?Q?s5faEhMx6lHdAMhiFYCSpFjGPx5MAWvEBqMFiJp+14Cicv/sDUnAOJKXIu8w?= =?us-ascii?Q?j94tpyiJPBQNplEmn1++dXKIrrPQvbVOXdSs+qVwu3Qm8tDJ7oBTtAzTD0F/?= =?us-ascii?Q?QTBVXWg2pKXSgB3DkXD3VJ2ASgegki4JI2oc2fLEWGMgMV7jthnwk5dvmSRc?=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content-Type: text/plain; charset="us-ascii" Content-ID: <5E52F22CEF55EB449BF6CF9862311B9A@prod.exchangelabs.com> 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: acb0aafe-0653-4c80-e630-08dbec1df346 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2023 12:15:58.2265 (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: JwC25sYT+F+IeCD1ud6X1iIprJpM1fvwn5NoW2+hpTzOq3+DixLorFw5R4A826/8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR01MB8553 X-OriginatorOrg: mit.edu X-Spamd-Result: default: False [-5.79 / 15.00]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; 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.15:from]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[18.7.73.15: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.55.169: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-Rspamd-Queue-Id: 4SbcXQ6m6rz3K25 X-Spamd-Bar: ----- Before submitting this as a bug, I want to know which component is at fault= . I upgraded my armv8 host and armv7 jail to 14.0. Using poudriere to build armv7 packages, ruby33 fails: making encs Generating RDoc documentation ld-elf.so.1: /usr/local/lib/libunwind.so.8: Undefined symbol "__aeabi_u= idivmod" *** Error code 1 I confirmed that libunwind.so does have a dynamic dependency on __aeabi_uidivmod. That function is defined in /usr/lib/libgcc.a as a wrapper around __udivmodsi4 in the same library. It is not defined in /lib/libgcc_s.so. Linking something against libgcc.a would fix this. The _aeabi_ family of functions, as far as I can tell, is only used with -target arm-none-eabi and not with the default target. Using better compiler flags would also fix this. So... Is this a bug in base: libgcc.so lacks or does not export __aeabi_uidivmod? Is this a bug in base: the compiler does not link libgcc.a? Is this a bug in devel/libtool: libtool does not link libgcc.a? Is this a bug in devel/libunwind? Is this a bug in lang/ruby33? Is this a bug in some unknown component compiled for EABI instead of FreeBS= D?