Gentoo Archives: gentoo-user

From: Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cxx/nocxx error building gcc-4.5.3-r1
Date: Thu, 08 Dec 2011 09:05:40
Message-Id: 4EE07D8D.1030101@fu-berlin.de
In Reply to: [gentoo-user] cxx/nocxx error building gcc-4.5.3-r1 by Walter Dnes
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi,
5
6 since you have not posted your specific USE-flags, it gets harder to
7 help you. I think you could try to add cxx to your USE-flags.
8 If the does not help you, you should post your USE-flags and
9 eventually the output of emerge --info to make it easier for us to
10 help you.
11
12 regards
13
14 Hinnerk
15
16 On 08.12.2011 09:15, Walter Dnes wrote:
17 > I'm doing a fresh 32-bit install on an older Dell with an AMD K8,
18 > for experimentation. I'm getting a build failure on gcc as listed
19 > below. I start off my USE variable with "-*" and then add on stuff
20 > as necessary. A Google search turned up
21 > http://www.gossamer-threads.com/lists/gentoo/dev/242446 where
22 > vapier says...
23 >
24 >> this way when i do cut over from USE=nocxx to USE=cxx, we don't
25 >> end up with users missing C++ compilers simply because they have
26 >> old make.conf settings that started out with: USE="-* ..."
27 >
28 > That appears to be relavant to me. But I'm not a developer, and I
29 > don't claim to totally understand what he's talking about. I do
30 > have some ebuilds that use C++. Should I add "cxx" to my USE
31 > variable? The build error message follows...
32 >
33 > * Fixing misc issues in configure files * Applying
34 > gcc-configure-texinfo.patch ... * Touching generated files *
35 > Touching gcc/cstamp-h.in * Touching gcc/config.in * Touching
36 > libjava/aclocal.m4 * Touching libjava/Makefile.in * Touching
37 > libjava/configure * Applying gcc-spec-env.patch ...
38 >>>> Source unpacked in
39 >>>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work Compiling source
40 >>>> in /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3
41 >>>> ...
42 > * CFLAGS="-O2 -march=native -pipe" * CXXFLAGS="-O2 -march=native
43 > -pipe" * Configuring gcc ... * We are migrating USE=nocxx to
44 > USE=cxx, but your USE settings do not make * sense. Please make
45 > sure these two flags line up logically in your setup. * ERROR:
46 > sys-devel/gcc-4.5.3-r1 failed (compile phase): * USE='cxx nocxx'
47 > and USE='-cxx -nocxx' make no sense * * Call stack: *
48 > ebuild.sh, line 56: Called src_compile * environment, line
49 > 4463: Called toolchain_src_compile * environment, line 5158:
50 > Called gcc_do_configure * environment, line 2417: Called die *
51 > The specific snippet of code: * die "USE='cxx nocxx'
52 > and USE='-cxx -nocxx' make no sense"; *
53 >
54
55 -----BEGIN PGP SIGNATURE-----
56 Version: GnuPG v2.0.18 (GNU/Linux)
57 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
58
59 iQEcBAEBAgAGBQJO4H2NAAoJEJwwOFaNFkYcrFYH/RmfTfh5FIraOANoqVQ7OS/T
60 m+595mqZbtQQOuMS3/0xUD9v0CDIDiUlEMqOOutaNi0RCksZV+Wnu6q8lQ3xeom6
61 s6darHCheXheHP9pD5OjYiK5iZGJOEq4alN1Po7ibQC9Y0hebHUQ+SfqQQ6qJydY
62 Y2cUn8rdGyOcL5ch67djsiEFgt8LEU4AIVOVfCXPq4XXuH6J+uLX3HDSKo87r6Ru
63 UN7S5bjRraNoyI7hq+7d2Qzt1nosDgVR35ibK8FTZ65y9F1Nw1H7fsN4tioKLJQ6
64 FT4/lyQfwb02UbIm7McLuMDzHJ+jlD37bKucnfPfrj1O87cGMfmNUXZZOUO1CRo=
65 =Ut67
66 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] cxx/nocxx error building gcc-4.5.3-r1 Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>