Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114543 - gcc-config do not show *-hardened profile
Summary: gcc-config do not show *-hardened profile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 09:17 UTC by MT
Modified: 2005-12-05 10:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2005-12-05 09:17:29 UTC
if i do 'gcc-config -l' i get:

[1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardenednopie
 [3] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [4] i686-pc-linux-gnu-3.3.6-hardenednossp
 [5] i686-pc-linux-gnu-3.3.6-vanilla
 [6] i686-pc-linux-gnu-3.4.3
 [7] i686-pc-linux-gnu-3.4.3-hardened
 [8] i686-pc-linux-gnu-3.4.3-hardenednopie
 [9] i686-pc-linux-gnu-3.4.3-hardenednossp
 [10] i686-pc-linux-gnu-3.4.4 *
 [11] i686-pc-linux-gnu-3.4.4-hardenednopie
 [12] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [13] i686-pc-linux-gnu-3.4.4-hardenednossp
 [14] i686-pc-linux-gnu-3.4.4-vanilla

for all the gcc versione, i don't have i686-pc-linux-gnu-*-hardened profile.
i have upgraded gcc from 3.3.6 to 3.4.4-r1, all the process worked perfectly.

i'm using the Gentoo Hardened profile with hardened-sources.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r3 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2,
2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer
-momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fno-ident -fomit-frame-pointer
-momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources
http://gentoo.ngi.it/"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://172.16.1.2/gentoo-portage"
USE="3dnow acl apache2 attr bash-completion berkdb bzip2 chroot crypt dba
dlloader dmapi enscript exif expat fam fastcgi gd gif gmp gpm hal hardened idn
imagemagick imap java jpeg kerberos lcms libwww maildir mhash ming mmap mmx mng
mysql ncurses nls nptl nptlonly odbc pam pam_chroot pcre perl php pic pie png
postgres pwdb python qmail readline ruby samba sensord slang spamassassin sse
ssl tiff truetype udev unicode userlocales ut8 valias vhost vhosts x86 xml xml2
xmlrpc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


ls -la /etc/make.profile 
lrwxrwxrwx  1 root root 40 Oct 10 14:02 /etc/make.profile ->
../usr/portage/profiles/hardened/x86/2.6
Comment 1 solar (RETIRED) gentoo-dev 2005-12-05 10:05:33 UTC
User does not understand naming syntaxes of gcc profiles. Marking invalid

You only see -hardened in gcc profiles when you merge without the hardened USE
flag. Notice the -vanilla (thats what happens when your gcc is built properly
with hardened)

So.. Your gcc config is correct and your using the right gcc profile for
hardened already.