[Mono-list] gcc 2.96 on Red-Hat
Jonathan Stowe
gellyfish@gellyfish.com
Thu, 19 Jun 2003 15:05:47 +0100 (BST)
On Thu, 19 Jun 2003, Paolo Molaro wrote:
> On 06/18/03 Jonathan Stowe wrote:
> > I appear to be a victim of the evil combination of gcc 2.96 on Redhat not
> > liking the EmptyStruct test. Are fixes being solicited for this or is the
> > advice to upgrade the gcc (which I would rather not do right now)? I have
> > been patching it myself in order to get the sucker to build but I am
> > fairly sure that the fix I am using is breaking the tests.
>
> Can you elaborate?
> I'm not aware of any gcc bug for EmptyStruct (you're referring to the
> pinvoke tests in mono/tests/, right?).
>
Ah, someone must have noticed this because there is a comment in the code
:-) Anyway you get this:
libtest.c:261: warning: no previous prototype for `mono_test_empty_struct'
libtest.c: In function `mono_test_empty_struct':
libtest.c:267: Internal compiler error in ix86_compute_frame_size, at
config/i386/i386.c:1875
Please submit a full bug report.
When it is compiled.
This obviously can be fixed by adding something to the struct if it is the
affected version of gcc. But that is likely to break the tests.
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|