public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/64486] New: Failure building cross compiler for arm-eabi (system.ads)
@ 2015-01-03 22:44 simon at pushface dot org
  2015-01-03 22:45 ` [Bug ada/64486] " pinskia at gcc dot gnu.org
  2015-01-03 22:48 ` simon at pushface dot org
  0 siblings, 2 replies; 3+ messages in thread
From: simon at pushface dot org @ 2015-01-03 22:44 UTC (permalink / raw)
  To: gcc-bugs

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).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/64486] Failure building cross compiler for arm-eabi (system.ads)
  2015-01-03 22:44 [Bug ada/64486] New: Failure building cross compiler for arm-eabi (system.ads) simon at pushface dot org
@ 2015-01-03 22:45 ` pinskia at gcc dot gnu.org
  2015-01-03 22:48 ` simon at pushface dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-01-03 22:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need a GCC 5 gnat to begin with.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug ada/64486] Failure building cross compiler for arm-eabi (system.ads)
  2015-01-03 22:44 [Bug ada/64486] New: Failure building cross compiler for arm-eabi (system.ads) simon at pushface dot org
  2015-01-03 22:45 ` [Bug ada/64486] " pinskia at gcc dot gnu.org
@ 2015-01-03 22:48 ` simon at pushface dot org
  1 sibling, 0 replies; 3+ messages in thread
From: simon at pushface dot org @ 2015-01-03 22:48 UTC (permalink / raw)
  To: gcc-bugs

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

simon at pushface dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from simon at pushface dot org ---
Of course I do. Sorry.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-03 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-03 22:44 [Bug ada/64486] New: Failure building cross compiler for arm-eabi (system.ads) simon at pushface dot org
2015-01-03 22:45 ` [Bug ada/64486] " pinskia at gcc dot gnu.org
2015-01-03 22:48 ` simon at pushface dot org

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).