From nobody Wed Jul 26 19:38:36 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 4RB42l15x6z4p4xb for ; Wed, 26 Jul 2023 19:38:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.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 4RB42j5x65z3Jv7 for ; Wed, 26 Jul 2023 19:38:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=iuYZAebH; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690400331; bh=EyMhZl2Nh2g+iJkKCglPrlRuVa7Rjthcf8Ngr125c28=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=iuYZAebHbFU7Jw/t7WQdfFccylAgelQQX4yOwo0DJduAz2mYfbTH/rUKBXB8pp1H+aEPMx8IL3/qSaTonzDFEW3NWbgfgB/z5iEcMqzLl6C1bjLnQRhTzYQM9OvIA+obZtLcdSVNcQsTScNTceWTaCEGhMJrN3noEmYEp724OZntXfQU4encwqS552jP4aRPFeb3pfGU8lEhSvWJP/rFwalyO0fe/B3rjHkb9uEftsN8RSRTz2DOL+wL2mzn/F6mUWvyGxKFzD9sdirInfkhSlu7hlInzHceJNo/eHBM1iPvAAmDyt1f7NkEeH4NDNom2Vu3UTwovkNR3kk+cEcx7g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1690400331; bh=Xh1fqJkmUphglG1P/+Kossl0TnJZ6jnhYobIDA7S4Wi=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=LkROzjrCpgacuFQN3OuDiYddOIB8AsCeiXOK2z6Qe1RfsxJrSgb0pZ562sHtR7G3eavUr/3F5hgWEWEfvPuvsI+F80CM9S6+LkhK0DtiW1CLkC/PfSiNoVpNetpJ24iAwdMBXVOOeM2PfsO6h3Y+dlvFNtjk9/MYr16AFPyBsSqPQKMXnjn+9JgLqel0lSMpYZ9ax0FXDLMF/UASR73NYldIwZM423QnkH0oayGY+r457WyeWmiigV/IEf1KtgeIgE5jUfmdUDv5bay1rx0LflPVhFJ4svTkbmTggKH3eR0p9fbWScoE8kJdEjNhaRfvO3W3wu6IdiM8+MIFgN0zvQ== X-YMail-OSG: hMHpJsEVM1kmorHwqo.QSZppJKXwj5JNIXnLtQho2UjlT5s8SWQBMXX5eurcXr9 16BqR2R0uAYVUZrREsGiQFGJWenQpGCUyyQSLFsQ6pQd2PH37zC9el1xO463Y9sso8FkSBVfgEFk 4Dpdl36tUjfhsyt.gNfN0.xUAY8o218oaSS48vYtavFYKh7HSriZnhLvL5_2ehHeuoSBBcX1sSCI 1bAzgsl_Kn5V1zu7QR2odlCQEY8m9PL_TiUuz2tqhrvGOrUF1O3OfZ47cpPTCgXwuTrpMZ8m6beb juQb4ejdoqVa8TgkicRJ_eLmRHsobzhNDZAINq79ki548QmeZijNl3CMlaT.uAp5aXhEeN0gHomr 5tVGFo9c4Pw0_WLvmf9EYBE9CwLuJoDxi_0RCSfJEwcbswiPKx4dWRsyMky6.zdS4duxxJht2CmQ m6iY7KgbFawO5r.2Yh4Svw_e4ps_jOMGGNdRn6xG3iAD1MilXPCbcTmRHIynA411k8oEYTYhFbrR ZrMHEUQRwh94O1ya6NFh0FWwFfxVZu9XK7WmIL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jgX0jFjoQ8ygRUecsA411Elkpe9U9glvZoIdvUJ jTvRidp1z_9w.JgzVh3N6drNpt_3WfhQ4hZAY6l4BF8K18FSwWstm4RLTBeQeGWpMT1_4XdiW6j1 AbpHxM_IdtFKj8gmoZT.J2iSbuAsk1favwiy0KY2Kpcvb0BoRxhr.h6t2wfyooXUG45lK7rcoXFC qo.izlv1XfR22F6CoL6NHxgxsn.ifj5mcN7TV.awfp_KqXo9yRxo3ci77JSURh8VKwyF1XBKq2Rg XoUspVugiXzdjcD0mcn7skxqxqS9eiVuddOc68i7B7bgLQIS1W25ONPCKLrhm4z_27BkqESe7zu3 l1T06T5dAdEVwhDgW.P9EiwxlAlU6WQBThta2dv4t7c.MEVSz3D8XCkbIjsfOkxFY7mL57QoEXa6 h3SZz_I8H9oTtlnr8edUloMhpKWs0PH6_excu1ZPLXQFv1pyKm8ZBOsEJJd58vatx9ulC0s_e9hI OAgmYSJo2.YQ3zwhx6lihbUWpIbwPUYGd35ihw2U3KvXfBS9pXfw.9yqccBfsxz7CAz.TJ6Q2LhB 9EMtJxioWgTEJXI5weCFiS_UR.zpSa7k9LtS53X.txeZCnLVlZdbrz.CYyZt51OUCWHYSH0D3ud7 nfSNnVHfDH61ATAt71ups0fbMblFw3sqN9bfgOwMhllZ7v7GWBMhWBDzaYEysaT75r1_aACq_B9g - X-Sonic-MF: X-Sonic-ID: d3bb8183-299c-44fa-b4cf-c6ce2b69767b Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Wed, 26 Jul 2023 19:38:51 +0000 Received: by hermes--production-ne1-549c7f6c44-rbj5v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6d9717bb30819aa438a5e902aadbe63e; Wed, 26 Jul 2023 19:38:48 +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 16.0 \(3731.600.7\)) Subject: C++ program-build problems for aarch64 -m32 use; examples: undefined symbol: __muldf3 , undefined symbol: __divdf3 , undefined symbol: __ltdf2 Message-Id: <768153A7-26A2-4374-9FD8-C127D655354A@yahoo.com> Date: Wed, 26 Jul 2023 12:38:36 -0700 To: Mike Karels , FreeBSD ARM List X-Mailer: Apple Mail (2.3731.600.7) References: <768153A7-26A2-4374-9FD8-C127D655354A.ref@yahoo.com> X-Spamd-Result: default: False [-3.42 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-0.93)[-0.926]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.83:from]; BLOCKLISTDE_FAIL(0.00)[98.137.65.83:server fail]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.83:from] X-Rspamd-Queue-Id: 4RB42j5x65z3Jv7 X-Spamd-Bar: --- I do not yet have a reduced form of this. This is via use of local makefiles and such, not from a port. It is a variant of a older not -m32 that I adjusted to use -m32. clang++ -v -m32 -std=3Dc++20 -Wpedantic -Wall -Wextra = -I../other_src_used -pedantic -g3 -O3 -mcpu=3Dcortex-a7 -flto = -pthread -fuse-ld=3Dlld -flto = ../objs/cpp_thousandslocale-clang++_16_O3lto-libc++.o = ../objs/cpp_clockinfo-clang++_16_O3lto-libc++.o -o = ../cpp_clockinfo_main-HoneyComb-65536MiB-threads_16-ILP32-FreeBSD_main_n26= 4334_215bab7924f6_64bit-clang++_16_O3lto-libc++ = -DCPPCLOCKINFO_VERS=3D'"acpphint_0.1.36"' = ../other_src_used/cpp_clockinfo_main.cpp FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git = llvmorg-16.0.6-0-g7cbf1a259152) Target: arm-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/clang++" -cc1 -triple armv7-unknown-freebsd14.0 -emit-llvm-bc = -flto=3Dfull -flto-unit -disable-free -clear-ast-before-backend = -disable-llvm-verifier -discard-value-names -main-file-name = cpp_clockinfo_main.cpp -mrelocation-model static -mframe-pointer=3Dall = -ffp-contract=3Don -fno-rounding-math -mconstructor-aliases = -funwind-tables=3D2 -target-cpu cortex-a7 -target-feature +soft-float = -target-feature +soft-float-abi -target-feature -crc -target-feature = +dsp -target-feature -ras -target-feature -sb -target-feature -i8mm = -target-feature -lob -target-feature -cdecp0 -target-feature -cdecp1 = -target-feature -cdecp2 -target-feature -cdecp3 -target-feature -cdecp4 = -target-feature -cdecp5 -target-feature -cdecp6 -target-feature -cdecp7 = -target-feature -pacbti -target-feature +hwdiv-arm -target-feature = +hwdiv -target-feature -vfp2 -target-feature -vfp2sp -target-feature = -vfp3 -target-feature -vfp3d16 -target-feature -vfp3d16sp = -target-feature -vfp3sp -target-feature -fp16 -target-feature -vfp4 = -target-feature -vfp4d16 -target-feature -vfp4d16sp -target-feature = -vfp4sp -target-feature -fp-armv8 -target-feature -fp-armv8d16 = -target-feature -fp-armv8d16sp -target-feature -fp-armv8sp = -target-feature -fullfp16 -target-feature -fp64 -target-feature -d32 = -target-feature -neon -target-feature -dotprod -target-feature -fp16fml = -target-feature -bf16 -target-feature -mve -target-feature -mve.fp = -target-feature -fpregs -target-feature -crypto -target-feature -sha2 = -target-feature -aes -target-feature +strict-align -target-abi = aapcs-linux -msoft-float -mfloat-abi soft -Wunaligned-access -mllvm = -treat-scalable-fixed-error-as-warning -debug-info-kind=3Dstandalone = -dwarf-version=3D4 -debugger-tuning=3Dgdb -v = -fcoverage-compilation-dir=3D/usr/home/root/acpphint/acpphint_src = -resource-dir /usr/lib/clang/16 -I ../other_src_used -D = "CPPCLOCKINFO_VERS=3D\"acpphint_0.1.36\"" -internal-isystem = /usr/include/c++/v1 -internal-isystem /usr/lib/clang/16/include = -internal-externc-isystem /usr/include -O3 -Wpedantic -Wall -Wextra = -pedantic -std=3Dc++20 -fdeprecated-macro = -fdebug-compilation-dir=3D/usr/home/root/acpphint/acpphint_src = -ferror-limit 19 -pthread -fno-signed-char -fgnuc-version=3D4.2.1 = -fno-implicit-modules -fcxx-exceptions -fexceptions -fcolor-diagnostics = -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=3D1 = -o /tmp/cpp_clockinfo_main-bd1520.o -x c++ = ../other_src_used/cpp_clockinfo_main.cpp clang -cc1 version 16.0.6 based upon LLVM 16.0.6 default target = aarch64-unknown-freebsd14.0 #include "..." search starts here: #include <...> search starts here: ../other_src_used /usr/include/c++/v1 /usr/lib/clang/16/include /usr/include End of search list. "/usr/bin/ld.lld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 = --hash-style=3Dboth --enable-new-dtags -o = ../cpp_clockinfo_main-HoneyComb-65536MiB-threads_16-ILP32-FreeBSD_main_n26= 4334_215bab7924f6_64bit-clang++_16_O3lto-libc++ /usr/lib32/crt1.o = /usr/lib32/crti.o /usr/lib32/crtbegin.o -L/usr/lib32 = -plugin-opt=3Dmcpu=3Dcortex-a7 -plugin-opt=3DO3 = ../objs/cpp_thousandslocale-clang++_16_O3lto-libc++.o = ../objs/cpp_clockinfo-clang++_16_O3lto-libc++.o = /tmp/cpp_clockinfo_main-bd1520.o -lc++ -lm -lgcc --as-needed -lgcc_s = --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed = /usr/lib32/crtend.o /usr/lib32/crtn.o ld.lld: error: undefined symbol: __muldf3 >>> referenced by cpp_clockinfo_main.cpp:153 = (../other_src_used/cpp_clockinfo_main.cpp:153) >>> lto.tmp:(main::$_0::operator()(ClkInfo const&) const) >>> did you mean: __muldc3 >>> defined in: /usr/lib32/libgcc_s.so ld.lld: error: undefined symbol: __divdf3 >>> referenced by cpp_clockinfo_main.cpp:180 = (../other_src_used/cpp_clockinfo_main.cpp:180) >>> lto.tmp:(main::$_0::operator()(ClkInfo const&) const) >>> did you mean: __divdc3 >>> defined in: /usr/lib32/libgcc_s.so ld.lld: error: undefined symbol: __ltdf2 >>> referenced by cpp_clockinfo_main.cpp:185 = (../other_src_used/cpp_clockinfo_main.cpp:185) >>> lto.tmp:(main::$_0::operator()(ClkInfo const&) const) clang++: error: linker command failed with exit code 1 (use -v to see = invocation) *** Error code 1 Stop. make: stopped in /usr/home/root/acpphint/acpphint_src =3D=3D=3D Mark Millard marklmi at yahoo.com