D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 16151 - duplicate symbol _D4core4sync5mutex5Mutex12MonitorProxy6__initZ in:
Summary: duplicate symbol _D4core4sync5mutex5Mutex12MonitorProxy6__initZ in:
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Mac OS X
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 01:01 UTC by Timothee Cour
Modified: 2016-07-27 07:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Timothee Cour 2016-06-10 01:01:47 UTC
this regression is hard to minimize but I'm getting with DMD64 D Compiler v2.071.0 (dmd from homebrew)

duplicate symbol _D4core4sync5mutex5Mutex12MonitorProxy6__initZ in:
    /tmp/.rdmd-501/rdmd-project_run.d-XXX/z01.o
    ~/homebrew/lib//libphobos2.a(mutex_39c_213.o)
ld: 1 duplicate symbol for architecture x86_64

which corresponds to:
core.sync.mutex.Mutex.MonitorProxy.__init

this was after an invocation of rdmd (ie of dmd...)
Comment 1 Timothee Cour 2016-06-10 01:19:18 UTC
seems fixed in 2.071.1.b2
Comment 2 Walter Bright 2016-07-27 07:47:45 UTC
I'm not going to worry about it if it appears to be working.