1 |
One thing that I think wasn't mentioned yet, while -fPIC is needed for |
2 |
libraries, it must be disabled for binaries (don't know if that's true |
3 |
for prelink), as portage says, it might break things and your binaries |
4 |
are most likely becoming slower when you compile them with -fPIC. |
5 |
|
6 |
2006/9/27, Daniel Iliev <danny@××××××××.com>: |
7 |
> Hello, everyone! |
8 |
> |
9 |
> It's my first mail to this list. I hope the community here is as |
10 |
> friendly as the one at the general "gentoo-user" list ;-) |
11 |
> Please, forgive me if open some threads about already discussed issues |
12 |
> until I catch up with rhythm of the list. |
13 |
> |
14 |
> So let me start a with 2 newbie questions caused by my first impressions |
15 |
> from the x86_64 world: |
16 |
> |
17 |
> 1) I use CFLAGS="-march=athlon64 -mfpmath=sse -msse -msse2 -msse3 |
18 |
> -m3dnow -mmmx -O3 -fomit-frame-pointer -pipe -fpic". Portage complains |
19 |
> with *red letters* about the fpic flag. Every time I emerge something it |
20 |
> says that "fpic breaks things", but I haven't met a single breakage so |
21 |
> far. Is that a bug? Actually there was an ebuild which could not be |
22 |
> compiled if mysql was compiled w/o "fpic". I'm not 100% sure but AFAIR |
23 |
> it was dev-perl/DBD-mysql. |
24 |
> |
25 |
> 2) I see too many flags that are disabled by the profile - the kind with |
26 |
> the parenthesis around them, like "(-3dnow)". Why? As I mentioned above |
27 |
> I enable some of these through my CFLAGS - e.g. (-mmx), (-mmxext), |
28 |
> (-sse) and (-sse2) and everything works perfect. |
29 |
> |
30 |
> |
31 |
> |
32 |
> -- |
33 |
> gentoo-amd64@g.o mailing list |
34 |
> |
35 |
> |
36 |
-- |
37 |
gentoo-amd64@g.o mailing list |