ylink
ylink copied to clipboard
comdat mismatches win32
Using ylink under win32 I keep getting comdat mismatch errors with symbols in phobos (https://github.com/yebblies/ylink/blob/master/symboltable.d#L84). I'm building dmd/phobos from git master.
I can get it to run properly by not throwing if either of the conflicting symbols is Comdat.Any, but I'm not sure what the standard behaviour is meant to be regarding multiple symbols if one of them is marked Unique (i.e. should the linker throw a multiple definition error even if the other symbol is marked Any?).
The real question is - why on earth is _D3std5stdio8__assertFiZv
(in the test I just did) coming out as Comdat.Unique
?