-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to compile on ArchLinux #25
Comments
It fails to compile anywhere rn, I totally broke it trying to merge dmd and ldc's druntime and make it work in teh ci scripts. Make sure you pull master, it is changing every 5 mins rn. But I'm done trying for tonight, im going to bed. If you have a PR to fix the build lmk, that specific error i did like 10 mins ago, but I'm pretty sure there's still more. |
Oh sorry, and no worries. Just thought to drop by to see if something needed to be fixed on my end. I'll wait patiently for the update. Have a good night, Adam Ruppe! |
Wouldn't it be better to do these ci scripts experiments in a separate branch before merging them to master? |
Hi @TechScribe-Deaf , I'm also an archlinux user. From commit 526ec60, I can build dmd using ldc2-1.36.0 or master.
Wouldn't it be better to recreate the CI/CD mechanism (another branch test) and simplify the whole process? It will take all your time to try to maintain the dlang process from the beginning. |
I have no idea how to do any of this. I don't know even what most these things are! I was really hoping someone else would step up and do it, but it is kinda important to have an actually usable artifact before much of anything else can happen. The latest errors just say missing license file though so that might be near the end of it now. |
i just tried to move the other stuff to a branch and get master back to the last working commit on linux (still doesn't work on windows but master should build for you here) |
I was able to build OpenD (odmd and lodc, if that is what they will eventually be called) on two Arch derivatives (Garuda and Manjaro)...though I did have to comment out the two sections that were trying to build ldc-profgen in ldc/tools/CMakeLists.txt! I got some linker error that suggested incompatible compilers built a couple object files or libs, but I don't know how that is possible on the Manjaro install, as it is pretty much pristine/new?? Not sure what is going on there. Other than that is seems to work. |
Yeah, the profgen thing doesn't work on my Slackware computer too. I don't know why, but the ldc works so I was happy stopping it there. The CI setup manages to build those though. |
A quick diff in case anyone else is unclear on how to do this commenting out:
|
I am getting the following on Manjaro: Could be the issue is I have LLVM 16 and not 17 but I don't see 17 among the official packages. Should I install it from AUR and do I need llvm17 or llvm17-libs? |
It should work with 16 too, that's what I built it on my computer. Did you do the whole cmake process so it configured for your computer? |
I just cloned the repo, and ran |
ok... where did it fail? check your build dir to see if ldc2 actually got generated. the top-level makefile tries to build like a dozen things so it might be one of the other tools. |
It failed on building ldc2. I downloaded the LLVM 17 archive and just extracted |
huh idk, this is why i prefer dmd, lol it is so much easier to build. |
Wouldn't it be ideal to start adding git submodule with specific commit required to build and basically static link them? |
The CI script (which came from upstream) downloads a prebuilt LLVM from github, so perhaps that could be added to the instructions for a self build too. |
Hello, thank you for working on making a fork of D Language and I have been eager to look forward and to evaluate it's progress. I have tried to clone and compile your project, it fail to build however. This is built with the latest version for Arch Linux packages.
Host DMD Compiler version:
DMD64 D Compiler v2.106.1
Arch Linux - Updated as of January 16, 2024.
LLVM/Clang - Version 17.0.0 (Built and installed in /usr/local prefix)
The text was updated successfully, but these errors were encountered: