Your message dated Mon, 31 Jul 2017 22:18:49 +0200
with message-id <[email protected]>
and subject line Re: gnat (GCC 7) fails to build on m68k
has caused the Debian Bug report #862927,
regarding gnat (GCC 7) fails to build on m68k
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
862927: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862927
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:gcc-7-cross-ports
Version: 1

Trying to build a gnat m68k cross compiler fails with:

/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/./gcc/xgcc
-B/home/packages/cross/7/p/gcc-7-cross-ports-1/
gcc/build/./gcc/ -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem
/usr/m68k-linux-gnu/include -isys
tem /usr/m68k-linux-gnu/sys-include -isystem
/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/sys-include
  -c -g -O2   -W -Wall -gnatpg -nostdinc   s-maccod.ads -o s-maccod.o
s-maccod.ads:36:15: violation of No_Elaboration_Code_All at line 37
s-maccod.ads:36:15: unit "System" does not have No_Elaboration_Code_All
../gcc-interface/Makefile:311: recipe for target 's-maccod.o' failed
make[9]: *** [s-maccod.o] Error 1
make[9]: Leaving directory
'/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/gcc/ada/rts'
gcc-interface/Makefile:2748: recipe for target 'gnatlib' failed
make[8]: *** [gnatlib] Error 2
make[8]: Leaving directory
'/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/gcc/ada'
gcc-interface/Makefile:2836: recipe for target 'gnatlib-shared-dual' failed
make[7]: *** [gnatlib-shared-dual] Error 2
make[7]: Leaving directory
'/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/gcc/ada'
gcc-interface/Makefile:2932: recipe for target 'gnatlib-shared' failed
make[6]: *** [gnatlib-shared] Error 2
make[6]: Leaving directory
'/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/gcc/ada'
Makefile:113: recipe for target 'gnatlib-shared' failed
make[5]: *** [gnatlib-shared] Error 2
make[5]: Leaving directory
'/home/packages/cross/7/p/gcc-7-cross-ports-1/gcc/build/m68k-linux-gnu/libada'
Makefile:14110: recipe for target 'all-target-libada' failed
make[4]: *** [all-target-libada] Error 2

--- End Message ---
--- Begin Message ---
Alright, looks like the latest upload (7.1.0-11) now contains the patch [1]:

18502   Index: gcc/ada/system-linux-m68k.ads
18503   ===================================================================
18504   --- a/src/gcc/ada/system-linux-m68k.ads (.../tags/gcc_7_1_0_release)
18505   +++ b/src/gcc/ada/system-linux-m68k.ads (.../branches/gcc-7-branch)
18506   @@ -7,7 +7,7 @@
18507    --                                 S p e c                             
     --
18508    --                         (GNU/Linux/m68k Version)                    
     --
18509    --                                                                     
     --
18510   ---          Copyright (C) 2014-2016, Free Software Foundation, Inc.    
     --
18511   +--          Copyright (C) 2014-2017, Free Software Foundation, Inc.    
     --
18512    --                                                                     
     --
18513    -- This specification is derived from the Ada Reference Manual for use 
with --
18514    -- GNAT. The copyright notice above, and the license provisions that 
follow --
18515   @@ -40,6 +40,9 @@
18516       --  this unit Pure instead of Preelaborable; see RM 13.7.1(15). In 
Ada
18517       --  2005, this is Pure in any case (AI-362).
18518   
18519   +   pragma No_Elaboration_Code_All;
18520   +   --  Allow the use of that restriction in units that WITH this unit
18521   +
18522       type Name is (SYSTEM_NAME_GNAT);
18523       System_Name : constant Name := SYSTEM_NAME_GNAT;
18524   
18525   @@ -126,7 +129,7 @@
18526       --  of the individual switch values.
18527   
18528       Backend_Divide_Checks     : constant Boolean := False;
18529   -   Backend_Overflow_Checks   : constant Boolean := False;
18530   +   Backend_Overflow_Checks   : constant Boolean := True;
18531       Command_Line_Args         : constant Boolean := True;
18532       Configurable_Run_Time     : constant Boolean := False;
18533       Denorm                    : constant Boolean := True;

> [1] 
> https://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-7/debian/patches/svn-updates.diff?revision=9598&view=markup

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--- End Message ---

Reply via email to