On Fri, Sep 7, 2012 at 12:03 PM, Michael Mol <mike...@gmail.com> wrote:
> On Fri, Sep 7, 2012 at 11:56 AM, Samuraiii <samurai.no.d...@gmail.com> wrote:
>>
>>
>>
>> On 2012-09-07 17:37, Andrey Moshbear wrote:
>>
>> On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy <bi...@iinet.net.au>
>> wrote:
>>
>> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
>>
>> On 2012-09-07 11:49, Andrey Moshbear wrote:
>>
>> On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear <andrey....@gmail.com>
>> wrote:
>>
>> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii <samurai.no.d...@gmail.com> wrote:
>>
>> Hello
>> yesterday I probably broke my GCC
>>
>> Problem is following:
>> When i try to emerge ANY package it fails with this :
>>
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... configure: error: in
>> `/tmp/portage/www-client/links-2.6/work/links-2.6':
>> configure: error: cannot run C compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details
>>
>> Can you post the contents of config.log to a pastebin and link to it in a
>> reply?
>>
>> Specifically,  .../portage/www-client/links-2.6/work/links-2.6/config.log
>>
>> Here it is http://pastebin.com/s59mU9fm
>>
>> --
>> Samuraiii
>> e-mail: samurai.no.d...@gmail.com
>> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
>> Full copy of public timestamp block signatures id-15719 (from
>> 2012-09-07 06:00:07) is included in header of html.
>>
>> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
>> denied
>>
>> Indeed. The question here is what's more concerning: the use of
>> /usr/local in the default gcc arguments or not having root:root 644
>> for the files in a global include dir.
>>
>> I was thinkig if its possible to "half-reinstall" system by preserving (read
>> making backup) my hand modified config and then download stage3 untar it to
>> / (from live cd) , restore config, sync, emerge -NuDe @world and reboot?
>
> I've done that, and it can work, but you're probably better off
> reinstalling gcc via binpkgs. Someone probably has a repository that
> matches your configuration enough for the purpose.
>

gcc *and* glibc - most <stdXXX.h> files are in glibc's hands, so
binpkg of glibc will also be helpful.

Reply via email to