From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12527 Path: news.gmane.org!.POSTED!not-for-mail From: Shiz Newsgroups: gmane.linux.lib.musl.general Subject: Re: ./configure compiler-rt patch Date: Wed, 21 Feb 2018 11:30:07 +0100 Message-ID: <0A0AC15F-C709-4731-ADC3-8CCCFE35405B@shiz.me> References: <20180221021256.GB1436@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F622F051-D77D-4341-8C39-BB0A9AEED4F4"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Trace: blaine.gmane.org 1519208905 14311 195.159.176.226 (21 Feb 2018 10:28:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2018 10:28:25 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12543-gllmg-musl=m.gmane.org@lists.openwall.com Wed Feb 21 11:28:21 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eoRdL-0003NA-G4 for gllmg-musl@m.gmane.org; Wed, 21 Feb 2018 11:28:19 +0100 Original-Received: (qmail 30469 invoked by uid 550); 21 Feb 2018 10:30:20 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30448 invoked from network); 21 Feb 2018 10:30:20 -0000 In-Reply-To: <20180221021256.GB1436@brightrain.aerifal.cx> X-Mailer: Apple Mail (2.3445.5.20) Xref: news.gmane.org gmane.linux.lib.musl.general:12527 Archived-At: --Apple-Mail=_F622F051-D77D-4341-8C39-BB0A9AEED4F4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 21 Feb 2018, at 03:12, Rich Felker wrote: >=20 > It might be optimal to try the basename produced by > -print-libgcc-file-name, stripping the "lib" and ".a" parts and using > it with -l, to see if that works. But it might not actually work for > anything other than gcc. I know it doesn't (or at least didn't in the > past) work for pcc. Sadly, that won=E2=80=99t work for clang, to the best of my knowledge. Quickly tested on a macOS machine, but I think it=E2=80=99s the same = anywhere: ~ =C2=BB clang -rtlib=3Dcompiler-rt -print-libgcc-file-name = /Applications/.../usr/lib/clang/9.0.0/lib/darwin17.4.0/libclang_rt.builtin= s-x86_64.a ~ =C2=BB clang -lclang_rt.builtins-x86_64 ld: library not found for -lclang_rt.builtins-x86_64 clang: error: linker command failed with exit code 1 (use -v to see = invocation) I=E2=80=99m fairly sure -lcompiler_rt used to work at some point, but it = seems they stripped support, which makes sense given that compiler-rt is actually multiple things now, and this would refer to the builtins part of it. - Shiz --Apple-Mail=_F622F051-D77D-4341-8C39-BB0A9AEED4F4 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEbjMcEnnu9dmDojP4R81Z1pCQkJAFAlqNSi8ACgkQR81Z1pCQ kJDn0A//fb7+zlytH/dqC3m6sQwOoq1x78Nyhg9bDp4nHKVXgdTywhneVYOTKN9m DExH7Y60x6I6nX5syHRSZzWVqLOHx3T9hIvqAjQ7GfiCR9P5+zF4um0ORHoDXzxE NCjs9OHlPigBQuj1k7a4qQXP3XnKsZtKhz0Hew9Z0SLWJEI6YFGdDtw+er5njKmE ho76qN/EiXV3KCGwg+ByyC0tHOjz0M+Up7Kti7w/JFNy/Twg4sl+ugjBODz3OSsc UQ7R+0UNInsti7pOgK96KW3w7BrqoIeMHv3AbPlPzBTSrKVoStquxYtojSAxctN6 a7XGyXaLX7Sxv//8XHlj1ZrRUJEABINX7nWAnI0E9vKHcGlT1F3A207t0mcO6TFj YK94ziQfsZmjpQyF9wXvpwnFgcEPwEjlzKIAxsYpWDzERm+zUcB5G60/9nE7ZJmE L6SoVOE2wqBXztspfi20cLVBVkllvAK0IU1u7yBs4/GTSvoEQdHcVEL3fWUXHIII 8B+SmlW1qFRZMUbRbHvRiMBeWR/GT+P5NzGJCCUC1MQoJWFvsDLHBv4TP/qBgQiv LRSW7yHI9wj5A30Qw6CTmZoxXDJnFtYNUU8Uvey33qeXEGvg6JtBl0pBUuZUy6Q0 px5twJnReO4CV61urPGk1C3wkpFpcUKvX5K87+lGMsHZonu34cU= =E2qz -----END PGP SIGNATURE----- --Apple-Mail=_F622F051-D77D-4341-8C39-BB0A9AEED4F4--