Andrei Horodniceanu
Andrei Horodniceanu
Change the meaning of DMD_DIR from the path of the dmd repository, including the compiler and druntime, to the path of the compiler source. This becomes consistent with its usage...
Outside of the tests failures from https://github.com/ldc-developers/ldc/issues/4389, which seem to be gdb dependent, ldc fails some more tests. Two failures are in dmd-testsuite-debug, I'm not sure if these should be...
Reported upstream at: https://issues.dlang.org/show_bug.cgi?id=24406. ``` $ DFLAGS=-O dub test :lsp --compiler=dmd --build=unittest # # Running lsp/serve-d-lsp-test-library === Test SOF === 0 byte -> offset 0 0 byte -> position Position(0,...
Running `dub test` with `--build=plain` or specifying `$DFLAGS` leads to linking errors: ``` $ dub test --build=plain Linking serve-d-test-unittest /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /home/happy/.dub/cache/serve-d/~master/build/serve-d-test-unittest-plain-rocVMvrAD7Ih_R6i7neQJw/serve-d-test-unittest.o: in function `_D6served9extension14makeServerInfoFZSQBk3lsp8protocol10ServerInfo': /home/happy/d/dev/git/the-horo/dlang/serve-d/.dub/packages/silly/1.1.1/silly/silly.d:(.text._D6served9extension14makeServerInfoFZSQBk3lsp8protocol10ServerInfo[_D6served9extension14makeServerInfoFZSQBk3lsp8protocol10ServerInfo]+0x61): undefined reference to `_D6served4info7VersionyAi' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld:...
When invoking the compiler to calculate dependencies capture both stdout and stderr since gdc's verbose output goes to stderr.
The -m switch only makes sense on amd64 or x86. Making the flag optional allows running the tests on other architectures.
Compiling with recent versions of gdc results in errors: ``` DustMite/polyhash.d-mixin-289:293:13: error: ‘low’ must be surrounded by parentheses DustMite/polyhash.d-mixin-289:293:23: error: ‘high’ must be surrounded by parentheses DustMite/polyhash.d-mixin-289:294:12: error: ‘a’ must...
As requested in https://github.com/dlang-community/DCD/pull/774#issuecomment-2085362766 this PR adds a CI job that builds and tests DCD with gdc. Implementing this has shown some problems: 1. https://github.com/dlang-community/DCD/blob/27b1042959c4d1a27787cf502da14970ab821149/common/dub.sdl#L3 uses `-run` which is unsupported...
Remove the usage of `-run` which isn't supported by gdc and only pass `-verrors=0` to dmd and ldc2 since gdc doesn't support the flag and, by default, all errors are...