Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Qual gcc eu escolho?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
Guzymuzy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2004
Posts: 102
Location: Manaus - Brazil

PostPosted: Tue Dec 14, 2004 2:18 am    Post subject: Qual gcc eu escolho? Reply with quote

Instalei um update para o gcc e quando dei um gcc-config -l me deparei com esse resultado:

Code:
guzymuzy gustavom # gcc-config -l
[1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3
[3] i686-pc-linux-gnu-3.4.3-hardened *
[4] i686-pc-linux-gnu-3.4.3-hardenednopie
[5] i686-pc-linux-gnu-3.4.3-hardenednossp


agora o que é hardened?
hardenednopie?
hardenednossp?

Não sei qual usar.

Agradeço a colaboração.

Gustavo Motta


Last edited by Guzymuzy on Tue Dec 14, 2004 9:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Tue Dec 14, 2004 9:43 am    Post subject: Reply with quote

Basicamente poderás seguir-te por isto:

Se estiveres a usar ~x86 no teu make.conf quer dizer que usas packages instáveis, ou teoricamente mais instáveis, e quase de certeza que vais ter de usar a 3.4.3, sem essa flag deves talvéz o 3.3.4.

As que têm o hardened, são do projecto hardened e não percisas delas.http://www.gentoo.org/proj/en/hardened/index.xml

Mera curiosidade eu uso a flag x86:
Code:
gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
Mythos
l33t
l33t


Joined: 02 May 2004
Posts: 953
Location: Portugal

PostPosted: Tue Dec 14, 2004 1:01 pm    Post subject: Reply with quote

Code:
gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


As hardened é só para servidores ... e por experiência própria só uso no meu "home server" o hardened-dev-sources, porque quando usei gcc hardened quase nada compilava, por acaso tenho é que ver também o selinux enfim ...

usa a 3.4.3 já teve pior, mas pelos vistos já lançaram um patch, é que compilar o kde com elas era do piorio, tinha que estar a fazer links para o 3.4.3 ... (Mas como uso o gnome, nem me preocupei muito).

Code:
gcc-config 2
source /etc/profile

exit;exit;

terminal

su -


e pronto podes voltar a compilar o que quiseres ...
_________________
Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Iluminatus
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2004
Posts: 93
Location: Maia/Portugal

PostPosted: Wed Dec 15, 2004 11:35 am    Post subject: Reply with quote

Por acaso, tenho o gcc 3.4.3, e nunca tive problemas, nem sequer a compilar o kde. Depende como instalas, eu na altura instalei logo de base o gcc 3.4.3 tinha saido a 1 dia), kernel-header-2.60,NPTL, no reboot fiz o emerge -eu world, e de resto foi um docinho :wink:
Back to top
View user's profile Send private message
Guzymuzy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2004
Posts: 102
Location: Manaus - Brazil

PostPosted: Wed Dec 15, 2004 5:05 pm    Post subject: Reply with quote

Eu tentei o 3.4.3 e não compilou o glibc.
Apareceu um erro "segmentation fault".
Daí eu mudei pro 3.4.3 hardened e compilou normalmente.

Alguma idéia?
Deveria tentar recompilar o glibc de novo com o 3.4.3?

Gustavo Motta
Back to top
View user's profile Send private message
fernandotcl
Veteran
Veteran


Joined: 20 Nov 2003
Posts: 1396
Location: Sao Paulo, Brazil

PostPosted: Thu Dec 16, 2004 5:18 am    Post subject: Reply with quote

Você tinha SELinux ou alguma coisa do gênero antes?
_________________
RTFM!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum