Hi Iain,
> On Tue, 29 Jan 2019 at 13:35, Rainer Orth <[email protected]>
> wrote:
>>
>> With the set of libphobos Solaris patches just posted, it would become
>> possible to enable libphobos on Solaris 11/x86 by default.
>>
>> This is what this patch does.
>>
>> * It uses a LIBPHOBOS_SUPPORTED variable both in toplevel configure and
>> libphobos/configure.tgt, following what libvtv does.
>>
>> * It's necessary to disable libphobos when Solaris as is in use: it has
>> a relatively low line length limit of 10240 which is exceeded in a few
>> libphobos files.
>>
>> Bootstrapped without regressions on i386-pc-solaris2.11 (as and gas, gas
>> and gld, Solaris 11.3/11.4/11.5) on top of the previous set of patches.
>>
>> Also tested manually that explicit
>> --enable-libphobos/--disable-libphobos give the desired results
>> (i.e. override the defaults).
>>
>
> OK.
Thanks. This will have to wait for
[libphobos] Use sections_elf_shared.d on Solaris 11.5 (PR d/88150)
https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01661.html
and
[libphobos] Work around lack of dlpi_tls_modid before Solaris 11.5
https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01664.html
of course. Maybe even
[libphobos] Work around Solaris ld bug linking __tls_get_addr on 64-bit
x86
https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01663.html
will be needed depending on whether a proper ld fix makes it into
Solaris 11.5 or not.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University