Peter Humphrey wrote: > I have a four-core 64-bit Celeron box with 4GB RAM, on which I've just > installed a standard XFCE system on the desktop profile. It all went as > expected, but when I ran an emerge -e world at the end I had two failures: > both glibc and sandbox failed with the error in the subject line. > > It's some years since I last saw this error, and I'm stuck. I've looked > through /etc hoping to find something skew-whiff, and I've compared the > environment with this box's, but nothing stands out. > > Finally, following the hint in the portage output, I ran "FEATURES='-sandbox - > usersandbox' emerge -1 --color n sandbox". It made no discernible difference. > > I've attached the logs etc from sandbox. > > Has anyone a clue? >
I did some googling on this. I seem to recall running into this once to but can't recall what I did to fix it. Sorry, I'm getting older. Anyway, check how /tmp is mounted, or whatever directory you have portage's work directory on. It seems that sometimes it may not be mounted correctly. I also found a somewhat recent post on the forums that mentioned disabling the pie USE flag. I'm assuming that would be for gcc. Posting link to forum to see if it makes more sense to you. If none of that helps, maybe someone else will come along with something else to try. https://forums.gentoo.org/viewtopic-t-1073552-start-0.html https://www.howtoforge.com/community/threads/error-cannot-run-c-compiled-programs.44647/ Dale :-) :-)