On 12/20/2023 11:15 PM, Jeremy Baxter wrote: > Hi list, > > Supplying multiple sources at ldc's command line with ldc 1.35.0 > on -current amd64 fails with a SIGABRT and this message: > > module flag identifiers must be unique (or of 'require' type) > !"cf-protection-branch" > LLVM ERROR: Broken module found, compilation aborted! > > I can reproduce it by adding `import mod; void main() {}' in one file, > creating mod.d (leaving it empty), and running `ldc2 main.d mod.d'. > This also occurred on 7.4. Is this a known bug or just something on my side? > > -- Jeremy >
Can confirm. I'll look into it. For the time being, dmd doesn't have this issue. ~Brian