May 22, 2022
On Sunday, 22 May 2022 at 19:33:21 UTC, rikki cattermole wrote:

I should probably jump back to another thread, but maybe one more reply isn't too much off topic discussion...

> DMD and LDC would have produced the same set of issues, because its the same frontend.

Oh, the compile stage works okay (after building a custom gcc), its linking that's the problem now.
```
dub build --single my_prog.d  # Works
env LD_RUN_PATH=/usr/local/gcc12/lib64 DFLAGS="-Wno-deprecated" dub build --compiler=gdc-12 --single my_prog.d  # Fails with link errors.
```
An example link error is:
```
/usr/bin/ld: libvibe_core.a: in function `_D3std6format8internal5write__T8getWidthTAwZQnFNaNbNiNfQoZl':
args.d:(.text+0x657e): undefined reference to `_D3std9algorithm9searching__T3allSQBg6format8internal5write__T8getWidthTAwZQnFQgZ9__lambda2Z__TQCoTQBbZQCwMFNaNbNiNfQBsZb'
```
I've made sure libgphobos.so is in the LD_RUN_PATH above.

Since there's no substitute for end-to-end testing, a CI that weekly grabbed packages off of code.dlang.org and tried them with gdc would be handy.  Now that gdc-12 is out, it might be something to consider.  I know that it's the package provider's job, but a automated friendly nudge wouldn't hurt.

> Vibe.d is well tested against the frontend.
>
> Its part of dmd's test suite.
>
> See: https://buildkite.com/dlang/dmd/builds/26775
Thanks, that's handy.  Do you know where the equivalent test suite is for gdc?



May 23, 2022
On 23/05/2022 8:05 AM, Chris Piker wrote:
>> Vibe.d is well tested against the frontend.
>>
>> Its part of dmd's test suite.
>>
>> See: https://buildkite.com/dlang/dmd/builds/26775
> Thanks, that's handy.  Do you know where the equivalent test suite is for gdc?

No idea.

I've pinged Iain, because you are certainly at that point that is well past my knowledge of GDC. Not something I use, as it isn't exactly easy to use on Windows, plus LDC has some pretty awesome features.
May 22, 2022
On Sunday, 22 May 2022 at 20:11:12 UTC, rikki cattermole wrote:
>
> On 23/05/2022 8:05 AM, Chris Piker wrote:
>>> Vibe.d is well tested against the frontend.
>>>
>>> Its part of dmd's test suite.
>>>
>>> See: https://buildkite.com/dlang/dmd/builds/26775
>> Thanks, that's handy.  Do you know where the equivalent test suite is for gdc?
>
> No idea.
>
> I've pinged Iain, because you are certainly at that point that is well past my knowledge of GDC. Not something I use, as it isn't exactly easy to use on Windows, plus LDC has some pretty awesome features.

Hey thanks!  I bet LDC is pretty cool, have to look into it sometime.  For now at my site just introducing D is a bit radical, don't want to capsize the boat by leaving the gcc  toolchain altogether.  I'm willing to help out with GDC work were I can, at least by being a bleeding-edge tester if nothing else.
May 23, 2022
On 23/05/2022 8:22 AM, Chris Piker wrote:
> Hey thanks!  I bet LDC is pretty cool, have to look into it sometime.  For now at my site just introducing D is a bit radical, don't want to capsize the boat by leaving the gcc toolchain altogether.  I'm willing to help out with GDC work were I can, at least by being a bleeding-edge tester if nothing else.

Iain is usually pretty talkative, but right now he isn't.

Right now my list of things I want to talk to him at next BeerConf (the next will start at the end of this week roughly) that we are both at is LTS releases, and I'll see where he is at with testing. I know he has got a lot of test hardware for all the different targets.

He is in Germany, so if you are able to get on during his timezone you might catch him.
May 22, 2022

On Sunday, 22 May 2022 at 20:05:33 UTC, Chris Piker wrote:

>

On Sunday, 22 May 2022 at 19:33:21 UTC, rikki cattermole wrote:

I should probably jump back to another thread, but maybe one more reply isn't too much off topic discussion...

[...]

https://github.com/gcc-mirror/gcc/tree/master/gcc/testsuite

Look for folders starting with gdc.

There is no analogue for buildkite as per se.

1 2 3 4 5 6 7 8 9 10
Next ›   Last »