From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L1740-0003wo-LG for garchives@archives.gentoo.org; Fri, 14 Nov 2008 22:22:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EE84E019D; Fri, 14 Nov 2008 22:22:52 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by pigeon.gentoo.org (Postfix) with ESMTP id D070AE019D for ; Fri, 14 Nov 2008 22:22:51 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1752057fga.14 for ; Fri, 14 Nov 2008 14:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Iw9w1RGJlmbf7mjyV54BlHcdI/LnkJyTqlNN+tyggfU=; b=higegtOrCRu8gqeUa42gE4C7XyVYqm2g9KALuuqLR7vQ9ww0oLS5Od3g7qtvwAXYGD dySB4CjwQYPO9iY+SWK31zW2env+Bk07kacWZqaERbtZe/4a4wvk0e4Flmoik6OzU5Zv o4bW7gTMLhErEpI5twngZWSXk5myDznhUuGZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DNWFi5YLbWYZBeSkybNDomDNyIVg5uISj1Lhlrx4PSLGtZh+f+XUAGIPqBaG5zjzFx Y0yCp8rcPUnpWsGbCEoHyfHDm3A6C7U+UjtXfUocZRFRe/ZUZFjl58+rQW1cgayTnoG8 nLkja6/EyYXm4rSp2akwnhdJwrIEf5nRCl0Pk= Received: by 10.181.20.6 with SMTP id x6mr380937bki.167.1226701369481; Fri, 14 Nov 2008 14:22:49 -0800 (PST) Received: by 10.181.16.2 with HTTP; Fri, 14 Nov 2008 14:22:49 -0800 (PST) Message-ID: <2a21586d0811141422i2f166a98hf32f74cd26c615dc@mail.gmail.com> Date: Fri, 14 Nov 2008 18:22:49 -0400 From: "Mansour Al Akeel" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Can not compile gcc In-Reply-To: <20081114224826.2fda8722@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a21586d0811141002p735a3839h74ec70ff8dd7f524@mail.gmail.com> <20081114224826.2fda8722@gentoo.org> X-Archives-Salt: b137cd54-02f4-407e-917a-367e984c6505 X-Archives-Hash: 70342f4522817f96c66d3c2f6a58ec88 OK, that's it. I have this in my make.conf, and emerged gcc with: emerge -vuD --newuse gcc ---------------------------------------------------------------------------------------------------------------------------------------------- CFLAGS="-march=athlon64 -O2 -pipe" CXXFLAGS="${CFLAGS}" CHOST="x86_64-pc-linux-gnu" MAKEOPT="-j2" #FEATURES="ccache" FEATURES="-sandbox emerge sandbox" USE="X aac aiglx alsa aoss asf bzip2 cairo dbus dvd emerald fam firefox gif glitz gnome gstreamer gtk hal java jpeg mad mp3 mp4 new-login nptl nptlonly nsplugin opengl pdf png samba spell sqlite svg symlink threads tiff truetype unicode x264 xcomposite xinerama xml xorg xscreensaver xv xvid -arts -eds -esd -fortran -ipv6 -kde -qt3 -qt4" VIDEO_CARDS="NVIDIA" ---------------------------------------------------------------------------------------------------------------------------------------------- Now, that's what I am getting. checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make[2]: *** [configure-target-libstdc++-v3] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build' make: *** [profiledbootstrap] Error 2 * * ERROR: sys-devel/gcc-4.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4638: Called toolchain_src_compile * environment, line 5156: Called gcc_src_compile * environment, line 2964: Called gcc_do_make * environment, line 2787: Called die * The specific snippet of code: * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * The die message: * emake failed with profiledbootstrap * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'. * I just enabled IA32_EMULATION and recompiling my kernel. I downloaded the latest kernel form kernel instead of the one that comes with gentoo. I will report the results. Just out of curiosity, how did you know that IA32_EMULATION is not enabled? Which message told you this ? On Fri, Nov 14, 2008 at 5:48 PM, Christoph Mende wrote: > On Fri, 14 Nov 2008 14:02:19 -0400 > "Mansour Al Akeel" wrote: > >> Any idea ? > Enable IA32_EMULATION in your kernel > > -- > Christoph Mende > Gentoo/AMD64 Operational Lead and Release Engineering > GPG: EE2A 454A 6A3B A2D8 E43B FF45 2A19 C3B3 6DA0 C1AF >