Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with GCC [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Sakkath
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 198
Location: Pawtucket, RI

PostPosted: Tue Sep 26, 2006 12:48 pm    Post subject: Problems with GCC [SOLVED] Reply with quote

Hey guys, I'm having a little odd issue with gcc...

I installed a hardened/selinux/pie/ssp stage3, and have upgrade gcc to 3.4.6 (with the hardened useflag enabled), but gcc-config only shows the following
Code:

equinox ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.5-20050130
 [2] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
 [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
 [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
 [5] i686-pc-linux-gnu-3.3.5-20050130-vanilla
 [6] i686-pc-linux-gnu-3.4.6 *
 [7] i686-pc-linux-gnu-3.4.6-hardenednopie
 [8] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [9] i686-pc-linux-gnu-3.4.6-hardenednossp
 [10] i686-pc-linux-gnu-3.4.6-vanilla
equinox ~ #

I don't understand why it doesn't show "i686-pc-linux-gnu-3.4.6-hardened" like another box I have root on, the only difference I see is that that one _isn't_ compiled with the hardened useflag
Code:


phoenix ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.5
 [7] i686-pc-linux-gnu-3.4.5-hardened
 [8] i686-pc-linux-gnu-3.4.5-hardenednopie
 [9] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.5-hardenednossp
 [11] i686-pc-linux-gnu-4.1.1 *
phoenix ~ #


I even tried 3.4.5 just for sake of making it the same, and it did the same...

Aslo, I'm having courier + postgres/postfix/postfixadmin troubles; if anyone is experienced with these daemons, please tell me and I'll explain my issue!

Thanks in advance.
_________________
The person who makes no mistakes does not usually make anything.

Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.


Last edited by Sakkath on Thu Sep 28, 2006 10:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sakkath
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 198
Location: Pawtucket, RI

PostPosted: Tue Sep 26, 2006 12:51 pm    Post subject: Reply with quote

Hm, it seems the hardened useflag provides a hardened toolchain by _default_.
Code:
 + + hardened       : activate default security enhancements for toolchain (gcc, glibc, binutils)

Is this true?
_________________
The person who makes no mistakes does not usually make anything.

Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 565

PostPosted: Tue Sep 26, 2006 1:01 pm    Post subject: Reply with quote

with hardened your default-gcc is hardened, if want the normal, take the vanilla version...
Back to top
View user's profile Send private message
Sakkath
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 198
Location: Pawtucket, RI

PostPosted: Tue Sep 26, 2006 7:26 pm    Post subject: Reply with quote

lagalopex wrote:
with hardened your default-gcc is hardened, if want the normal, take the vanilla version...

Oh, I meant "normal" as in Gentoo's "normal". Thank you for answering my question though, I assumed it was auto included with the hardened useflag.
_________________
The person who makes no mistakes does not usually make anything.

Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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