This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug ada/66205] gnatbind generates invalid code when finalization is enabled in restricted runtime
- From: Arnaud Charlet <charlet at adacore dot com>
- To: simon at pushface dot org <gcc-bugzilla at gcc dot gnu dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 18:03:58 +0200
- Subject: Re: [Bug ada/66205] gnatbind generates invalid code when finalization is enabled in restricted runtime
- Authentication-results: sourceware.org; auth=none
- References: <bug-66205-4 at http dot gcc dot gnu dot org/bugzilla/> <bug-66205-4-FWSbeO4mTF at http dot gcc dot gnu dot org/bugzilla/>
> I???ve managed to make what I think is a very-low-quality workround by
> (a) not suppressing the standard library on the target in system.ads
> (b) including a C source file in the RTS which provides dummies for the
> irrelevant-in-this-context __gl_* objects which bindgen now
> references.
>
> Anyway, now I have my copyright assignment in place, I???ll submit the
> patch. I???m
> not sure what regression tests would be appropriate: I propose to apply the
> patch and bootstrap/make check-ada for Darwin, that will show I haven???t
> broken
> the normal case, and I can repeat the build for arm-eabi and build a null main
> program.
>
> If there???s no chance that this patch will ever be accepted, please let me
> know before I embark on this!
Certainly a very low quality workaround won't be accepted, this would cause
too much maintenance troubles.
Arno