Hello world segfaults with -static

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Oct 10 16:41:00 GMT 2001


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /