From nobody Mon Aug 22 18:30:11 2022 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 4MBLWd2PL5z4ZL69 for ; Mon, 22 Aug 2022 18:30:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (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 4MBLWb6pSdz3cHQ for ; Mon, 22 Aug 2022 18:30:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661193017; bh=9MxbScVa4fSV+iiDiLiLFqfH8cNewT94wM9s91Ubok8=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=iCDK58hXszb61w5HXhO9xUxg9n/WiNMJyxXNlb0AhfiWbF4XReO69GOYPub/uL2ogbjElOYttzfrT2RxZbCIC8+qFim2G13lmBQzn0rdbWEQTU+7OPUJI+ga1cJQwKM73uJrKK1Tyeh/x5Ui3LHlrm5+c5JDFmfSFSm5Us0YjBYNkpbh9P4o0HixB7lfPO61hmOmo5b9IhPXd9kMpKvnoWWRC85PIBbV3UIuk4aG0Uyw6fH6FVt/xldbJqj/EIde4RnbgOsQur5BYdi7rfEDHDU+ZGTpd3VB3Up+914NfnhY2fCOEikUENYzgUw267NDXiMXWpxhU7QCEkU7lwfvSw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661193017; bh=IWnMF14zAWxPIUPIbUrRV+oQiizKM2wViQAt5BU8rPv=; h=X-Sonic-MF:From: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wHjjxw9wUIYxn3iFD78tLO7ivASx1zKDF5 LGbJagDTJf.bkgf__bBVb4.cDLfJVEPPPSpvg.Cd1DsMdebONCP.mYluh0Bbua1QyxSRWQbxDHKZ yYo7UROFwFYkoFBfU8Q45Xy66Z.UMTdV0XyGxxjOYxbcGf0e72GSFpTP1toll5CEZv1dw8FCeYYU P_kBNEC_VZnZ42132U8Ef6cF4tsVrPYXKj12P.PPpRj5E16.Qhcq9yPDkJYlowIcL4P3_uU6Cg3X 8giH4gDOBip5gVHD0H0wTj.mb.ER0zUP1TuFeo3VMqqPgE9hTs96SFa3v1p93XVwl8Q80vA1vH1M qUVEhjz6YvbKujT1SzDbZtRq46GpncNnP1_cdlTnq0C6Tkyb8EYDO0wpngRlg1jMwq8seoxrekqD sJ0NHviEhzfNQNxKmrz6e.YDj.JB9x53sJ.SiVM49WswKUdBYEJr02_OkK2EK1Vnfswzqmp1c75x tYQIW3sQ5RjFjyIDs.oJ043fAhcC3c7YTTicqB3nzZlcJWpP_75YB7791e0c2GdIMgHEriq4cgXM m8i6IdeDp2z3t7cB25P0R2R8Poo_xWsTTgZZfVrVbBTSqjhxDRv.FUWIA7_JO1YyVKIyhaff7od9 1TeVljVZH3h.LxHih_uwEzAy188hbxe5QC8Kj971bRwlhHQXzVb1H2PuYKy84djqrf22wS76yGpG 7Dg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Mon, 22 Aug 2022 18:30:17 +0000 Received: by hermes--production-ne1-6649c47445-vq89d (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 20d44d0d46535fc9558e23b7f0a40539; Mon, 22 Aug 2022 18:30:13 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Reduced reproduction of games/libretro-beetle_psx 's armv7 build failure Message-Id: <3B0A68EC-438D-48B0-8B6D-BC1BCE59ED73@yahoo.com> Date: Mon, 22 Aug 2022 11:30:11 -0700 Cc: freebsd-arm , dmenelkir@gmail.com To: FreeBSD Toolchain , "dim@freebsd.org" X-Mailer: Apple Mail (2.3654.120.0.1.13) References: <3B0A68EC-438D-48B0-8B6D-BC1BCE59ED73.ref@yahoo.com> X-Rspamd-Queue-Id: 4MBLWb6pSdz3cHQ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=iCDK58hX; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.48 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.83:from]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com] X-ThisMailContainsUnwantedMimeParts: N games/libretro-beetle_psx built for armv7 uses its jit_arm*.c code. The below is a simplification of the context for the later shown build failure log file from the FreeBSD package build servers: # more libretro-beetle_psx_build_failure_reduction.c=20 extern float __addsf3(float, float); extern double __adddf3(double, double); int main() { (void)__addsf3(0, 0); (void)__adddf3(0, 0); } # cc libretro-beetle_psx_build_failure_reduction.c ld: error: undefined symbol: __addsf3 >>> referenced by libretro-beetle_psx_build_failure_reduction.c >>> = /tmp/libretro-beetle_psx_build_failure_reduction-e3ff6d.o:(main) ld: error: undefined symbol: __adddf3 >>> referenced by libretro-beetle_psx_build_failure_reduction.c >>> = /tmp/libretro-beetle_psx_build_failure_reduction-e3ff6d.o:(main) >>> did you mean: __adddi3 >>> defined in: /lib/libc.so.7 cc: error: linker command failed with exit code 1 (use -v to see = invocation) An recent example of the build failure on the FreeBSD package builder servers is: = http://ampere2.nyi.freebsd.org/data/main-armv7-default/p85ef7d020401_s0fd8= d3589/logs/errors/libretro-beetle_psx-0.20220211_1.log There may be other examples than __addsf3 and __adddf3 (in other software?). It seems there must not be a (complete) test for the coverage of such things. That same reduced-problem source (by content) builds for aarch64 and runs fine on aarch64. There are more issues with missing math routines vs. the lang/gcc* code generation --on aarch64 as well. But the above sticks to system-clang's toolchain as a context. Note: I do not normally build games/libretro-beetle_psx and never use it. I got here from looking into a somewhat analogous failure and looking to find an official activity that was similar that I could reference. =3D=3D=3D Mark Millard marklmi at yahoo.com