* gnat and fedora these days ?
@ 2005-06-28 12:19 Reinert Korsnes
2005-06-28 19:56 ` Björn Persson
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Reinert Korsnes @ 2005-06-28 12:19 UTC (permalink / raw)
Hi,
anybody tried "gnatmake" under an up to date (28 June 2005)
Fedora Core 3 ?
I have problems. Example:
----------------------------------------------------------------------------
gnatmake -ffast-math -O -mcpu=i686 test1
gcc -c -ffast-math -O -mcpu=i686 test1.adb
+===========================GNAT BUG DETECTED==============================+
| 3.4.3 20050227 (Red Hat 3.4.3-22.fc3) (i386-redhat-linux-gnu) |
| Storage_Error stack overflow (or erroneous memory access) |
| Error detected at a-textio.ads:53:9 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files). |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
test1.adb
compilation abandoned
gnatmake: "test1.adb" compilation error
----------------------------------------------------------------------------
reinert
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-28 12:19 gnat and fedora these days ? Reinert Korsnes
@ 2005-06-28 19:56 ` Björn Persson
2005-06-29 12:13 ` Reinert Korsnes
2005-06-28 23:28 ` Stephen Leake
2005-06-29 12:26 ` brian.b.mcguinness
2 siblings, 1 reply; 8+ messages in thread
From: Björn Persson @ 2005-06-28 19:56 UTC (permalink / raw)
Reinert Korsnes wrote:
> Hi,
>
> anybody tried "gnatmake" under an up to date (28 June 2005)
> Fedora Core 3 ?
Yes, and it works.
(To be honest, my system is *almost* up-to-date. I just now updated
selinux-policy-targeted to version 1.17.30-3.13, but then I could hardly
run anything at all because dynamic libraries couldn't be loaded, so I
quickly reverted to 1.17.30-3.9. That's obviously not the same problem
as yours.)
Have you tried it with GCC 4?
--
Bj�rn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-28 12:19 gnat and fedora these days ? Reinert Korsnes
2005-06-28 19:56 ` Björn Persson
@ 2005-06-28 23:28 ` Stephen Leake
2005-06-29 12:26 ` brian.b.mcguinness
2 siblings, 0 replies; 8+ messages in thread
From: Stephen Leake @ 2005-06-28 23:28 UTC (permalink / raw)
To: Reinert Korsnes; +Cc: comp.lang.ada
Reinert Korsnes <reinert.korsnes@GETRIDOFSPAMchello.no> writes:
> Hi,
>
> anybody tried "gnatmake" under an up to date (28 June 2005)
> Fedora Core 3 ?
I don't do Linux, but perhaps you can increase your stack size? Often
a new version of a compiler will use a different amount of stack.
--
-- Stephe
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-28 19:56 ` Björn Persson
@ 2005-06-29 12:13 ` Reinert Korsnes
2005-06-29 20:45 ` Björn Persson
0 siblings, 1 reply; 8+ messages in thread
From: Reinert Korsnes @ 2005-06-29 12:13 UTC (permalink / raw)
Bjï¿œrn Persson wrote:
> Reinert Korsnes wrote:
>> Hi,
>>
>> anybody tried "gnatmake" under an up to date (28 June 2005)
>> Fedora Core 3 ?
>
> Yes, and it works.
>
> (To be honest, my system is *almost* up-to-date. I just now updated
> selinux-policy-targeted to version 1.17.30-3.13, but then I could hardly
> run anything at all because dynamic libraries couldn't be loaded, so I
> quickly reverted to 1.17.30-3.9. That's obviously not the same problem
> as yours.)
Under kernel-2.6.11-1.27_FC3 and previous it *did work* for me also.
The problem started yesterday after I did an "up2date".
If I start with the previous kernel, then I again can use Ada on Fedora.
So the problem seems to be associated with the very very
last updates....
reinert
>
> Have you tried it with GCC 4?
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-28 12:19 gnat and fedora these days ? Reinert Korsnes
2005-06-28 19:56 ` Björn Persson
2005-06-28 23:28 ` Stephen Leake
@ 2005-06-29 12:26 ` brian.b.mcguinness
2 siblings, 0 replies; 8+ messages in thread
From: brian.b.mcguinness @ 2005-06-29 12:26 UTC (permalink / raw)
I tried the same thing last night, with similar results.
Among other things, Fedora Core 3 kernel 2.6.11-1.35_FC3 breaks
gcc (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.fc3), which I use to
compile Ada programs, and the APLX 1.1 APL interpreter.
They seem to work OK with kernel 2.6.11-1.27_FC3.
I recommend keeping an older kernel version that is known to be good
whenever upgrading to a new kernel, as this sort of thing happens from
time to time.
--- Brian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-29 12:13 ` Reinert Korsnes
@ 2005-06-29 20:45 ` Björn Persson
2005-06-29 23:27 ` Björn Persson
0 siblings, 1 reply; 8+ messages in thread
From: Björn Persson @ 2005-06-29 20:45 UTC (permalink / raw)
Reinert Korsnes wrote:
> Under kernel-2.6.11-1.27_FC3 and previous it *did work* for me also.
Oh, the kernel! I forgot that I haven't rebooted after the latest kernel
update. 2.6.11-1.27_FC3 is still running. Sorry.
--
Bjï¿œrn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-29 20:45 ` Björn Persson
@ 2005-06-29 23:27 ` Björn Persson
2005-06-30 6:43 ` Duncan Sands
0 siblings, 1 reply; 8+ messages in thread
From: Björn Persson @ 2005-06-29 23:27 UTC (permalink / raw)
Björn Persson wrote:
> Reinert Korsnes wrote:
>> Under kernel-2.6.11-1.27_FC3 and previous it *did work* for me also.
>
> Oh, the kernel! I forgot that I haven't rebooted after the latest kernel
> update. 2.6.11-1.27_FC3 is still running. Sorry.
Under Linux 2.6.11-1.35_FC3 I get the same error as Reinert when I run
Gnatmake on a tiny test program – Storage_Error at a-textio.ads:53:9.
This is line 53 of a-textio.ads:
type File_Mode is (In_File, Out_File, Append_File);
--
Björn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gnat and fedora these days ?
2005-06-29 23:27 ` Björn Persson
@ 2005-06-30 6:43 ` Duncan Sands
0 siblings, 0 replies; 8+ messages in thread
From: Duncan Sands @ 2005-06-30 6:43 UTC (permalink / raw)
To: comp.lang.ada
> Under Linux 2.6.11-1.35_FC3 I get the same error as Reinert when I run
> Gnatmake on a tiny test program – Storage_Error at a-textio.ads:53:9.
Maybe it's all that non-executable stack / stack randomisation stuff that
I hear redhat use in their kernel?
Ciao,
D.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-06-30 6:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-28 12:19 gnat and fedora these days ? Reinert Korsnes
2005-06-28 19:56 ` Björn Persson
2005-06-29 12:13 ` Reinert Korsnes
2005-06-29 20:45 ` Björn Persson
2005-06-29 23:27 ` Björn Persson
2005-06-30 6:43 ` Duncan Sands
2005-06-28 23:28 ` Stephen Leake
2005-06-29 12:26 ` brian.b.mcguinness
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox