From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RYZAl-00036B-6b for garchives@archives.gentoo.org; Thu, 08 Dec 2011 08:17:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB86821C140; Thu, 8 Dec 2011 08:17:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D83121C03B for ; Thu, 8 Dec 2011 08:16:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B9AB51B4025 for ; Thu, 8 Dec 2011 08:16:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -2.491 X-Spam-Level: X-Spam-Status: No, score=-2.491 tagged_above=-999 required=5.5 tests=[AWL=0.110, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id znOryns-iF63 for ; Thu, 8 Dec 2011 08:16:07 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by smtp.gentoo.org (Postfix) with ESMTP id 27BEC1B4037 for ; Thu, 8 Dec 2011 08:16:06 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPlw4E5FxIIi/2dsb2JhbABDqlmBBoFyAQEBAQICAjccKEomFBEkE4gHCJcxnzmDdIZdYwSILoRGKAGFKoIjhVqIGYRP X-IronPort-AV: E=Sophos;i="4.71,319,1320642000"; d="scan'208";a="151398903" Received: from 69-196-130-34.dsl.teksavvy.com (HELO waltdnes.org) ([69.196.130.34]) by ironport2-out.teksavvy.com with SMTP; 08 Dec 2011 03:16:04 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 08 Dec 2011 03:15:37 -0500 From: "Walter Dnes" Date: Thu, 8 Dec 2011 03:15:37 -0500 To: Gentoo Users List Subject: [gentoo-user] cxx/nocxx error building gcc-4.5.3-r1 Message-ID: <20111208081537.GA7358@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 212ba3b6-7dae-4d12-bb23-e2026e2e9dd8 X-Archives-Hash: ca187471c6985671d59dca28c3c4f278 I'm doing a fresh 32-bit install on an older Dell with an AMD K8, for experimentation. I'm getting a build failure on gcc as listed below. I start off my USE variable with "-*" and then add on stuff as necessary. A Google search turned up http://www.gossamer-threads.com/lists/gentoo/dev/242446 where vapier says... > this way when i do cut over from USE=nocxx to USE=cxx, we don't end > up with users missing C++ compilers simply because they have old > make.conf settings that started out with: > USE="-* ..." That appears to be relavant to me. But I'm not a developer, and I don't claim to totally understand what he's talking about. I do have some ebuilds that use C++. Should I add "cxx" to my USE variable? The build error message follows... * Fixing misc issues in configure files * Applying gcc-configure-texinfo.patch ... * Touching generated files * Touching gcc/cstamp-h.in * Touching gcc/config.in * Touching libjava/aclocal.m4 * Touching libjava/Makefile.in * Touching libjava/configure * Applying gcc-spec-env.patch ... >>> Source unpacked in /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work >>> Compiling source in /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3 ... * CFLAGS="-O2 -march=native -pipe" * CXXFLAGS="-O2 -march=native -pipe" * Configuring gcc ... * We are migrating USE=nocxx to USE=cxx, but your USE settings do not make * sense. Please make sure these two flags line up logically in your setup. * ERROR: sys-devel/gcc-4.5.3-r1 failed (compile phase): * USE='cxx nocxx' and USE='-cxx -nocxx' make no sense * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4463: Called toolchain_src_compile * environment, line 5158: Called gcc_do_configure * environment, line 2417: Called die * The specific snippet of code: * die "USE='cxx nocxx' and USE='-cxx -nocxx' make no sense"; * -- Walter Dnes