Open berolinux opened 1 year ago
This happends with the meson build, best way to build it is using the make file. The reason why it fails is because meson builds the files seperate, but as the make file shows the a group of files must be compiled as a batch at onces. If the make file is no solution, i might i have xmake file that does basicly the same as the make file. XMAKE is a interesting projeCT. I like it a lot more then then meson and gnumake files.
@berolinux This is probably once again a bug in LDC. It probably makes sense to file this issue against LDC, and as a temporary workaround set DFLAGS += --allinst
in your environment (check if that resolves the issue).
No it happends with any other D compiler, it only happends with build systems that the build seperate .o files. The make file does not do this, it creates one .o file containing all the others and then compiled it with the main file. I think somewhere in time, gir-to-d got changed changed, and so it does not build the files correctly.
Trying to build gir-to-d 0.23.1 on an OpenMandriva Cooker system (ldc 1.33.0-beta2, glib 2.76.3, LLVM 16.0.4) results in