https://issues.dlang.org/show_bug.cgi?id=14828
--- Comment #9 from Timothee Cour <[email protected]> --- (In reply to Martin Nowak from comment #8) > (In reply to Timothee Cour from comment #3) > > Is the root cause a symbol that should've been a weak symbol? > > ModuleInfos aren't weak symbols. > You didn't past the error message. Which ModuleInfo is duplicated? > I guess it's either foo2 or main. duplicate symbol _D4foo212__ModuleInfoZ in: out.o libproj6.a(foo2.o) ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) --
