Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
adding "-L/usr/lib" to LDFLAGS
adding "-I/usr/include/db4.2" to INCLUDES
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! ERROR: net-www/apache-2.0.58-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
apache-2.0.58-r2.ebuild, line 172: Called die
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout and config.log
!!! If you need support, post the topmost build error, and the call stack if relevant.