This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][Ada] PR ada/5911 Enable multilib build for Ada
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>, Jan Hubicka <jh at suse dot cz>
- Cc: Arnaud Charlet <charlet at adacore dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Paolo Bonzini <bonzini at gnu dot org>, Eric Botcazou <ebotcazou at adacore dot com>, Samuel Tardieu <sam at rfc1149 dot net>
- Date: Thu, 18 Sep 2008 17:02:19 +0200
- Subject: Re: [PATCH][Ada] PR ada/5911 Enable multilib build for Ada
- References: <1220171449.19905.106.camel@localhost> <20080831103650.GA90344@adacore.com> <1220199325.19905.140.camel@localhost> <20080831161920.GA56425@adacore.com> <1220201371.19905.146.camel@localhost> <20080831170214.GA59251@adacore.com> <20080831170530.GA60589@adacore.com> <1221746948.16991.294.camel@localhost> <48D26A50.2010101@oarcorp.com>
On Thu, 2008-09-18 at 09:48 -0500, Joel Sherrill wrote:
> I can't build the trunk native on Fedora 9, 32 bit with the
> native gcc:
>
> [joel@iceland svn]$ type gcc
> gcc is /usr/bin/gcc
> [joel@iceland svn]$ gcc --version
> gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
>
>
>
> gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -fno-common
> -DHAVE_CONFIG_H -I.. -I. -Iada -I/home/joel/work-gnat/svn//gcc/gcc
> -I/home/joel/work-gnat/svn//gcc/gcc/ada
> -I/home/joel/work-gnat/svn//gcc/gcc/../include
> -I/home/joel/work-gnat/svn//gcc/gcc/../libcpp/include
> -I/home/joel/work-gnat/svn//gcc/gcc/../libdecnumber
> -I/home/joel/work-gnat/svn//gcc/gcc/../libdecnumber/bid
> -I../libdecnumber
> /home/joel/work-gnat/svn//gcc/gcc/ada/gcc-interface/utils2.c -o ada/utils2.o
> /home/joel/work-gnat/svn//gcc/gcc/ada/gcc-interface/utils.c: In function
> âcreate_subprog_declâ:
> /home/joel/work-gnat/svn//gcc/gcc/ada/gcc-interface/utils.c:1979:
> warning: implicit declaration of function âDECL_INLINEâ
> /home/joel/work-gnat/svn//gcc/gcc/ada/gcc-interface/utils.c: In function
> âend_subprog_bodyâ:
> /home/joel/work-gnat/svn//gcc/gcc/ada/gcc-interface/utils.c:2237: error:
> lvalue required as left operand of assignment
>
> I doubt Laurent's patch broke this. Can you guys build?
Here is the source of the current Ada bootstrap failure:
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01285.html
I assume Jan will propose a fix soon.
Laurent