From nobody Tue Sep 27 06:27:36 2022 X-Original-To: freebsd-ports@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 4Mc8nF2qCnz4VBsb for ; Tue, 27 Sep 2022 06:27:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (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 4Mc8nD1S16z3mY9 for ; Tue, 27 Sep 2022 06:27:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664260062; bh=xMaIjTvQaBNxBgjWrfwB9X93TnVOECQDmU9IgJHaQ4g=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=qzfF4GbjzlHu0zMndu+AfreIj1lxnYlJYeVhKJNjla2xL4XmXTNM2zXZUBJ0iX9j0dF7rc01WMRrYn+kCu9lN7NCkqkH6nJtCkZRwkBASv1MfRF832A1T/S40PnNeLKI8obmMQ33hMRx++X8OZSu99zlfLd8piY0hhgtZqCQdGTbeaFzIyxvcShAzJgMhTQLcOmM5zH0+IkSoTsUzbBp2D0FaRi8N1BLe8udYzFcwPScQWTB5l3NAtvpAH32UKifyVIp80dtnVLo4SJTRd5xBm4BPXPjvxSRNsvh9JbXocP1mdFT2Tz7RdLwggZoRXqz3lar+5uy2QwOlPTgxk0OeQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664260062; bh=vTAdkFtSK6rNkNHzXDW2dSmON5fGmEysLWewxZ3BFHU=; h=X-Sonic-MF:From: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4Wbn3OhjJVjeu1DLG_Q1fZS7sM2 B6ZErfQuIOkpChbpw4XSIMJaXy0Jfk1ael5THLMu4tV.LG5tMoPUwftoD5rAJSyPjwKH2RZ7.vxM CqQX1LchQOH0OTUA_uiYm4rC_IP2yVYa8ZiZbZoHgKpfKtb1d.omE0BBMPcy5NwnxalgmfkoP0M6 qy230onOeDnw_iGCWQ8ilVgtWFTzAIGHc6kmH94RaYmu_pfr7qfoiQ4PHZspdobOp1.N4d79JEQv AxhLo7Pq5I7zuChqjnN6oaZ9l4BSWbZke5K8vCGMSowqL7k6M_3P91NRGOzyZFsjqNWy6HYND9DC 4A17BlOtODZUBCvSMKf72.eykvxu0C7Q3IOglLVyrAVl6Vr1uF8RAm9PXs1lsAUGgCXnTGwQG3TY y_ku1sktrC98RXzB0C5iVS.6IuonGl5WafduwOFR1NsGE9tP7P2m1dGakDnqYPkuBGXcaTjPOl97 hvI0yDqzdmzTgu.zzAc.1eR9Q2j17ELCkbxbWVgdbrdLHKG4uKR74HH3vosICIgSjIwXb1UvXENv NPTp. X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Tue, 27 Sep 2022 06:27:42 +0000 Received: by hermes--production-bf1-759bcdd488-59t8g (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 29e8ded41178540bbc676a062786d9bb; Tue, 27 Sep 2022 06:27:38 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: RE: built with gcc without gcc, can't get it! Message-Id: <0154A45B-E7D8-4803-8F32-E0CEF249C6D8@yahoo.com> Date: Mon, 26 Sep 2022 23:27:36 -0700 To: eduardo@freebsd.org, FreeBSD Mailing List X-Mailer: Apple Mail (2.3696.120.41.1.1) References: <0154A45B-E7D8-4803-8F32-E0CEF249C6D8.ref@yahoo.com> X-Rspamd-Queue-Id: 4Mc8nD1S16z3mY9 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=qzfF4Gbj; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.46 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.96)[-0.962]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; SUBJECT_ENDS_EXCLAIM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.206:from] X-ThisMailContainsUnwantedMimeParts: N Nuno Teixeira wrote on Date: Tue, 27 Sep 2022 01:10:36 UTC : > I've noticed something strange about deskutils/copyq that I can't > understand and where is the problem so I can talk with upstream. > It builds with clang, no gcc present and it links to libgcc_s.so.1. > I've tested qt5 and qt6 flavors in 123{amd64,i386}, 131amd64 and = 140amd64 > with same results. >=20 > (full log > = > ) . . . > The most strange is from where is "Shared library: [ > *libgcc_s.so.1*]" comes? QUOTE =3D>> Checking shared library dependencies 0x0000000000000001 NEEDED Shared library: [libICE.so.6] 0x0000000000000001 NEEDED Shared library: = [libKF5Notifications.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Core.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5DBus.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Gui.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Network.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Qml.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Svg.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5WaylandClient.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Widgets.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5X11Extras.so.5] 0x0000000000000001 NEEDED Shared library: = [libQt5Xml.so.5] 0x0000000000000001 NEEDED Shared library: [libSM.so.6] 0x0000000000000001 NEEDED Shared library: [libX11.so.6] 0x0000000000000001 NEEDED Shared library: [libXext.so.6] 0x0000000000000001 NEEDED Shared library: = [libXfixes.so.3] 0x0000000000000001 NEEDED Shared library: [libXtst.so.6] 0x0000000000000001 NEEDED Shared library: [libc++.so.1] 0x0000000000000001 NEEDED Shared library: [libc.so.7] 0x0000000000000001 NEEDED Shared library: [libcxxrt.so.1] 0x0000000000000001 NEEDED Shared library: [libgcc_s.so.1] 0x0000000000000001 NEEDED Shared library: [libm.so.5] 0x0000000000000001 NEEDED Shared library: = [libwayland-client.so.0] END QUOTE So, two examples of needing libgcc_s.so.1 from the above list are (not from a detailed match of your environment but still suggestive): # ldd /usr/lib/libc++.so.1 /usr/lib/libc++.so.1: libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x312e6618b000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x312e6575b000) libc.so.7 =3D> /lib/libc.so.7 (0x312e61cf7000) # ldd /lib/libcxxrt.so.1 /lib/libcxxrt.so.1: libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x2a835b629000) libc.so.7 =3D> /lib/libc.so.7 (0x2a8358f46000) FreeBSD has its own libgcc_s.so.1 that is used sometimes, even when no lang/gcc* port nor a system-gcc/g++ is involved. This is normal for FreeBSD. The lang/gcc* ports provide their own libgcc_s.so.1 instances but it takes -Wl,-rpath=3D. . . use to cause bindings to the appropriate port's file instead of using the FreeBSD one. On at least aarch64, FreeBSD's libgcc_s.so.1 need not be sufficient for use by code generated by a lang/gcc* compiler (C or C++). The file from the port may be required. =3D=3D=3D Mark Millard marklmi at yahoo.com