From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13745 invoked by alias); 16 Mar 2010 15:01:29 -0000 Received: (qmail 13594 invoked by uid 22791); 16 Mar 2010 15:01:28 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Mar 2010 15:01:19 +0000 Received: from spaceape24.eur.corp.google.com (spaceape24.eur.corp.google.com [172.28.16.76]) by smtp-out.google.com with ESMTP id o2GF1GQ7011003 for ; Tue, 16 Mar 2010 15:01:16 GMT Received: from fxm7 (fxm7.prod.google.com [10.184.13.7]) by spaceape24.eur.corp.google.com with ESMTP id o2GF0axL029207 for ; Tue, 16 Mar 2010 08:01:15 -0700 Received: by fxm7 with SMTP id 7so23575fxm.3 for ; Tue, 16 Mar 2010 08:01:15 -0700 (PDT) Received: by 10.87.58.1 with SMTP id l1mr1002238fgk.75.1268751675418; Tue, 16 Mar 2010 08:01:15 -0700 (PDT) Received: from coign.google.com ([67.218.104.225]) by mx.google.com with ESMTPS id 1sm9079146fkt.11.2010.03.16.08.01.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 08:01:14 -0700 (PDT) To: Paul Graphov Cc: gcc-help@gcc.gnu.org Subject: Re: gcc-4.5 build fails References: <5a5b03661003132240m64e2d76vdfaaea84d08845b9@mail.gmail.com> From: Ian Lance Taylor Date: Tue, 16 Mar 2010 15:13:00 -0000 In-Reply-To: <5a5b03661003132240m64e2d76vdfaaea84d08845b9@mail.gmail.com> (Paul Graphov's message of "Sun\, 14 Mar 2010 09\:40\:23 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00199.txt.bz2 Paul Graphov writes: > I've tried to build gcc-4.5 to play with it's new features but > unfortunately build failed. > I am using Fedora 12 x86_64 as host system and tried to build native comp= iler. > > The error looked like this: > > /home/druid/gcc-4.5/gcc-4.5- > 20100311/build/./gcc/xgcc > -B/home/druid/gcc-4.5/gcc-4.5-20100311/build/./gcc/ > -B/home/druid/usr/x86_64-unknown-linux-gnu/bin/ > -B/home/druid/usr/x86_64-unknown-linux-gnu/lib/ -isystem > /home/druid/usr/x86_64-unknown-linux-gnu/include -isystem > /home/druid/usr/x86_64-unknown-linux-gnu/sys-include=C2=A0=C2=A0=C2=A0 -g= -O2 -m32 > -O2=C2=A0 -g -O2 -DIN_GCC=C2=A0=C2=A0 -W -Wall -Wwrite-strings -Wcast-qual > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition > -isystem ./include=C2=A0 -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 > -D__GCC_FLOAT_NOT_NEEDED=C2=A0=C2=A0 -I. -I. -I../../.././gcc > -I../../../../libgcc -I../../../../libgcc/. > -I../../../../libgcc/../gcc -I../../../../libgcc/../include > -I../../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT > -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF > _muldi3.dep -DL_muldi3 -c ../../../../libgcc/../gcc/libgcc2.c \ > =C2=A0=C2=A0=C2=A0 =C2=A0 -fvisibility=3Dhidden -DHIDE_EXPORTS > In file included from /usr/include/features.h:376:0, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 from /usr/include/stdio.h:28, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 from ../../../../libgcc/../gcc/tsystem.h:87, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 from ../../../../libgcc/../gcc/libgcc2.c:29: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such > file or directory Note the use of -m32 above. This is building the 32-bit version of the library, so that the -m32 option works. You should install the 32-bit header files or configure with --disable-multilib. Ian