Hello, yelninei--- via Bug reports for the GNU Hurd, le ven. 20 mars 2026 17:43:30 +0100, a ecrit: > I recently became interested in the D programming language and saw that the > Hurd support was not great. In gcc-11 there is some basic support in gdc but > none in the runtime and standard library. Newer versions of gdc require a > previous gdc. > > On a 32bit Hurd I am currently able to build gdc-11 -> gdc-14 -> dmd 2.112 -> > dmd 2.112. > After convincing gcc-11 to recognise x86-64-*-gnu it also works there.
Nice :) > 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'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. Samuel
