Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Suddenly gcc fails to compile anything...
Date: Sun, 05 Feb 2017 09:19:50
Message-Id: 84d965b1-d9cf-031c-bbc5-614a8e48533e@gmail.com
In Reply to: [gentoo-user] Suddenly gcc fails to compile anything... by Meino.Cramer@gmx.de
1 Meino.Cramer@×××.de wrote:
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 The first thing I would check, gcc-config -l and see what it says. It's
48 been a good long while but I've had it update and for some reason not
49 switch properly. Sometimes, I set it even if it shows it is correct and
50 then it works. It has been a while since it did that but it is quick
51 and easy to test. If it doesn't work, maybe someone else will have a
52 better idea.
53
54 Dale
55
56 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Suddenly gcc fails to compile anything... Meino.Cramer@×××.de