1 |
On 01/17/2014 06:51 PM, Michał Górny wrote: |
2 |
> Dnia 2014-01-17, o godz. 18:20:30 |
3 |
> Markos Chandras <hwoarang@g.o> napisał(a): |
4 |
> |
5 |
>> On 01/17/2014 04:47 AM, Michał Górny wrote: |
6 |
>>> Dnia 2014-01-16, o godz. 17:29:43 "Anthony G. Basile" |
7 |
>>> <blueness@g.o> napisał(a): |
8 |
>>> |
9 |
>>>> On 01/16/2014 04:24 PM, Michał Górny wrote: |
10 |
>>>>> Because AC_PATH_TOOL uses CHOST and some random Gentoo |
11 |
>>>>> invention. |
12 |
>>>> |
13 |
>>>> I got that AC_PATH_TOOL and AC_CHECK_TOOL prefix whatever utility |
14 |
>>>> they search for with the canonicalized chost (usually from |
15 |
>>>> config.guess), but I still don't see why we need this to avoid |
16 |
>>>> hackery? Can you give me a practial example because right now I |
17 |
>>>> just don't see a serious problem. |
18 |
>>> |
19 |
>>> libgpg-error installs ${CHOST}-gpg-error-config. |
20 |
>>> |
21 |
>>> Now libgcrypt (and possibly other tools) are using AC_PATH_TOOL to |
22 |
>>> find it. If we have proper CHOSTs, they find the right |
23 |
>>> gpg-error-config and we don't have to put any more effort into |
24 |
>>> that. Then libgcrypt installs ${CHOST}-libgcrypt-config. |
25 |
>>> |
26 |
>>> Now other tools are using AC_PATH_TOOL to find proper |
27 |
>>> libgcrypt-config. If we have proper CHOSTs, it just works and we |
28 |
>>> don't have to put any more effort into that. |
29 |
>>> |
30 |
>>> Same goes for LLVM & Mesa. |
31 |
>>> |
32 |
>>> If we play by the rules nicely, all pieces fit together nicely and |
33 |
>>> we don't have to worry. If we don't, we ask the developers to spit |
34 |
>>> Gentoo- specific hackery all over the place. |
35 |
>>> |
36 |
>> You need to consider that besides changing CHOST to new stages (which |
37 |
>> is a lengthy and tiring process), you somehow need to migrate existing |
38 |
>> users to the new CHOST (no?) otherwise the multilib eclass (or any |
39 |
>> other eclass/package) that depends on CHOST will be broken as soon as |
40 |
>> they update their tree and try to install package updates. |
41 |
>> This is definitely not a pleasant user experience. |
42 |
> |
43 |
> Well, I'd like someone who knows better than I do to explain how much |
44 |
> does changing non-native CHOST affect. I will try to test it a bit by |
45 |
> changing CHOST_x86=i686-pc-linux-gnu to i386-* locally but an expert |
46 |
> opinion would be preferred. |
47 |
> |
48 |
My comment was not on what side-effects changing the CHOST may have, but |
49 |
it requires time and effort for every MIPS user out there. You also need |
50 |
to consider that many people have relatively slow MIPS hardware (routers |
51 |
and stuff) that will take a good couple of days (if not more) to switch |
52 |
to a new CHOST. But still, not everyone is going to do it and forcing |
53 |
them is definitely unpleasant. |
54 |
|
55 |
-- |
56 |
Regards, |
57 |
Markos Chandras |