Gentoo Archives: gentoo-user

From: Samuraiii <samurai.no.dojo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Broken GCC
Date: Fri, 07 Sep 2012 17:27:27
Message-Id: 504A2DB7.2060108@gmail.com
In Reply to: Re: [gentoo-user] Broken GCC by Michael Mol
1 On 2012-09-07 18:03, Michael Mol wrote:
2 > On Fri, Sep 7, 2012 at 11:56 AM, Samuraiii <samurai.no.dojo@×××××.com> wrote:
3 >>
4 >> On 2012-09-07 17:37, Andrey Moshbear wrote:
5 >>
6 >> On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy <billk@×××××××××.au>
7 >> wrote:
8 >>
9 >> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
10 >>
11 >> On 2012-09-07 11:49, Andrey Moshbear wrote:
12 >>
13 >> On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear <andrey.vul@×××××.com>
14 >> wrote:
15 >>
16 >> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii <samurai.no.dojo@×××××.com> wrote:
17 >>
18 >> Hello
19 >> yesterday I probably broke my GCC
20 >>
21 >> Problem is following:
22 >> When i try to emerge ANY package it fails with this :
23 >>
24 >> checking whether the C compiler works... yes
25 >> checking for C compiler default output file name... a.out
26 >> checking for suffix of executables...
27 >> checking whether we are cross compiling... configure: error: in
28 >> `/tmp/portage/www-client/links-2.6/work/links-2.6':
29 >> configure: error: cannot run C compiled programs.
30 >> If you meant to cross compile, use `--host'.
31 >> See `config.log' for more details
32 >>
33 >> Can you post the contents of config.log to a pastebin and link to it in a
34 >> reply?
35 >>
36 >> Specifically, .../portage/www-client/links-2.6/work/links-2.6/config.log
37 >>
38 >> Here it is http://pastebin.com/s59mU9fm
39 >>
40 >> --
41 >> Samuraiii
42 >> e-mail: samurai.no.dojo@×××××.com
43 >> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
44 >> Full copy of public timestamp block signatures id-15719 (from
45 >> 2012-09-07 06:00:07) is included in header of html.
46 >>
47 >> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
48 >> denied
49 >>
50 >> Indeed. The question here is what's more concerning: the use of
51 >> /usr/local in the default gcc arguments or not having root:root 644
52 >> for the files in a global include dir.
53 >>
54 >> I was thinkig if its possible to "half-reinstall" system by preserving (read
55 >> making backup) my hand modified config and then download stage3 untar it to
56 >> / (from live cd) , restore config, sync, emerge -NuDe @world and reboot?
57 > I've done that, and it can work, but you're probably better off
58 > reinstalling gcc via binpkgs. Someone probably has a repository that
59 > matches your configuration enough for the purpose.
60 >
61
62 Are there any tips for gentoo amd64 with core2duo?
63 Google doesn't seem to give any usable answers (I don't need configure
64 binhost yet)
65
66 --
67 Samuraiii
68 e-mail: samurai.no.dojo@×××××.com <mailto:samurai.no.dojo@×××××.com>
69 GnuPG key ID: 0x80C752EA
70 <http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on&exact=on>
71 (obtainable on http://pgp.mit.edu)
72 Full copy of public timestamp block <http://publictimestamp.org>
73 signatures id- (from ) is included in header of html.

Attachments

File name MIME type
bg-linky.gif image/gif
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Broken GCC Andrey Moshbear <andrey.vul@×××××.com>