[gentoo-user-de] C compiler cannot create executables

14/12/2014 - 18:30 von Clemens Schüller | Report spam
Hallo!

Seit einiger Zeit kann ich keine Pakete mehr emergen:

Hier slrn als Beispiel:

checking for x86_64-pc-linux-gnu-gcc... clang
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log
* ERROR: net-nntp/slrn-1.0.2::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2844: Called autotools-utils_src_configure
* environment, line 600: Called econf '--docdir=/usr/share/doc/slrn-1.0.2' '--with-docdir=/usr/share/doc/slrn-1.0.2' '--with-slrnpull' '--without-canlock' '--without-uu' '--enable-nls' '--with-ssl'
* phase-helpers.sh, line 584: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=net-nntp/slrn-1.0.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-nntp/slrn-1.0.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-nntp/slrn-1.0.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-nntp/slrn-1.0.2/temp/environment'.
* Working directory: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
* S: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'


Und hier der relevante Auszug aus meiner make.conf:

CC=clang
CXX=clang++
CFLAGS="-O2 -march=core2 -pipe -fcolor-diagnostics"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl -O1 --as-needed"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j8"
FEATURES="parallel-fetch protect-owned splitdebug userfetch userpriv ccache"

Das Problem tritt _nur_ beim emergen von verschiedenen Paketen auf. Ein
manuelles make funktioniert ohne Probleme.



Beste Grüße, Clemens Schüller
 

Lesen sie die antworten

#1 Hartmut Figge
14/12/2014 - 18:40 | Warnen spam
Clemens Schüller:

checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2':
configure: error: C compiler cannot create executables



Was sagt gcc-config -l? Bei mir:

~ $ gcc-config -l
[1] x86_64-pc-linux-gnu-4.7.3
[2] x86_64-pc-linux-gnu-4.8.3 *

Hartmut

Ähnliche fragen