1 |
On 8/3/07, Davi <davividal@×××××××××××××.br> wrote: |
2 |
> Em Sexta 03 Agosto 2007 13:09, Rafael Stockler escreveu: |
3 |
> > On 8/3/07, Raphael MD <raphamejias@×××××××××.br> wrote: |
4 |
> > > Meu firefox foi compilado na minha máquina faz uns 3 meses, foi na época |
5 |
> > > que havia reinstalado todo o sistema, sem muitas flags. |
6 |
> > > |
7 |
> > > Na compilaçao meu CFLAG é esse: |
8 |
> > > |
9 |
> > > CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" |
10 |
> > > CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" |
11 |
> > > |
12 |
> > > Será que isso pode ajudar na instabilibade? |
13 |
> > > Pois compilei quase todo o meu sistema com essa Cflags? |
14 |
> > |
15 |
> > Pelo que muitos já conversaram aqui na lista mesmo que o -O3 pode |
16 |
> > causar muita instabilidade no sistema e em vários softwares. Não me |
17 |
> > recordo muito bem quais parâmetros são esses e ouvi comentários tb de |
18 |
> > que por exemplo o gcc e outros não funcionam bem com o |
19 |
> > -fomit-frame-pointer e mais uma outra flag setada. |
20 |
> > |
21 |
> > Mas tentei tb seguir os passos do Thiago Nunes, talvez te de uma |
22 |
> > solução mais rápida. |
23 |
> > |
24 |
> > Faça uma pesquisa sobre as flags, de uma olhada nesses sites, talvez |
25 |
> > possa te ajudar em um primeiro momento: |
26 |
> > |
27 |
> > http://gentoo-wiki.com/Safe_Cflags |
28 |
> > |
29 |
> > http://gentoo-wiki.com/CFLAGS |
30 |
> > |
31 |
> |
32 |
> Muito me engano ou o -fomit-frame-pointer já é ativado na maioria dos casos? |
33 |
|
34 |
Acho que em determinados processadores deve-se colocar para forçar a |
35 |
ativação, só não sei pq ele não ativa sem isso. |
36 |
|
37 |
Ou talvez só ative quando houver necessidade. Não sei. |
38 |
|
39 |
|
40 |
|
41 |
> |
42 |
> |
43 |
> -fomit-frame-pointer |
44 |
> Don't keep the frame pointer in a register for functions that don't need |
45 |
> one. This avoids the instructions to save, set up and restore frame pointers; |
46 |
> it also makes an extra register available in many functions. It also makes |
47 |
> debugging impossible on some machines. |
48 |
> |
49 |
> On some machines, such as the VAX, this flag has no effect, because the |
50 |
> standard calling sequence automatically handles the frame pointer and nothing |
51 |
> is saved by pretending it doesn't exist. The machine-description macro |
52 |
> FRAME_POINTER_REQUIRED controls whether a target machine supports this flag. |
53 |
> See Register Usage. |
54 |
> |
55 |
> Enabled at levels -O, -O2, -O3, -Os. |
56 |
> |
57 |
> |
58 |
> http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Optimize-Options.html#Optimize-Options |
59 |
> |
60 |
> |
61 |
> -- |
62 |
> Davi Vidal |
63 |
> davividal@×××××××××××××.br |
64 |
> davividal@×××××.com |
65 |
> -- |
66 |
> -------------------------------------------------------- |
67 |
> Por favor não faça top-posting, coloque a sua resposta abaixo desta linha. |
68 |
> Eu não respondo top-post/HTML post. Obrigado. |
69 |
> Please don't do top-posting, put your reply below the following line. |
70 |
> I don't reply to top-post/HTML post. Thank you. |
71 |
> -------------------------------------------------------- |
72 |
> |
73 |
> |
74 |
-- |
75 |
gentoo-user-br@g.o mailing list |