1 |
Hemmann, Volker Armin wrote: |
2 |
> On Friday 05 May 2006 12:42, Farhan Ahmed wrote: |
3 |
> > Hemmann, Volker Armin wrote: |
4 |
> > > On Tuesday 02 May 2006 08:18, Farhan Ahmed wrote: |
5 |
> > > > CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden" |
6 |
> > > |
7 |
> > > no, just no. This breaks enough stuff. Do not tell others to use it. If |
8 |
> > > you want to use it. Fine. But do not tell anybody else to do it. |
9 |
> > |
10 |
> > According to http://gentoo-wiki.com/CFLAGS_matrix |
11 |
> > -fvisibility-inlines-hidden is recommended especially for KDE users.. |
12 |
> > Atleast while KDE it does not effect and is indeed recommended.. |
13 |
> |
14 |
> and if I remember right, there was some KDE breakage with this flag. No? |
15 |
> |
16 |
> gentoo-wiki is not an official gentoo project ;) |
17 |
> And a wiki can be edited by everybody. |
18 |
> |
19 |
> |
20 |
> http://bugs.gentoo.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&field0-0-0=product&type0-0-0=substring&value0-0-0=fvisibility-inlines-hidden&field0-0-1=component&type0-0-1=substring&value0-0-1=fvisibility-inlines-hidden&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=fvisibility-inlines-hidden&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=fvisibility-inlines-hidden |
21 |
|
22 |
Thanks for the pointer.. I take my word back about |
23 |
-fvisibility-inlines-hidden being a safe option for KDE. |
24 |
|
25 |
> |
26 |
> > |
27 |
> > > > > MAKEOPTS="" |
28 |
> > > > |
29 |
> > > > MAKEOPTS="-j2" |
30 |
> > > |
31 |
> > > -j1 is a good one for singlecore/single cpu computer, where the compiling |
32 |
> > > is running in the background. |
33 |
> > |
34 |
> > No for singlecore/single cpu computer, -j2 is recommended.. Read |
35 |
> > MAKEOPTS section in: |
36 |
> |
37 |
> really? with -j2 my box crawls when compiling, sometimes even oom. With -j1 I |
38 |
> can use it, as if nothing happens and I don't get oom. Plus - it is not |
39 |
> slower. |
40 |
> I have read the sections, I suffered from -j2 and I stopped using it. All |
41 |
> better now. |
42 |
> Btw, since switching between tasks and threads is something CPUs really hate, |
43 |
> I can't even imagine how increasing the amount of needed switches should |
44 |
> help. |
45 |
> |
46 |
|
47 |
Al least Gentoo Handbook is a official Gentoo project and they recommend |
48 |
it.. :) |
49 |
|
50 |
> > > > Also if you wish add these lines to /etc/make.conf |
51 |
> > > > |
52 |
> > > > LDFLAGS="-Wl,-O1,-z,now,--sort-common" |
53 |
> > > |
54 |
> > > are you totally sure, that this do not break something? do this flags |
55 |
> > > bring anything, that can not be archived with prelink? |
56 |
> > > |
57 |
> > > Again, you might want to use them, but you should not tell somebody else |
58 |
> > > to use them.- |
59 |
> > |
60 |
> > Honestly I think I was wrong in recommending this.. But during the |
61 |
> > emerge process of some packages there's a suggestion to use at least a |
62 |
> > part of the LDFLAGS quoted above.. It's like a security warning.. I |
63 |
> > decided to use these flags after reading a lot about them in Gentoo |
64 |
> > forms |
65 |
> |
66 |
> yes, but everything in the forums should be taken with a grain of salt - a lot |
67 |
> of ricers are there. It is safer to look into bugs.gentoo.org ;) |
68 |
|
69 |
It's true but after doing a bit of research I think they are stable |
70 |
enough to use.. I don't use all the fancy stuff they post in forums.. |
71 |
|
72 |
> (snip) |
73 |
|
74 |
Farhan Ahmed |
75 |
-- |
76 |
Place : Bangalore, Karnataka, India |
77 |
GPG Key : 8BE90E98 |
78 |
WengoPhone ID : farhanahmed |
79 |
IRC Nick : farhanahmed / farhanahmed06 (irc.freenode.net) |