public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug boehm-gc/38349] New: Error Building Ada (h8300)
@ 2008-12-01 14:47 joel at gcc dot gnu dot org
2008-12-01 15:16 ` [Bug ada/38349] " joel at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: joel at gcc dot gnu dot org @ 2008-12-01 14:47 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/38349] Error Building Ada (h8300)
2008-12-01 14:47 [Bug boehm-gc/38349] New: Error Building Ada (h8300) joel at gcc dot gnu dot org
@ 2008-12-01 15:16 ` joel at gcc dot gnu dot org
2009-02-27 16:26 ` joel at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: joel at gcc dot gnu dot org @ 2008-12-01 15:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from joel at gcc dot gnu dot org 2008-12-01 15:15 -------
Ada not boehm-gc. Selected wrong box.
--
joel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|boehm-gc |ada
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/38349] Error Building Ada (h8300)
2008-12-01 14:47 [Bug boehm-gc/38349] New: Error Building Ada (h8300) joel at gcc dot gnu dot org
2008-12-01 15:16 ` [Bug ada/38349] " joel at gcc dot gnu dot org
@ 2009-02-27 16:26 ` joel at gcc dot gnu dot org
2009-02-27 16:28 ` joel at gcc dot gnu dot org
2009-02-27 17:42 ` laurent at guerby dot net
3 siblings, 0 replies; 5+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-02-27 16:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from joel at gcc dot gnu dot org 2009-02-27 16:26 -------
Ping.. still broken
gcc (GCC) 4.4.0 20090226 (experimental) [trunk revision 144455]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/38349] Error Building Ada (h8300)
2008-12-01 14:47 [Bug boehm-gc/38349] New: Error Building Ada (h8300) joel at gcc dot gnu dot org
2008-12-01 15:16 ` [Bug ada/38349] " joel at gcc dot gnu dot org
2009-02-27 16:26 ` joel at gcc dot gnu dot org
@ 2009-02-27 16:28 ` joel at gcc dot gnu dot org
2009-02-27 17:42 ` laurent at guerby dot net
3 siblings, 0 replies; 5+ messages in thread
From: joel at gcc dot gnu dot org @ 2009-02-27 16:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from joel at gcc dot gnu dot org 2009-02-27 16:28 -------
Laurent.. would it make sense to have a "low memory" alternate version of the
file in question and swap it in on some targets like the sh2e issue?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38349
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/38349] Error Building Ada (h8300)
2008-12-01 14:47 [Bug boehm-gc/38349] New: Error Building Ada (h8300) joel at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-02-27 16:28 ` joel at gcc dot gnu dot org
@ 2009-02-27 17:42 ` laurent at guerby dot net
3 siblings, 0 replies; 5+ messages in thread
From: laurent at guerby dot net @ 2009-02-27 17:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from laurent at guerby dot net 2009-02-27 17:42 -------
First you need to find out which stack_size works on your target.
An obvious patch would be something like that:
Default_Env_Stack_Size : constant Size_Type := Size_Type'Min (8_192_000,
Size_Type'Last / 1024 );
Otherwise since the only used of Default_Env_Stack_Size is s-stchop.adb I think
replacing the constant by a function would be acceptable, then you could
customize the return value it in s-parame-rtems.adb.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38349
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-27 17:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-01 14:47 [Bug boehm-gc/38349] New: Error Building Ada (h8300) joel at gcc dot gnu dot org
2008-12-01 15:16 ` [Bug ada/38349] " joel at gcc dot gnu dot org
2009-02-27 16:26 ` joel at gcc dot gnu dot org
2009-02-27 16:28 ` joel at gcc dot gnu dot org
2009-02-27 17:42 ` laurent at guerby dot net
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).