1 |
Alexis Ballier schrieb: |
2 |
> On Thu, 07 Mar 2013 19:59:35 +0100 |
3 |
> Thomas Sachau <tommy@g.o> wrote: |
4 |
>> |
5 |
>> I dont have a list of binaries, i either noticed myself some |
6 |
>> abi-specific behaviour or got user reports for abi-specific behaviour. |
7 |
>> As an example i remember, dev-libs/libIDL has a config binary not |
8 |
>> matching the usual *-config scheme (libIDL-config-2), so instead of |
9 |
>> adding a random list of patterns, i simply added that package to the |
10 |
>> list of packages with wrapped binaries. The same applies to mysql, |
11 |
>> which has a mysql_config binary. |
12 |
> |
13 |
> Ok, so those make perfect sense for being wrapped and should be done |
14 |
> per-binary not per-package: We do not really want to wrap all mysql |
15 |
> binaries just for mysql_config. |
16 |
> Ebuilds should declare the binaries they want to be wrapped, so we can |
17 |
> grep the tree for getting a list of what to fight against if we want a |
18 |
> cleaner multilib system :) |
19 |
|
20 |
This is possible, but will make the solution more complex or limited |
21 |
(either the solution does not allow users to opt-in for wrapping all |
22 |
binaries of a package or you need an additional option for users to |
23 |
opt-in beside the variable, which includes the needed binaries). |
24 |
|
25 |
> |
26 |
>> I am not sure about the target of your qmake question, so as a general |
27 |
>> answer: |
28 |
>> |
29 |
>> qmake is something like configure for qmake based build systems. If |
30 |
>> you want to see the difference between qmake (32bit) and qmake |
31 |
>> (64bit), run a 64bit qmake on a qmake based package and do the same |
32 |
>> with a 32bit qmake and check the difference between the 2 runs. |
33 |
> |
34 |
> Well, I'm asking this because I don't have access to a 32bit qmake |
35 |
> here so a diff of the files generated by the two will be useful :P And I |
36 |
> believe it makes sense to study in details this case to understand |
37 |
> whether we want to wrap it or not. As Davide said, it is likely that |
38 |
> overriding the correct variable may make qmake output not abi-specific. |
39 |
> The difference between g++-64 and g++-32 qmake mkspec is only a -m32 vs |
40 |
> -m64 cflag which I think is overridden elsewhere in our ebuilds so this |
41 |
> should not matter much. |
42 |
|
43 |
If you want an example diff, can you point me to a small qmake based |
44 |
package? |
45 |
For the difference: It might work with mkspec files installed per-abi, |
46 |
but i did not have a close look at it, so cannot say for sure. Maybe |
47 |
someone from qt herd can give you a clear answer on the abi-specific |
48 |
content inside qmake, which is used to generate the makefiles. |
49 |
|
50 |
|
51 |
-- |
52 |
|
53 |
Thomas Sachau |
54 |
Gentoo Linux Developer |