public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/64486] New: Failure building cross compiler for arm-eabi (system.ads)
Date: Sat, 03 Jan 2015 22:44:00 -0000	[thread overview]
Message-ID: <bug-64486-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64486

            Bug ID: 64486
           Summary: Failure building cross compiler for arm-eabi
                    (system.ads)
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simon at pushface dot org

Both GCC 4.9.1 and GNAT GPL 2014 fail to build a cross-compiler to arm-eabi
based on gcc-5-20141228.

gcc -c -g -O2  -gnatpg -gnata -W -Wall -nostdinc -I- -I. -Iada/generated -Iada
-I../../gcc-5-20141228/gcc/ada -I../../gcc-5-20141228/gcc/ada/gcc-interface
../../gcc-5-20141228/gcc/ada/system.ads -o ada/system.o
system.ads:53:11: warning: unrecognized pragma "No_Elaboration_Code_All"
make[2]: *** [ada/system.o] Error 1

The configuration command was

$ ../gcc-5-20141228/configure --build=x86_64-apple-darwin13 --target=arm-eabi
--prefix=/Users/simon/local-arm --with-stage1-libs=no --with-stage1-ldflags=no
--with-cpu=cortex-m4 --with-fpu=fpv4-sp-d16 --with-float=hard --with-mode=thumb
--enable-interwork --enable-multilib --enable-languages=c,c++,ada
--with-system-zlib --with-newlib --with-libgloss --disable-shared --disable-nls
--disable-libada --with-gnu-as --with-gnu-ld
--with-bugurl=URL:mailto:simon@pushface.org

I worked round by wrapping the offending line in pragma Warnings (Off), pragma
Warnings (On).


             reply	other threads:[~2015-01-03 22:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-03 22:44 simon at pushface dot org [this message]
2015-01-03 22:45 ` [Bug ada/64486] " pinskia at gcc dot gnu.org
2015-01-03 22:48 ` simon at pushface dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64486-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).