1 |
Dnia 2014-03-27, o godz. 02:41:21 |
2 |
Mike Frysinger <vapier@g.o> napisał(a): |
3 |
|
4 |
> On Thu 27 Mar 2014 02:31:01 Alexandre Rostovtsev wrote: |
5 |
> > On Thu, 2014-03-27 at 02:07 -0400, Mike Frysinger wrote: |
6 |
> > > > An amd64 multilib system *is* expected to build x86 |
7 |
> > > > binaries that would be hosted on itself. So i686-pc-linux-gnu-ar is |
8 |
> > > > expected to be not a part of any cross-compile toolchain, but a part of |
9 |
> > > > the native toolchain for the machine's secondary native ABI. Especially |
10 |
> > > > when i686-pc-linux-gnu-ar is in /usr/bin. |
11 |
> > > |
12 |
> > > sure, and it works just fine when you use the correct toolchain. if the |
13 |
> > > user wants to build an ABI using their default toolchain, they can pass |
14 |
> > > the right ABI flag for it. |
15 |
> > |
16 |
> > They can't pass the right ABI flag because only the core parts of the |
17 |
> > toolchain have the concept of an ABI flag. |
18 |
> > |
19 |
> > Sure, binutils and gcc respect "-m32". But what about pkgconfig (and its |
20 |
> > clones pkgconf and pkgconfig-openbsd)? What about the *-config tools for |
21 |
> > various libraries? Are you going to patch all of them to respect "-m32"? |
22 |
> |
23 |
> pkg-config does need fixing in some way. we already know this. it's why the |
24 |
> multilib eclasses currently set PKG_CONFIG_XXX vars -- preciously so the |
25 |
> correct ABI dir is utilized. and this breaks when using some build systems |
26 |
> (like scons) where the env gets blown away (although we also know scons |
27 |
> sucks). |
28 |
> |
29 |
> i don't care about the *-config scripts. that's a dead concept long ago |
30 |
> proven to suck and anything still using it needs fixing. |
31 |
|
32 |
Because it's everyone else that *always* does something wrong, |
33 |
and the rising number of work-arounds in the eclass just proves you're |
34 |
doing it the correct way. |
35 |
|
36 |
It's sad that decisions are made by man who *does not care* about most |
37 |
of the real-life things but cares much for his own precious tools that |
38 |
get priority over eclasses, and whenever they are essentially broken |
39 |
by design, you say that the world is actually broken and they |
40 |
are the only fine thing. |
41 |
|
42 |
-- |
43 |
Best regards, |
44 |
Michał Górny |