[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] C compiler cannot create executables
From:       Eric Thompson <thompson.eric () gmail ! com>
Date:       2005-03-31 23:51:04
Message-ID: 773b17720503311551220e3dd2 () mail ! gmail ! com
[Download RAW message or body]

On Thu, 31 Mar 2005 16:07:10 -0700, Scott Taylor
<security@303underground.com> wrote:
> On Thu, 2005-03-31 at 20:09 +0200, spetznaz@internettledelsen.com wrote:
> > spetznaz@Mjolne ~ $ gcc-config -l
> > [1] x86_64-pc-linux-gnu-3.4.2
> > [2] x86_64-pc-linux-gnu-3.4.2-hardened
> > [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
> > [4] x86_64-pc-linux-gnu-3.4.3-20050110 *
> > [5] x86_64-pc-linux-gnu-3.4.3-20050110-hardened
> > [6] x86_64-pc-linux-gnu-3.4.3-20050110-hardenednopie
> > [7] x86_64-pc-linux-gnu-3.4.3-20050110-hardenednossp
> Whenever I get the cannot create executables message, it is usually
> related to the following two files, which if they exist should be
> deleted as they are messing with (due to being applied after) the proper
> ones that do not end with a hyphen:
> /etc/env.d/05gcc-
> /etc/env.d/gcc/config-
> Delete those two, run env-update and source /etc/profile, then try the
> emerge again. Something else that happens to me around the same time is
> a complaint about a lib(something).la which cannot be found because its
> looking for it in a path without the datestamp. Adding the two symlinks
> below helped me with that:
> 
> Green# ll /usr/lib/gcc/i686-pc-linux-gnu/
> lrwxrwxrwx  1 root root   14 Feb 21 14:03 3.3.5 -> 3.3.5-20050130
> drwxr-xr-x  4 root root 4096 Mar 30 00:44 3.3.5-20050130
> lrwxrwxrwx  1 root root   14 Feb 21 14:02 3.4.3 -> 3.4.3-20050110
> drwxr-xr-x  4 root root 4096 Mar 31 09:14 3.4.3-20050110
> 
> --
> Scott Taylor - <security@303underground.com>
> 
> BOFH Excuse #216:
> 
> What office are you in? Oh, that one.  Did you know that your building
> was built over the universities first nuclear research site? And wow,
> aren't you the lucky one, your office is right over where the core is
> buried!
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 

Every time I get the cannot create executables error, it has been a
bad binutils.  I noticed in you emerge info that you are using
binutils-2.15.92.0.2-r7 and every version above -r2 has been bad for
me, so I just masked the versions above -r4, and used -r2.  There are
binary packages at http://dev.gentoo.org/~avenj/bins/ if you need them
to get your system back up and running.

Hope this helps

-- 
Eric Thompson
thompson.eric@gmail.com
--
gentoo-user@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic