* Re: [gentoo-mips] On MIPS using the same CHOST for all multilib ABIs
[not found] ` <20131229163354.35b65df5@gentoo.org>
@ 2013-12-29 18:21 99% ` Mike Frysinger
0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2013-12-29 18:21 UTC (permalink / raw
To: Alexis Ballier; +Cc: gentoo-mips, Michał Górny, mips, multilib
[-- Attachment #1: Type: Text/Plain, Size: 1547 bytes --]
On Sunday 29 December 2013 10:33:54 Alexis Ballier wrote:
> On Sat, 28 Dec 2013 21:12:53 -0500 Mike Frysinger wrote:
> > you cannot assume CHOST uniqueness.
>
> why ? I was under the impression that a CHOST entirely defines an ABI
that has never been the case. a CHOST defines a unique toolchain, not a unique
ABI. a toolchain may support more than one ABI (and frequently does).
we've run into issues in the past where people install a toolchain via
crossdev that uses the same tuple as the non-default ABI one (e.g. people on
an amd64 system do `crossdev i686-pc-linux-gnu`) and then the multilib code
gets confused. but it's been much more of a hassle to try and get configure
scripts to use compile tests rather than probe the CHOST, so we've just lived
with this lesser evil.
> > > (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.
> >
> > *-config progs are dead. use pkg-config.
>
> ok; but shouldnt we kill that tc-getPKG_CONFIG() which returns
> $CHOST-pkg-config then ?
i didn't mean specifically use `pkg-config`. packages should be using .pc files
instead of *-config scripts.
you're right that pkg-config is natively unaware of ABI, but the multilib
eclasses workaround that by setting PKG_CONFIG vars to the right place.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-12-28 22:58 [gentoo-mips] On MIPS using the same CHOST for all multilib ABIs Michał Górny
2013-12-29 2:12 ` Mike Frysinger
[not found] ` <20131229163354.35b65df5@gentoo.org>
2013-12-29 18:21 99% ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox