This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hello world segfaults with -static


Boehm, Hans wrote:

>That's a new one for me.  And I don't have clue as to how that could happen.
>With only a single entry in the table, GC_next_exclusion should return
>either 0 or the address of the zeroth entry in GC_excl_table.  It looks to
>me like next_index can be only 0 or 1.
>
>Can you build mark_rts.c unoptimized?  If that still breaks, can you step
>through GC_exclude_static_roots to see where I'm wrong?
>

I noticed this a few weeks ago. It does appear to be an optimization bug 
in GCC, since rebuilding the GC without -O fixed it.

regards

Bryce.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]