[Pkg-d-devel] Installing libphobos2-ldc75

Iain Buclaw ibuclaw at gdcproject.org
Sat Nov 11 11:32:20 UTC 2017


On 11 November 2017 at 11:09, Russel Winder <russel at winder.org.uk> wrote:
> Iain,
>
>> The gdc packages allows installing multiple version of libgphobos
>> together (libgphobos68, libgphobos71, etc.)
>>
>
> As I understand it…
>
> The LDC set up also allows multiple versions per se. The problem is transitive
> dependencies, for example tilix which depends on both gtkd and phobos. For
> consistency all need to be compiles to the same toolchain and library
> versions. If tilix, gtkd, and phobos were compiled using gdc instead of ldc2,
> the exact same problem would arise I believe.
>

I guess in the worst case, you'd have to bump the so version of all
packages if the compiler is upgraded.  Or have the hard dependency on
gtkd I guess.

Maybe something could be done about stability of the library though.
Druntime is a pretty easy target to fix, as the most common breaking
ABI changes are related to additional attributes (nothrow, @nogc).

Both ldc and gdc should be able to have a compatibility layer via
@attribute("alias", "_D3new6mangle4nameFZv").  The second part is
keeping track of symbol changes and asserting that they don't.



More information about the Pkg-d-devel mailing list