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 1L147P-0005bZ-I5 for garchives@archives.gentoo.org; Fri, 14 Nov 2008 19:14:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51DDAE00EC; Fri, 14 Nov 2008 19:14:09 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by pigeon.gentoo.org (Postfix) with ESMTP id DA499E00EC for ; Fri, 14 Nov 2008 19:14:08 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so1667610fga.14 for ; Fri, 14 Nov 2008 11:14:06 -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:references; bh=AsvxvZAnLPuQuruxhC/6Vq927flZjW+EHRneg8CeI4w=; b=VHhA/vHsob5QeBYuILxmfXW6hcF9E0qYpGmIEL2LXc8iSmkZiroWPPBxiPN7AQeHsK FZ/SxUFwAZwP+n97wpSFWACLasggnCMuscd8lV27EMXuuRMfgslejVoNnICQ1xcA+kPX 9CmHg3PGa2JHiM4VklhFBIAKuq/Bi/BflYiTc= 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:references; b=gmPv1p9Ylm9roezRs1jhxrM9q61PjDMHwMZmYMmnuyN4yq8k+K+PPwoMwTS2NcwOK8 /unyq1oCyaumwj0FNTOsKLtBCcsFu1wgBwwJpOyPNg2zT9sWX0EoA21BMniejC0+eHpD ejIKG+NCBB06Nh0OmunTyDmfUAeYtDCRd0GDs= Received: by 10.180.231.17 with SMTP id d17mr348131bkh.37.1226690046653; Fri, 14 Nov 2008 11:14:06 -0800 (PST) Received: by 10.181.16.2 with HTTP; Fri, 14 Nov 2008 11:14:06 -0800 (PST) Message-ID: <2a21586d0811141114j9aa4cadve682b88b54a70299@mail.gmail.com> Date: Fri, 14 Nov 2008 15:14:06 -0400 From: "Mansour Al Akeel" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Can not compile gcc In-Reply-To: <491DC616.60409@j-schmitz.net> 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: multipart/alternative; boundary="----=_Part_7768_8517532.1226690046654" References: <2a21586d0811141002p735a3839h74ec70ff8dd7f524@mail.gmail.com> <20081114182621.GA4988@crud.crud.mn.org> <491DC4C0.4000503@j-schmitz.net> <491DD204.1010509@avtomatika.com> <491DC616.60409@j-schmitz.net> X-Archives-Salt: 7890b241-1a64-48c5-8c45-a69569cad6ba X-Archives-Hash: d1fcdbd11c21213b44f7630df45dbf3d ------=_Part_7768_8517532.1226690046654 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have already initiated the build again after I modified the USE flags to the defaults that came with the installation cd. Here's the dfaults: ================================================================== # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="x86_64-pc-linux-gnu" # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE="mmx sse sse2" ================================================================= I am still waiting to see the results. When the error occured I was using the following make.conf: ====================================================== CFLAGS="-march=athlon64 -O2 -pipe" CXXFLAGS="${CFLAGS}" CHOST="x86_64-pc-linux-gnu" MAKEOPT="-j2" FEATURES="ccache" 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" =================================================== I should have kept a back up of the build.log but if anyone needs it, I can do emerge again, and send you the file, as I have this strong feeling that the build I am doing now will fail as well. Thank you all. On Fri, Nov 14, 2008 at 2:40 PM, Justin wrote: > Branko Badrljica schrieb: > > Justin wrote: > >> Barry Schwartz schrieb: > >> > >>> Mansour Al Akeel skribis: > >>> > >>>> Any idea ? > >>>> > >>> If you use ccache, try emptying it. > >>> > >>> > >>> > >>> > >> I think there is something else wrong, because it fails in the configure > >> phase. > >> > >> Send us an emerge --info output, please. > >> > >> > > > > I'm not an expert, but it seems that it was trying to compile 64-bit > > test code with -m32 flag: > > > > >The log file: > > >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 > > > > > > Perhaps he should check his make.conf for CHOST and CLAGS ? > > > Sharp eyed guy!! > > ------=_Part_7768_8517532.1226690046654 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have already initiated the build again after I modified the USE flags to the defaults that came with the installation cd. Here's the dfaults:
==================================================================
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2"
=================================================================

I am still waiting to see the results. When the error occured I was using the following make.conf:

======================================================
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="x86_64-pc-linux-gnu"

MAKEOPT="-j2"
FEATURES="ccache"

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"
===================================================

I should have kept a back up of the build.log but if anyone needs it, I can do emerge again, and send you the file, as I have this strong feeling that the build I am doing now will fail as well.
Thank you all.


On Fri, Nov 14, 2008 at 2:40 PM, Justin <justin@j-schmitz.net> wrote:
Branko Badrljica schrieb:
> Justin wrote:
>> Barry Schwartz schrieb:
>>
>>> Mansour Al Akeel <mansour.alakeel@gmail.com> skribis:
>>>
>>>> Any idea ?
>>>>
>>> If you use ccache, try emptying it.
>>>
>>>
>>>
>>>
>> I think there is something else wrong, because it fails in the configure
>> phase.
>>
>> Send us an emerge --info output, please.
>>
>>
>
> I'm not an expert, but it seems that it was trying to compile 64-bit
> test code with -m32 flag:
>
> >The log file:
> >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
>
>
> Perhaps he should check his make.conf for CHOST and CLAGS ?
>
Sharp eyed guy!!


------=_Part_7768_8517532.1226690046654--