From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Specifying an `--RTS` option in a GPR file, for a runtime library
Date: Sun, 14 Apr 2013 22:36:22 +0200
Date: 2013-04-14T22:36:22+02:00 [thread overview]
Message-ID: <op.wvjsuwqnule2fv@cardamome> (raw)
In-Reply-To: op.wvjrjkz8ule2fv@cardamome
Le Sun, 14 Apr 2013 22:07:58 +0200, Yannick Duchêne (Hibou57)
<yannick_duchene@yahoo.fr> a écrit:
> It still starts with “warning: RTS for language ada is discarded (full
> path)” as before with the absolute path variant, but now `gprbuild` also
> returns this additional message: “raised TYPES.UNRECOVERABLE_ERROR :
> targparm.adb:177”.
More about this error. I fetched GCC 4.6 source files, and here is what's
in `targparm.adb`, around line 177:
if Text = null then
Write_Line ("fatal error, run-time library not installed
correctly");
Write_Line ("cannot locate file system.ads");
raise Unrecoverable_Error;
end if;
And `Text` is declared as `Text : Source_Buffer_Ptr;`.
So, the runtime library is not installed correctly, but what is not
correct, remains to be answered. If the exception is raised when a `Text`
parameter is `null` and that `Text` parameter seems to be related to
source file, does this means it can't find the source file? But the layout
of the `runtime` directory looks OK, it contains the `adainclude`
subdirectory, with a copy of all of the runtime source files.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2013-04-14 20:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-14 19:54 Specifying an `--RTS` option in a GPR file, for a runtime library Yannick Duchêne (Hibou57)
2013-04-14 20:07 ` Yannick Duchêne (Hibou57)
2013-04-14 20:36 ` Yannick Duchêne (Hibou57) [this message]
2013-04-15 8:19 ` Brian Drummond
2013-04-15 11:22 ` Yannick Duchêne (Hibou57)
2013-04-15 22:28 ` Yannick Duchêne (Hibou57)
2013-04-17 11:43 ` Brian Drummond
2013-04-18 22:10 ` Yannick Duchêne (Hibou57)
2013-04-15 13:27 ` Yannick Duchêne (Hibou57)
2013-04-15 13:29 ` Yannick Duchêne (Hibou57)
2013-04-23 1:26 ` Yannick Duchêne (Hibou57)
2013-04-23 17:22 ` Yannick Duchêne (Hibou57)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox