This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][Ada] PR ada/5911 Enable multilib build for Ada


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?

--joel

Laurent GUERBY wrote:
Yes, system-linux-sparcv9.ads would be good if that's what you're proposing.

Here is what I tested successfully on x86_64-linux and sparc-linux (with a small patch from Eric and --with-cpu=v8 to match what debian does: 32bits default and 64bits multilib).

Joel provided powerpc-rtems results here:
http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg00209.html

As recommanded by Paolo I'll wait until sunday to commit.

Laurent

2008-09-18  Laurent Guerby  <laurent@guerby.net>
            Paolo Bonzini  <bonzini@gnu.org>

        PR ada/5911
        * Makefile.in (all, install, mostlyclean, clean, distclean): Add
        multilib handling.
        * configure.ac: Add multilib handling.
        * configure: Regenerate.

2008-09-18 Laurent Guerby <laurent@guerby.net>

        PR ada/5911
        * gcc-interface/Makefile.in: Add multilib handling for x86_64
        and sparc.
        * system-linux-sparcv9.ads: New file.




--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]