From nobody Thu Nov 23 12:24:16 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 4Sbck76lKCz528w3 for ; Thu, 23 Nov 2023 12:24:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-22.consmr.mail.gq1.yahoo.com (sonic317-22.consmr.mail.gq1.yahoo.com [98.137.66.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sbck74DB6z3LFD for ; Thu, 23 Nov 2023 12:24:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1700742269; bh=U2dtMSFEgXJXmnn2Q9xQMt2cllJb1rTDN48RwkNac2g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=jyIatYLHjZJd9Ts5dkPsv9qo2pusgcUEJXehKq4J/7TSuImARiSNM4ZHm+xDsd9OmyS7crYm5WwxKgPLmOVILv6U9oWiZ3n2DaFDy8ZdGwDycsKQChTStSzSrcsOWsNANINhtLybeA2uNDtDf/X5KvrhWqfYzn1KT/zwvSjRyATdmvYZ6XxbgUHSux7BaMsqLB2h5jGoUAxJDfyqu8veqF8xkAUVE3Cyp1gSBZOgaKoMsxiuJwzwHvBG/9xuKTPvW5fJE+hM1rFfnOH5rAzzLx8MyzXtx0ckamZfXq1ztJjXDPN4WDDiS9xqV2FcTxTdR+tPiqY3uD7TXNYpi7OLHA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1700742269; bh=zWwDBh76jbR1GZspWv4v+R4jWn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lcMAi2ya8c49vT3RWbpUt3dgg4PHgM9OTLRWri8ehR1Okg72o2exXRosJhxGSQ_fERx DkEsJe4T0RMBSdnc6hFN0fVI_3N6Czx1LFrrb7ex6l0hNIDf38IfCppKoEhPvRFu4kuekg.jLlzx JEwlSr6V74CSaq6MuPtrPLmYoFR_iVF52Gi8ExcZru.i5.WWGTkerLWrYAv6QMnWn0D97N6S9G68 wsZQY6BqhPi20Ov62BgsxfDLG7BfEWMA70yqyjyi5wihMgACP4jFAFD95stT_pqPP5.UJXURFK4g C59oAYPLvA3I1JlXOLIh9RD.0EVG1rU_AWs9iGXF1kXPjLUxjqpnX85xpoYb6XP8.eep85B9vePo __2XUJ4XvaMc_K1xf6bSHzjKOULSN6.ZVY0MbIsaQSGx7EQJqbWERVFj5Rb8VBOGl8eobUZA_TWo Owe4f0u8EPrlHyamhSS74.nUktJqxoIUNfAAyYwSSAvwCwva0okT0G7SCuNTsVZDdqfoKl95B_kS K232JhcY3iwLWyPFNL8qGkt0I61xqm2dhzil7w9l.KCqFviWkX6pAOlO3hWtFmNGwbSw4qkZcYCU - X-Sonic-MF: X-Sonic-ID: b6e043c0-d088-49db-ab32-3292ad25c1c3 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Thu, 23 Nov 2023 12:24:29 +0000 Received: by hermes--production-gq1-6775bfb8fc-nhc8v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e01f6472ebab52676c7b3f5afa68b277; Thu, 23 Nov 2023 12:24:26 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: Undefined __aeabi_uidivmod in 14.0 armv7 From: Mark Millard In-Reply-To: <0EBEB2B6-198D-47C5-8715-02F19EF5ED06@mit.edu> Date: Thu, 23 Nov 2023 04:24:16 -0800 Cc: FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: <0A4098ED-2084-4F9B-8006-7832E8333CAC@yahoo.com> References: <0EBEB2B6-198D-47C5-8715-02F19EF5ED06@mit.edu> To: John F Carr X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Queue-Id: 4Sbck74DB6z3LFD On Nov 23, 2023, at 04:15, John F Carr wrote: > Before submitting this as a bug, I want to know which component is at = fault. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271087 > I upgraded my armv8 host and armv7 jail to 14.0. Using poudriere to = build > armv7 packages, ruby33 fails: >=20 > making encs > Generating RDoc documentation > ld-elf.so.1: /usr/local/lib/libunwind.so.8: Undefined symbol = "__aeabi_uidivmod" > *** Error code 1 >=20 > 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. >=20 > Linking something against libgcc.a would fix this. >=20 > 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. >=20 > So... >=20 > 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 = FreeBSD? =3D=3D=3D Mark Millard marklmi at yahoo.com