Hi Samuel

Mar 22, 2026, 19:04 by [email protected]:

> Hello,
>
>
>> I am currently trying to make the tests pass in dmd, druntime and phobos as 
>> some of them still segfault.
>> I hope that getting ldc to work only requires minimal additional changes but 
>> as I am currently unable to build llvm for hurd I have not looked into it.
>>
>
> Note that various versions of llvm may need various patches. They are
> upstreamed, but with a given upstream version you may have them or not.
> You can pick up the the llvm 21 patches from debian, e.g.
>
> http://snapshot.debian.org/archive/debian-debug/20260203T202644Z/pool/main/l/llvm-toolchain-21/llvm-toolchain-21_21.1.8-3.debian.tar.xz
>

I tried llvm 20 before and encountered lots of issues with usage of ED as an 
identifier interfering with the errno macro. I gave up after a while as 
figuring out all the places where to add

#ifdef ED
#undef ED
#endif

got boring really quickly.

Debian seems to have a glibc patch to remove it.


>> I'd really like someone to double check my changes especially the druntime 
>> ones with the libc/pthread constants and struct definitions. Before that I'd 
>> like to clean things up a bit as i my focus so far has been functionality 
>> over style. What would be the best way to do that?
>>
>
> I'm not sure what exactly your question refers to. About
> double-checking, just post your changes on the list, and people can take
> a look.
>

The main difficutly is that if people actually want to try for themselves they 
need multiple different versions of the same patches to bootstrap dmd master 
which is where the patches would be against.

But maintaining these multiple versions in paralell while things are still 
unstable is to much work for me.


> Samuel
>




Reply via email to