Hi Iain,

>> this patch broke Solaris/x86 bootstrap:
>> 
>> /vol/gcc/src/hg/master/local/libphobos/libdruntime/core/thread.d:3595:23:
>> error: version AsmExternal defined after use
>>  3595 |             version = AsmExternal;
>>       |                       ^
>> /vol/gcc/src/hg/master/local/libphobos/libdruntime/core/thread.d:3603:27:
>> error: version AsmX86_Posix defined after use
>>  3603 |                 version = AsmX86_Posix;
>>       |                           ^
>> 
>> and similarly for the 64-bit version.  libdruntime/gcc/config.d has
>> 
>> // Whether libphobos been configured with --enable-cet.
>> enum GNU_Enable_CET = false;
>> 
>>      Rainer
>> 
>
> Looks like I can only use version conditions, or static if conditions.
> Not both at the same time.  Found a related bug in upstream dmd
> https://issues.dlang.org/show_bug.cgi?id=7386
>
> Fixing the front-end here will not be possible without some pervasive
> changes in how symbol resolving is handled.  Which is a shame.
>
> I'm just testing passing -fversion=CET during compilation.

I've just tested it no i386-pc-solaris2.11: worked fine.

Thanks.
        Rainer

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

Reply via email to