Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] The return of the dreaded "Cannot run C compiled programs"
Date: Mon, 26 Mar 2018 15:54:32
Message-Id: 1773498.ri0ucUG5al@peak
In Reply to: Re: [gentoo-user] The return of the dreaded "Cannot run C compiled programs" by Dale
1 On Monday, 26 March 2018 15:34:30 BST Dale wrote:
2
3 > I did some googling on this.
4
5 Thanks. Looks like you turned something up that I didn't.
6
7 > I seem to recall running into this once to
8 > but can't recall what I did to fix it. Sorry, I'm getting older.
9 > Anyway, check how /tmp is mounted, or whatever directory you have
10 > portage's work directory on. It seems that sometimes it may not be
11 > mounted correctly. I also found a somewhat recent post on the forums
12 > that mentioned disabling the pie USE flag. I'm assuming that would be
13 > for gcc. Posting link to forum to see if it makes more sense to you.
14 >
15 > If none of that helps, maybe someone else will come along with something
16 > else to try.
17 >
18 > https://forums.gentoo.org/viewtopic-t-1073552-start-0.html
19
20 I did what it suggested but it didn't help.
21
22 > https://www.howtoforge.com/community/threads/error-cannot-run-c-compiled-pro
23 > grams.44647/
24
25 You and Andres mentioned tmp directories. I have a sepaate partition for /var/
26 tmp/portage, so I tried remounting it with specifice options rw and exec; I
27 also tried just unmounting it. No change.
28
29 --
30 Regards
31 Peter.