fix issue 19510 - random and spurious error about a missing NOLOGO.d file#9142
Conversation
|
Thanks for your pull request and interest in making D better, @bbasile! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "stable + dmd#9142" |
thewilsonator
left a comment
There was a problem hiding this comment.
Can you do a test for this?
|
I'll try to fix the issue in a first place. |
|
I don't know how to test this (because of the random nature of the bug) but I'm super confident about what was the problem and that the fix is good. |
|
Please squash the commits. |
|
ready for merge. |
|
Thank you for solving this nasty bug |
|
your're welcome @andre2007, it was a typical "C" bug. |
There was a missing strlen on a static array that caused random things. One of them is that replaceName failed and the linker name was set to dmd filename, causing dmd to be called with the linker arguments.