This problem still exist on Linux with v2.012.
Again, the small example sieve.d works fine; but bigger programs won't link.
Since this bug has been around for a while, raise the priority.
Comment #5 by someanon — 2008-03-14T16:31:11Z
And error msg:
/project/dmd/bin/../lib/libphobos2.a(gc.o):(.data+0x30): multiple definition of `_D3std2gc12__ModuleInfoZ'
/project/dmd/bin/../lib/libphobos2.a(gc.o):(.data+0x0):first defined here
‘_D3std1c4time12__ModuleInfoZ’undefined
more undefined references to `_D3std1c6stdlib12__ModuleInfoZ' follow
Comment #6 by someanon — 2008-03-14T16:35:06Z
I checked the library:
$ nm ../dmd/lib/libphobos2.a | grep _D3std1c4time12__ModuleInfoZ
$ nm ../dmd/lib/libphobos2.a | grep _D3std1c6stdlib12__ModuleInfoZ
$ nm ../dmd/lib/libphobos2.a | grep _D3std2gc12__ModuleInfoZ
00000000 D _D3std2gc12__ModuleInfoZ
00000030 D _D3std2gc12__ModuleInfoZ
U _D3std2gc12__ModuleInfoZ
Comment #7 by david — 2009-09-10T06:01:02Z
I don't encounter the problem with v2.032 on Linux.
Comment #8 by andrej.mitrovich — 2013-01-22T11:08:24Z
Status of this? Close with WORKSFORME if it's fixed.