1 Apr 2005 01:07
Re: C compiler cannot create executables
Scott Taylor <security <at> 303Underground.com>
2005-03-31 23:07:10 GMT
2005-03-31 23:07:10 GMT
On Thu, 2005-03-31 at 20:09 +0200, spetznaz <at> internettledelsen.com wrote: > spetznaz <at> 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 <at> 303underground.com>(Continue reading)
RSS Feed