8 msggentoo-user+unsubscribe
6 msg{OT} GUI swf encoder in portage?
6 msgAnti-aliasing
11 msg[query] Compiz-fusion working slow
4 msgati-drivers slowly working through issues
11 msgMounting /dev/sdaX on boot does not work
16 msgpam fixed now it's tcpdump
4 msgSound isolation issue coming to a close

Gcc problem
\ James (30 Jan 2008)
. \ Mark Kirkwood (30 Jan 2008)
. \ Greg Bowser (30 Jan 2008)
. \ James (30 Jan 2008)

8 msgSwitching to hardened
3 msgpam upgrade issue
8 msgOld machine having troubles syncing
9 msgStrange Xorg behaviour, not (always) loading nv...
1 msgWeird problem while emerging virtualbox
3 msgleapfrogging versions
39 msgVM Ware or not?
7 msgSound jack isolations
7 msgHP Library
3 msgFreenet overlay
1 msgadd shell enviroment variable to apache2 process
Subject:Re: Gcc problem
Group:Gentoo-user
From:James
Date:30 Jan 2008


 
Mark Kirkwood <markir <at> paradise.net.nz> writes:


> > # gcc-config -l
> > * gcc-config: Active gcc profile is invalid!
> > [1] i586-pc-linux-gnu-4.1.2

> $ gcc-config 1

> This will tell the system that 4.1.2 is the guy to use (I guess your
> update removed an older version that was the default?)

yep I'm building a minimized system for a firewall with hardened kernel
sources but with the regular (default) compiler... I did get
adventurous this time around and set the (PIC) flag just for grins.
Who knows, maybe the next time, I'll build a fully Hardened system....

I ran a 'emerge -a --depclean and that removed the old gcc 3.4
Settings must have not been happy at this point.

Here's the details of what I did to fix it

# source /etc/profile <just to be sure>

# gcc-config 1
* Switching native-compiler to i586-pc-linux-gnu-4.1.2 ...
* Your gcc has a bug with GCC_SPECS.
* Please re-emerge gcc.
* http://bugs.gentoo.org/68395


Regenerating /etc/ld.so.cache... [ ok ]

* If you intend to use the gcc from the new profile in an already
* running shell, please remember to do:
* # source /etc/profile


# unset GCC_SPECS && emerge gcc"

All seems to be compiling on an old pentium......

thanks Mark (&Greg)


James

--
gentoo-user mailing list



© 2004-2008 readlist.com