Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: RE: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE
Date: Wed, 02 Jul 2008 07:44:09
Message-Id: 00d901c8dc16$9f762350$de6269f0$@org
In Reply to: Re: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE by Fabian Groffen
1 >
2 > On 02-07-2008 08:23:54 +0200, Markus Duft wrote:
3 > > >
4 <snip>
5 > >
6 > > I guess there where packages refusing to build with _ALL_SOURCE, but
7 > I can't think of a single one. After all it shouldn't be too much work
8 > to get those to build with _ALL_SOURCE then I think.
9 >
10 > The inverse (strip-flags -D_ALL_SOURCE) should be possible, but then
11 > happening quite a lot less, I think...
12 >
13 > > So from my POV, enabling should be ok. BUT: that would mean that
14 > packages will possibly change behavior, which means that eventually
15 > nothing has to stay compatible to the current builds. This is not a
16 > blocker I think, but we have to remember that it would be better to re-
17 > bootstrap most of the things, after this change, to keep everything
18 > consistent.
19 >
20 > What do you mean? I would just enable it, rebuild system (wait for +- 2
21 > days) if that's ok, commit it, and then remove all append-flags
22 > -D_ALL_SOURCE stuff. People having a prefix shouldn't notice that,
23 > should they? New packages they install just should build, and I hope no
24 > upstream is so stupid to put #ifdef _ALL_SOURCE in their headers like
25 > Interix does. Quick grepping doesn't show anything like a changing
26 > definition or something.
27
28 I meant that changing the define makes various configure scripts find different things, and thus may enable (or disable) different code paths, which _could_ in some stupid cases confuse already merged packages, or the new ones, since it expects something from the merged packages they don't provide, since at build time those things weren't there.
29
30 Still I guess we should enable it, and just see what's happening.
31
32 Cheers, Markus
33
34 >
35 >
36 > --
37 > Fabian Groffen
38 > Gentoo on a different level
39 > --
40 > gentoo-alt@l.g.o mailing list
41
42
43 --
44 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [PREFIX] Interix _ALL_SOURCE Fabian Groffen <grobian@g.o>