[Bug boehm-gc/38349] New: Error Building Ada (h8300)

joel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 1 14:47:00 GMT 2008


4.4.0 20081126 (experimental) [trunk revision 142228] 

/n/12/joel/test-gcc/b-gcc2-h8300/./gcc/xgcc
-B/n/12/joel/test-gcc/b-gcc2-h8300/./gcc/ -nostdinc
-B/n/12/joel/test-gcc/b-gcc2-h8300/h8300-rtems4.10/newlib/ -isystem
/n/12/joel/test-gcc/b-gcc2-h8300/h8300-rtems4.10/newlib/targ-include -isystem
/n/12/joel/test-gcc/gcc-svn/newlib/libc/include
-B/n/12/joel/test-gcc/install/h8300-rtems4.10/bin/
-B/n/12/joel/test-gcc/install/h8300-rtems4.10/lib/ -isystem
/n/12/joel/test-gcc/install/h8300-rtems4.10/include -isystem
/n/12/joel/test-gcc/install/h8300-rtems4.10/sys-include -c -g -O2   -W -Wall
-gnatpg   a-calari.adb -o a-calari.o
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... s-parame.ads:96:51: value not in
range of type "System.Parameters.Size_Type"
s-parame.ads:96:51: static expression fails Constraint_Check

Line 96 is this:
  Default_Env_Stack_Size : constant Size_Type := 8_192_000;
   --  Assumed size of the environment task, if no other information
   --  is available. This value is used when stack checking is
   --  enabled and no GNAT_STACK_LIMIT environment variable is set.

I think this is because the H8 only has a limited address range and 8MB is too
large for its default environment stack size.  I am recalling that 64K is 
the limit for offsets and that the larger parts in the family only have 24
address bits for 16MB.


-- 
           Summary: Error Building Ada (h8300)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: boehm-gc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joel at gcc dot gnu dot org
GCC target triplet: h8300-rtems4.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38349



More information about the Gcc-bugs mailing list