From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-mips+bounces-424-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 60EDD138247 for <garchives@archives.gentoo.org>; Mon, 30 Dec 2013 09:44:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2301E0AAC; Mon, 30 Dec 2013 09:44:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52741E0AAC for <gentoo-mips@lists.gentoo.org>; Mon, 30 Dec 2013 09:44:43 +0000 (UTC) Received: from localhost (87-205-48-65.adsl.inetia.pl [87.205.48.65]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 5F2D733F79B; Mon, 30 Dec 2013 09:44:40 +0000 (UTC) Date: Mon, 30 Dec 2013 10:44:25 +0100 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org> To: gentoo-mips@lists.gentoo.org Cc: vapier@gentoo.org, Alexis Ballier <aballier@gentoo.org>, mips@gentoo.org, multilib@gentoo.org Subject: Re: [gentoo-mips] On MIPS using the same CHOST for all multilib ABIs Message-ID: <20131230104425.69a086bf@gentoo.org> In-Reply-To: <201312291321.22221.vapier@gentoo.org> References: <20131228235839.5bb0305a@gentoo.org> <201312282112.54630.vapier@gentoo.org> <20131229163354.35b65df5@gentoo.org> <201312291321.22221.vapier@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-mips@lists.gentoo.org> List-Help: <mailto:gentoo-mips+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-mips+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-mips+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-mips.gentoo.org> X-BeenThere: gentoo-mips@lists.gentoo.org Reply-to: gentoo-mips@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/NNlwxQDvIjxFxIwl6GOnSBn"; protocol="application/pgp-signature" X-Archives-Salt: a1ce87a6-eb8f-4545-9625-0c421064405f X-Archives-Hash: 942d3c58819daa8607eb3c5958333059 --Sig_/NNlwxQDvIjxFxIwl6GOnSBn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dnia 2013-12-29, o godz. 13:21:21 Mike Frysinger <vapier@gentoo.org> napisa=C5=82(a): > we've run into issues in the past where people install a toolchain via=20 > crossdev that uses the same tuple as the non-default ABI one (e.g. people= on=20 > an amd64 system do `crossdev i686-pc-linux-gnu`) and then the multilib co= de=20 > gets confused. but it's been much more of a hassle to try and get config= ure=20 > scripts to use compile tests rather than probe the CHOST, so we've just l= ived=20 > with this lesser evil. Out of curiosity, does a dedicated i686 toolchain on a multilib amd64 host have any benefits over the toolchain's -m32 options? Well, except for not needing the explicit options. > > > > (1) here is not really a killer feature but I'd rather avoid > > > > changing this at this point. (2) is actually a killer feature, > > > > since the eclass sets CHOST properly and thanks to that > > > > AC_CHECK_TOOL and friends can find multilib *-config progs and > > > > stuff without any special hackery. > > >=20 > > > *-config progs are dead. use pkg-config. > >=20 > > ok; but shouldnt we kill that tc-getPKG_CONFIG() which returns > > $CHOST-pkg-config then ? >=20 > i didn't mean specifically use `pkg-config`. packages should be using .p= c files=20 > instead of *-config scripts. 'Should' is far away from reality. I'd rather avoid Gentoo inventing pkg-config files for random packages where upstream simply refuses to do that. Then, there's LLVM. Their llvm-config has some more options than pkg-config does, and it supports selecting single components. If we're to do something semi-equal to that, we'd end up with 116 pkg-config files, plus around 23 for clang. And each new supported target increases that number by 5-7 files. Of course, we could put them all in a single file.. but then we're replacing one crap with another. And forcing the --as-needed hack on top of it. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/NNlwxQDvIjxFxIwl6GOnSBn Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQJ8BAEBCgBmBQJSwUB5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOcWMP/3H0Xm5XbSkv9zMI09PqKErb BN8jLG7kuJwGpu9Gz0qX83jS0W6Am+7mdmp4/YCOS9t8q7gI9ltYaaLJMSZfHEyB l7UgMJZTX7iBnWCfvW0GluaytN3P5hDH6iLwJb98xDLaiJsKqQ6zQSJrVb87VPcJ PdbatnWRXPPsiy7Zyf/K6fBQnZO8y76PGxci1umrukQLedAi2wcl/zMs6uhx0DzL LtLByRoUbHQO7GZF685kH61K5lfQ0he491g1E92bPBBSyFe42l0cnkpW86QM1nSC QzA8fNtV8m1xZQXzMWuJ4udnMPnfZNrIyKaf4wQs5akjB9RjBKXD9nMpfJRaRNkA hZl650Fb+NbjGwC0tem/WMLHywe73Kuf1Q3zSzle+oR2B/M8F910Ze9QrYaxIXOa 4mgWsqJogeyTD/+xLwg9q9+vthqcmIxxkH04aAZ5Q3H/EUOFBvEiz19iJY7mlg/S F6awGYH+T+GYpiRZmB4lEg4pxhtIBfTFEtVXSk0cT3bm9OZTELlwS1JGAtuZhfBT O5jhDNKm+m3k88N4ZyJYlua3tSSRV8qr/TBw8Sgagq3AcsAMRHR5Gg3xsrUn6JnX 6h/qSeqBZTQu1ZHRgG8cRBbfzJmDcNUWBU89dFwlZfjqy57oPeA/glJGfaF7QVIF IPFNRj+T08itCxZGy85T =QIFi -----END PGP SIGNATURE----- --Sig_/NNlwxQDvIjxFxIwl6GOnSBn--