Gentoo Archives: gentoo-user-de

From: "Clemens Schüller" <cs.mlists+gentoo-user-de@×××××××.org>
To: gentoo-user-de@l.g.o
Subject: [gentoo-user-de] C compiler cannot create executables
Date: Sun, 14 Dec 2014 17:26:02
Message-Id: 87mw6qqh24.fsf@cougar.home.aneadesign.com
1 Hallo!
2
3 Seit einiger Zeit kann ich keine Pakete mehr emergen:
4
5 Hier slrn als Beispiel:
6
7 --8<---------------cut here---------------start------------->8---
8 checking for x86_64-pc-linux-gnu-gcc... clang
9 checking whether the C compiler works... no
10 configure: error: in `/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2':
11 configure: error: C compiler cannot create executables
12 See `config.log' for more details
13
14 !!! Please attach the following file when seeking support:
15 !!! /var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log
16 * ERROR: net-nntp/slrn-1.0.2::gentoo failed (configure phase):
17 * econf failed
18 *=20
19 * Call stack:
20 * ebuild.sh, line 93: Called src_configure
21 * environment, line 2844: Called autotools-utils_src_configure
22 * environment, line 600: Called econf '--docdir=3D/usr/share/doc/=
23 slrn-1.0.2' '--with-docdir=3D/usr/share/doc/slrn-1.0.2' '--with-slrnpull' '=
24 --without-canlock' '--without-uu' '--enable-nls' '--with-ssl'
25 * phase-helpers.sh, line 584: Called die
26 * The specific snippet of code:
27 * die "econf failed"
28 *=20
29 * If you need support, post the output of `emerge --info '=3Dnet-nntp/slrn=
30 -1.0.2::gentoo'`,
31 * the complete build log and the output of `emerge -pqv '=3Dnet-nntp/slrn-=
32 1.0.2::gentoo'`.
33 * The complete build log is located at '/var/tmp/portage/net-nntp/slrn-1.0=
34 .2/temp/build.log'.
35 * The ebuild environment file is located at '/var/tmp/portage/net-nntp/slr=
36 n-1.0.2/temp/environment'.
37 * Working directory: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
38 * S: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
39 --8<---------------cut here---------------end--------------->8---
40
41
42 Und hier der relevante Auszug aus meiner make.conf:
43
44 --8<---------------cut here---------------start------------->8---
45 CC=3Dclang
46 CXX=3Dclang++
47 CFLAGS=3D"-O2 -march=3Dcore2 -pipe -fcolor-diagnostics"
48 CHOST=3D"x86_64-pc-linux-gnu"
49 CXXFLAGS=3D"${CFLAGS}"
50 LDFLAGS=3D"-Wl -O1 --as-needed"
51 ACCEPT_KEYWORDS=3D"~amd64"
52 MAKEOPTS=3D"-j8"
53 FEATURES=3D"parallel-fetch protect-owned splitdebug userfetch userpriv ccache"
54 --8<---------------cut here---------------end--------------->8---
55
56 Das Problem tritt _nur_ beim emergen von verschiedenen Paketen auf. Ein
57 manuelles make funktioniert ohne Probleme.
58
59
60
61 --
62 Beste Grüße, Clemens Schüller

Replies

Subject Author
Re: [gentoo-user-de] C compiler cannot create executables Marco Ziebell <ziebell_marco@××××××.de>
[gentoo-user-de] Re: C compiler cannot create executables Hartmut Figge <h.figge@×××.de>