1 |
Hi everybody, |
2 |
|
3 |
I passed this on gentoo-alt and seemed to be ok for everyone, as it doesn't |
4 |
change anything for the end users on Gentoo Linux and is the minimum change |
5 |
possible. |
6 |
|
7 |
As you can find on Gentoo/ALT maintainers notes [1] under "Linkers issues", |
8 |
Gentoo/ALT is moving toward accepting non-GNU linkers (while not asking |
9 |
anyone to support them). |
10 |
|
11 |
The new handling is basically the same as it was before, just instead of |
12 |
hardcoding -Wl,-z,now as flags, it's asked to use $(bindnow-flags) function |
13 |
to get the flags to use. The function is provided by flag-o-matic, so it's |
14 |
already there if you're append-flags'ing. |
15 |
|
16 |
There are also instructions on how to patch sources that use autotools and a |
17 |
suggested way to patch sources that do not use them. |
18 |
|
19 |
The gentooalt-m4 package that is named in the guide is currently only present |
20 |
on Gentoo/ALT overlay. I'm going to do a few more tests tomorrow, and later |
21 |
I'll see to commit it on main portage. Using that instead of adding the m4 to |
22 |
every package makes possible to update just that one to add support for a new |
23 |
linker. |
24 |
|
25 |
I'm not going to open a big bug for this, as it's going to be quite tricky and |
26 |
it's mostly a side or "will be" problem, that is less subtle than others |
27 |
(like the --with-gnu-ld) as it causes the package to fail linking and it's |
28 |
simple to tackle when keywording or reviewing or testing. |
29 |
|
30 |
If anybody feels like fixing that in its own packages, however, it's |
31 |
welcome :) |
32 |
|
33 |
[1] http://www.gentoo.org/proj/en/gentoo-alt/maintnotes.xml#doc_chap3 |
34 |
-- |
35 |
Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/ |
36 |
Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE |