I tried everything here and then commented my FEATURES line before I got things working again (no more compiler can't create executables problem). I now recall ccache saving some broken builds, so as a suggestion, it might be good to disable ccache or clear the cache (ccache -C) after you do one of the other fixes.

I've also tried to modify /etc/env.d/ld.so.conf as mentioned in some posts.
I've tried to run env-update with and without source /etc/profile (someone mentioned in bugzilla a bug in the script...)
I've modified /etc/env.d/05gcc to reflect the current gcc version used.
I've alos tried many other things but I can't remember in which order and what that was...

And finally, before posting this, I've tried to chroot into my box hoping that I could use the compiler of the live cd. If someone already recovered from this problem by doing so I'd really be happy to know how such a miracle has been accomplished.

Before I just reformat and start all over again, I wanted to try this great forum.

Hope someone can help... I'm really desperate but still hope someone could come up with something I did not try before.
Thanks for your time._________________.: Free your mind and your ass will follow :.

It also startet after an emerge -eD world.
I have now only gcc-3.4.3 and I also have tried all kinds of things mentioned in this form, like gcc-config <compiler>, adjust ld.so.conf, fix_libtool_files.sh etc., but nothing helped!

But I'm still not ready to give up, since so far I was always able to fix my gentoo.

[maybe important or maybe not important at all]
The day before the upgrade i fix a bug I had with gcc. I was unable to oppgrade (or downgrade) gcc. but this bug report fixed it. http://bugs.gentoo.org/show_bug.cgi?id=86123

This fix the gcc update problem. (but i am wondering it may break somting else?)

Now gcc is not usable for anyting.

Tings I have tested:
1) fix_libtool_files.sh 3.4.2
2) gcc-config 1
3) Edit /etc/ld.so.conf all gcc paths point to 3.4.3-20050110 and not 3.4.2
4) Dubble checked make.conf for errors/typos
5) Compile with out any CFLAGS and CXXFLAGS

I am installing gentoo, and when I emerge some programs, it works perfectly, but then others, such as pcmcia, reiserfsprogs, and others I don't remember right now, give me an error message telling me that the C compiler cannot create executables. I don't know how to check config.log, (I'm a bit of a newb), so if any one can tell me how to do that please do. I've never had much if any luck installing programs on Linux of any kind, so if anyone can help me, again, please do.

-Peter

P.S. I deleted all of my mom's e-mails to do this, most of which she needed, so I really need to get this working

Never Mind, I fixed the problem by completely starting the installation over. It turns out I was using stage3 and configuring it a s stage1 . I haven't gotten everything installed yet, (working on the fourth try, emerging gentoo-sources). Thanks anyway.

Fourth try is ok for a first time... took me 16 tryes just to boot the livecd correctly (but I did have a TOTALLY new machine and the livecd didn't have support for my cdrom, which it still doesnt )_________________Atoms are watching...

I really really really do not want to reinstall gentoo at this point, really bad idea

in times like this one misses the pkg_add utility from solaris/*bsd : )_________________PCs nearly always come with Microsoft Windows as their operating systems, but the "OS," as it is called, can be changed to a non-Microsoft operating system with a little work.

Joined: 03 Apr 2003Posts: 158Location: The land where the sky is black

Posted: Tue Apr 12, 2005 1:37 pm Post subject:

hm, I guess that I did something really stupid

my system is now totally broken

anyway, at least I now know how to break my gentoo _________________PCs nearly always come with Microsoft Windows as their operating systems, but the "OS," as it is called, can be changed to a non-Microsoft operating system with a little work.

I am attempting to emerge php and have the same error "Compiler: cannot create executables." I've read through this thread and mine doesn't appear to have the same cause but perhaps someone can assist me.

Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.