From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32152 invoked by alias); 3 Jan 2015 22:44:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 32133 invoked by uid 48); 3 Jan 2015 22:44:03 -0000 From: "simon at pushface dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg00137.txt.bz2 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).