From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2533 invoked by alias); 20 Aug 2010 10:11:46 -0000 Received: (qmail 2525 invoked by uid 22791); 20 Aug 2010 10:11:44 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from n24.bullet.mail.ukl.yahoo.com (HELO n24.bullet.mail.ukl.yahoo.com) (87.248.110.141) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 20 Aug 2010 10:11:39 +0000 Received: from [217.12.4.215] by n24.bullet.mail.ukl.yahoo.com with NNFMP; 20 Aug 2010 10:11:11 -0000 Received: from [87.248.110.55] by t2.bullet.ukl.yahoo.com with NNFMP; 20 Aug 2010 10:11:36 -0000 Received: from [127.0.0.1] by omp107.mail.ukl.yahoo.com with NNFMP; 20 Aug 2010 10:10:23 -0000 Received: (qmail 24744 invoked by uid 60001); 20 Aug 2010 10:10:23 -0000 Message-ID: <595700.16932.qm@web28516.mail.ukl.yahoo.com> Received: from [132.166.132.113] by web28516.mail.ukl.yahoo.com via HTTP; Fri, 20 Aug 2010 10:10:23 GMT References: <961323.52443.qm@web28502.mail.ukl.yahoo.com> <7c01c91296c0beecfe4d6761073628bb-EhVcXl1CTQJeRwgeDAw3AF9BdAJSS1xcXV9EBF41WEVGVFENQV5+BEtdXjBeQ0IHWVxaSF9d-webmailer2@server04.webmailer.hosteurope.de> <285937.98277.qm@web28506.mail.ukl.yahoo.com> <284878.42130.qm@web28506.mail.ukl.yahoo.com> <730386.47129.qm@web28514.mail.ukl.yahoo.com> <4C0E91ED.6050600@andihellmund.com> <895794.48229.qm@web28503.mail.ukl.yahoo.com> <4C228DAC.4000704@andihellmund.com> <947445.22128.qm@web28503.mail.ukl.yahoo.com> <4C23C78C.2040903@andihellmund.com> <339992.16381.qm@web28510.mail.ukl.yahoo.com> <965431.74024.qm@web28505.mail.ukl.yahoo.com> <812334.11661.qm@web28514.mail.ukl.yahoo.com> <979708.56457.qm@web28505.mail.ukl.yahoo.com> <433024.59527.qm@web28514.mail.ukl.yahoo.com> Date: Sat, 21 Aug 2010 10:37:00 -0000 From: charfi asma Subject: Re : Re : Re : Re : Re : Re : Re : Re : Re : Re : Re : [GCC front end] trying to install sample_fe but fail in make To: Philip Herron Cc: gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-08/txt/msg00198.txt.bz2 Hello, I used git to get the current gcc-dev directory and I tried to install pyth= on,=20 gcalc and sample_fe at the same time. I configured with and It worked=20 when I call make bootstrap, I get an error dealing with the GTY (GTY must b= e=20 declared before identifier) in the sfe1.h (sample_fe front end) I changed the sfe1.h and it works, but I get another error :=20 checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... /export/home/charfi/objdir/./gcc/xgcc= =20 -B/export/home/charfi/objdir/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/=20 -B/usr/local/i686-pc-linux-gnu/lib/ -isystem=20 /usr/local/i686-pc-linux-gnu/include -isystem=20 /usr/local/i686-pc-linux-gnu/sys-include=20=20=20 checking for suffix of object files... configure: error: in=20 `/export/home/charfi/objdir/i686-pc-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Erreur 1 make[2]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/objdir =C2= =BB make[1]: *** [stage1-bubble] Erreur 2 make[1]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/objdir =C2= =BB make: *** [all] Erreur 2 any idea ? thank you very much ASMA ----- Message d'origine ---- De : Philip Herron =C3=80 : charfi asma Cc : gcc-help@gcc.gnu.org Envoy=C3=A9 le : Jeu 19 ao=C3=BBt 2010, 19h 39min 16s Objet : Re: Re : Re : Re : Re : Re : Re : Re : Re : Re : Re : [GCC front en= d]=20 trying to install sample_fe but fail in make On 19 August 2010 14:03, charfi asma wrote: > I tried to add gcalc as a front end to gcc 4.4.4 to understand the purpos= e of > this fe. > but when I call make I get those errors > > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141:104: erreur: l= a=20 >macro > =C2=AB build_decl =C2=BB a re=C3=A7u 4 arguments, mais elle n'en prend qu= e 3 > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: In function > =E2=80=98calc_parse_file=E2=80=99: > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur:=20 >=E2=80=98build_decl=E2=80=99 > undeclared (first use in this function) > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: (Each > undeclared identifier is reported only once > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: for e= ach > function it appears in.) > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:148:96: erreur: la= =20 macro > =C2=AB build_decl =C2=BB a re=C3=A7u 4 arguments, mais elle n'en prend qu= e 3 > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:140: attention : u= nused > variable =E2=80=98main_fn_type=E2=80=99 > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: In function > =E2=80=98calc_post_options=E2=80=99: > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:274: erreur: > =E2=80=98flag_excess_precision_cmdline=E2=80=99 undeclared (first use in = this function) > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:274: erreur: > =E2=80=98EXCESS_PRECISION_FAST=E2=80=99 undeclared (first use in this fun= ction) > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: Hors de toute fon= ction=20 >: > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:294: erreur:=20 conflicting > type qualifiers for =E2=80=98lang_hooks=E2=80=99 > /export/home/charfi/Bureau/gcc-4.4.4/gcc/langhooks.h:422: note: previous > declaration of =E2=80=98lang_hooks=E2=80=99 was here > /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:297:28: erreur: > gt-gcalc-calc1.h : Aucun fichier ou dossier de ce type > make[3]: *** [gcalc/calc1.o] Erreur 1 > make[3]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/Bureau/gc= c_make2/gcc =C2=BB > make[2]: *** [all-stage2-gcc] Erreur 2 > make[2]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/Bureau/gc= c_make2 =C2=BB > make[1]: *** [stage2-bubble] Erreur 2 > make[1]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/Bureau/gc= c_make2 =C2=BB > make: *** [all] Erreur 2 > This looks like langhook's function significant errors. Don't expect langhooks as is to be stable, since i started my front-end I've noticed 1 or 2 changes in the last 3 months or so. Its highly doubtful you could get the gcalc front-end andi build to work on GCC 4.4.4, without looking into langhooks.{h,def} to get the langhook function signatures right. As we have said earlier in this thread, try to work with current gcc sources (svn/git) its much simpler for us to help you, or if your heart is set on using a tarball use a snapshot gcc-core tarball or something. --Phil =20=20