Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Suddenly gcc fails to compile anything...
Date: Sun, 05 Feb 2017 09:54:11
Message-Id: 20170205094841.GF14999@solfire
In Reply to: [gentoo-user] Suddenly gcc fails to compile anything... by Meino.Cramer@gmx.de
1 Meino.Cramer@×××.de <Meino.Cramer@×××.de> [17-02-05 09:54]:
2 > Hi,
3 >
4 > after installing / updateing 122 package (first sync/update of the new
5 > gentoo installation), gcc is no longer able to compile stuff
6 > (according to configure) -- problem is always the same:
7 >
8 > Thread model: posix
9 > gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
10 > configure:3882: $? = 0
11 > configure:3871: x86_64-pc-linux-gnu-gcc -V >&5
12 > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
13 > x86_64-pc-linux-gnu-gcc: fatal error: no input files
14 > compilation terminated.
15 > configure:3882: $? = 1
16 > configure:3871: x86_64-pc-linux-gnu-gcc -qversion >&5
17 > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
18 > x86_64-pc-linux-gnu-gcc: fatal error: no input files
19 > compilation terminated.
20 >
21 >
22 > I have no idea, where this "-V' and '-qversion' results from...my
23 > make.conf looks like this:
24 > # These are the USE and USE_EXPAND flags that were used for
25 > # buidling in addition to what is provided by the profile.
26 > USE="bindist"
27 > CPU_FLAGS_X86="mmx mmxext sse3"
28 > PORTDIR="/usr/portage"
29 > DISTDIR="${PORTDIR}/distfiles"
30 > PKGDIR="${PORTDIR}/packages"
31 >
32 > # mcc added initially
33 > ACCEPT_KEYWORDS="~amd64"
34 > MAKEOPT="-j7"
35 > VIDEO_CARDS="nvidia"
36 > NOCOLOR=true
37 > INPUT_DEVICE=evdev
38 > PORTAGE_ELOG_SYSTEM="save"
39 > PORTAGE_ELOG_CLASSES="warn error info log qa"
40 > FEATURES=splitdebug
41 > PORTAGE_BZIP2_COMMAND="bzip2"
42 >
43 > Cheers
44 > Meino
45 >
46
47 Found it myself:
48 It was a superflous "," in make.conf which creates the chaos.
49 In the future I will strictly avoid ","s... ;)
50
51 Cheers
52 Meino