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:29:25
Message-Id: 4EE08316.2000303@fu-berlin.de
In Reply to: Re: [gentoo-user] cxx/nocxx error building gcc-4.5.3-r1 by Hinnerk van Bruinehsen
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Just for clarification:
5 - -* means -cxx and -nocxx
6 This can produce the failure you get. Therefore you should set cxx
7 (normally you should want a c++ compiler).
8 If you have "-* cxx nocxx ...." you will have to remove one of the two
9 useflags.
10
11 Hinnerk
12
13
14 On 08.12.2011 10:04, Hinnerk van Bruinehsen wrote:
15 > Hi,
16 >
17 > since you have not posted your specific USE-flags, it gets harder
18 > to help you. I think you could try to add cxx to your USE-flags. If
19 > the does not help you, you should post your USE-flags and
20 > eventually the output of emerge --info to make it easier for us to
21 > help you.
22 >
23 > regards
24 >
25 > Hinnerk
26 >
27 > On 08.12.2011 09:15, Walter Dnes wrote:
28 >> I'm doing a fresh 32-bit install on an older Dell with an AMD
29 >> K8, for experimentation. I'm getting a build failure on gcc as
30 >> listed below. I start off my USE variable with "-*" and then add
31 >> on stuff as necessary. A Google search turned up
32 >> http://www.gossamer-threads.com/lists/gentoo/dev/242446 where
33 >> vapier says...
34 >
35 >>> this way when i do cut over from USE=nocxx to USE=cxx, we
36 >>> don't end up with users missing C++ compilers simply because
37 >>> they have old make.conf settings that started out with: USE="-*
38 >>> ..."
39 >
40 >> That appears to be relavant to me. But I'm not a developer, and
41 >> I don't claim to totally understand what he's talking about. I
42 >> do have some ebuilds that use C++. Should I add "cxx" to my USE
43 >> variable? The build error message follows...
44 >
45 >> * Fixing misc issues in configure files * Applying
46 >> gcc-configure-texinfo.patch ... * Touching generated files *
47 >> Touching gcc/cstamp-h.in * Touching gcc/config.in * Touching
48 >> libjava/aclocal.m4 * Touching libjava/Makefile.in * Touching
49 >> libjava/configure * Applying gcc-spec-env.patch ...
50 >>>>> Source unpacked in
51 >>>>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work Compiling
52 >>>>> source in
53 >>>>> /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3 ...
54 >> * CFLAGS="-O2 -march=native -pipe" * CXXFLAGS="-O2 -march=native
55 >> -pipe" * Configuring gcc ... * We are migrating USE=nocxx to
56 >> USE=cxx, but your USE settings do not make * sense. Please make
57 >> sure these two flags line up logically in your setup. * ERROR:
58 >> sys-devel/gcc-4.5.3-r1 failed (compile phase): * USE='cxx
59 >> nocxx' and USE='-cxx -nocxx' make no sense * * Call stack: *
60 >> ebuild.sh, line 56: Called src_compile * environment, line
61 >> 4463: Called toolchain_src_compile * environment, line 5158:
62 >> Called gcc_do_configure * environment, line 2417: Called die
63 >> * The specific snippet of code: * die "USE='cxx
64 >> nocxx' and USE='-cxx -nocxx' make no sense"; *
65 >
66 >
67 >
68
69 -----BEGIN PGP SIGNATURE-----
70 Version: GnuPG v2.0.18 (GNU/Linux)
71 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
72
73 iQEcBAEBAgAGBQJO4IMVAAoJEJwwOFaNFkYcBEoIAJMvgDfaMmjs4fsW+JQTUhyG
74 TRvZ9/izNITIhdFR0uA0Qv6bdCUIMl65WlhV7GqKwxanO8CMrtM50uX5KxgzdgS7
75 6f5o8v/AFGLFAg6MsZjGIGHaovmtlgB0K2qbj1N6GA031Ldj9OWEZj7LeCCm4WsO
76 MaKZ5DCSV5INY8B6aYLeLrW0Ojo3RrwYAzXax5OhxdJ1FhxH6cM51dOg+vxMXrac
77 QBJj7xzU4vs7SrsrMUFQuBEHZEheSYjIYVXRwlYYEL1vTzGOPloaCso8RzGvapGr
78 GVTkad1o4+VbAEpWDA4psktWeeyTUlLRdXkTvUKwfemV/MuMBeBnejEcsC7gNtU=
79 =YEpY
80 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] cxx/nocxx error building gcc-4.5.3-r1 Walter Dnes <waltdnes@××××××××.org>