public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Handling of bindnow flags, Gentoo/ALT compatible version
@ 2005-10-09 23:27 Diego 'Flameeyes' Pettenò
  0 siblings, 0 replies; only message in thread
From: Diego 'Flameeyes' Pettenò @ 2005-10-09 23:27 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

Hi everybody,

I passed this on gentoo-alt and seemed to be ok for everyone, as it doesn't 
change anything for the end users on Gentoo Linux and is the minimum change 
possible.

As you can find on Gentoo/ALT maintainers notes [1] under "Linkers issues", 
Gentoo/ALT is moving toward accepting non-GNU linkers (while not asking 
anyone to support them).

The new handling is basically the same as it was before, just instead of 
hardcoding -Wl,-z,now as flags, it's asked to use $(bindnow-flags) function 
to get the flags to use. The function is provided by flag-o-matic, so it's 
already there if you're append-flags'ing.

There are also instructions on how to patch sources that use autotools and a 
suggested way to patch sources that do not use them.

The gentooalt-m4 package that is named in the guide is currently only present
on Gentoo/ALT overlay. I'm going to do a few more tests tomorrow, and later 
I'll see to commit it on main portage. Using that instead of adding the m4 to 
every package makes possible to update just that one to add support for a new 
linker.

I'm not going to open a big bug for this, as it's going to be quite tricky and 
it's mostly a side or "will be" problem, that is less subtle than others 
(like the --with-gnu-ld) as it causes the package to fail linking and it's 
simple to tackle when keywording or reviewing or testing.

If anybody feels like fixing that in its own packages, however, it's 
welcome :)

[1] http://www.gentoo.org/proj/en/gentoo-alt/maintnotes.xml#doc_chap3
-- 
Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/
Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-09 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09 23:27 [gentoo-dev] Handling of bindnow flags, Gentoo/ALT compatible version Diego 'Flameeyes' Pettenò

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox