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:35:40
Message-Id: 20170205093429.GD14999@solfire
In Reply to: Re: [gentoo-user] Suddenly gcc fails to compile anything... by Dale
1 Dale <rdalek1967@×××××.com> [17-02-05 10:28]:
2 > Meino.Cramer@×××.de wrote:
3 > > Hi,
4 > >
5 > > after installing / updateing 122 package (first sync/update of the new
6 > > gentoo installation), gcc is no longer able to compile stuff
7 > > (according to configure) -- problem is always the same:
8 > >
9 > > Thread model: posix
10 > > gcc version 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5)
11 > > configure:3882: $? = 0
12 > > configure:3871: x86_64-pc-linux-gnu-gcc -V >&5
13 > > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
14 > > x86_64-pc-linux-gnu-gcc: fatal error: no input files
15 > > compilation terminated.
16 > > configure:3882: $? = 1
17 > > configure:3871: x86_64-pc-linux-gnu-gcc -qversion >&5
18 > > x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
19 > > x86_64-pc-linux-gnu-gcc: fatal error: no input files
20 > > compilation terminated.
21 > >
22 > >
23 > > I have no idea, where this "-V' and '-qversion' results from...my
24 > > make.conf looks like this:
25 > > # These are the USE and USE_EXPAND flags that were used for
26 > > # buidling in addition to what is provided by the profile.
27 > > USE="bindist"
28 > > CPU_FLAGS_X86="mmx mmxext sse3"
29 > > PORTDIR="/usr/portage"
30 > > DISTDIR="${PORTDIR}/distfiles"
31 > > PKGDIR="${PORTDIR}/packages"
32 > >
33 > > # mcc added initially
34 > > ACCEPT_KEYWORDS="~amd64"
35 > > MAKEOPT="-j7"
36 > > VIDEO_CARDS="nvidia"
37 > > NOCOLOR=true
38 > > INPUT_DEVICE=evdev
39 > > PORTAGE_ELOG_SYSTEM="save"
40 > > PORTAGE_ELOG_CLASSES="warn error info log qa"
41 > > FEATURES=splitdebug
42 > > PORTAGE_BZIP2_COMMAND="bzip2"
43 > >
44 > > Cheers
45 > > Meino
46 > >
47 >
48 > The first thing I would check, gcc-config -l and see what it says. It's
49 > been a good long while but I've had it update and for some reason not
50 > switch properly. Sometimes, I set it even if it shows it is correct and
51 > then it works. It has been a while since it did that but it is quick
52 > and easy to test. If it doesn't work, maybe someone else will have a
53 > better idea.
54 >
55 > Dale
56 >
57 > :-) :-)
58 >
59 Hi Dale,
60
61 thanks for the hint...but unfortunately it does not change anuthing...
62
63 Any other idea?
64
65
66 Cheers
67 Meino