Hi Iain,

>> Yes, this is data related. The DSO registry picks up nothing in the
>> miscompiled stage2 compiler, leaving all data uninitialized.  The stage1
>> compiler works, and runs all module constructors ahead of compilation.
>> 
>
> Ohh, backtrack on that, analysis is correct, but it is a compiler regression.
>
> The TARGET_D_MINFO_SECTION macros are in elfos.h, which of course no
> longer get pulled in to sol2-d.cc after I removed the tm.h include.
>
> Re-adding these two ought to fix the bootstrap for you.
>
>     #include "tm.h"
>     #include "memmodel.h"

it does indeed: with that patch, i386-pc-solaris2.11 and
sparc-sun-solaris2.11 bootstraps completed successfully and test results
are back to normal.

Thanks a lot.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to