darcs

Issue 71 Darcs-git does not work on Darwin

Title Darcs-git does not work on Darwin
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eschnett, jch, kowey, thorkilnaur, tommy
Assigned To
Topics Patch

Created on 2005-12-22.11:44:08 by eschnett, last changed 2009-08-27.13:46:51 by admin.

Messages
msg259 (view) Author: eschnett Date: 2005-12-22.11:44:08
I configured darcs stable (1.0.5) with --enable-git, and the linker aborts with 
many messages like

ld: multiple definitions of symbol ___stginit_Git_
Git.o definition of ___stginit_Git_ in section (__TEXT,__text)
git.o definition of ___stginit_Git_ in section (__TEXT,__text)

I notice that there are source files Git.lsh and git.c.  I also notice that my 
file system is case independent, which would map the corresponding object files 
Git.o and git.o to the same file.  This may cause this problem.
msg260 (view) Author: droundy Date: 2005-12-22.14:14:01
On Thu, Dec 22, 2005 at 11:44:08AM +0000, Erik Schnetter wrote:
> ld: multiple definitions of symbol ___stginit_Git_
> Git.o definition of ___stginit_Git_ in section (__TEXT,__text)
> git.o definition of ___stginit_Git_ in section (__TEXT,__text)
> 
> I notice that there are source files Git.lsh and git.c.  I also notice
> that my file system is case independent, which would map the
> corresponding object files Git.o and git.o to the same file.  This may
> cause this problem.

Sounds like a correct analysis to me.  So the solution presumably would be
to rename either git.c or Git.lhs (probably git.c) so they don't produce
object files having the same name (apart from case).
-- 
David Roundy
http://www.darcs.net
msg370 (view) Author: jch Date: 2006-01-13.22:17:58
This particular issue has been fixed in the unstable branch; however, it has not
been confirmed whether Darcs-Git now works on Darwin.

Feel free to reopen this bug if you find it doesn't.
msg526 (view) Author: tommy Date: 2006-02-28.23:59:46
fixed in 1.0.6
Thu Dec 22 12:53:18 CET 2005  Erik Schnetter <schnetter@cct.lsu.edu>
  * Rename git.c to gitlib.c
History
Date User Action Args
2005-12-22 11:44:08eschnettcreate
2005-12-22 14:14:02droundysetstatus: unread -> unknown
nosy: droundy, tommy, eschnett
messages: + msg260
2005-12-22 15:46:46droundysettopic: + Patch
nosy: droundy, tommy, eschnett
2006-01-13 22:17:59jchsetstatus: unknown -> resolved-in-unstable
nosy: + jch
messages: + msg370
2006-02-28 23:59:47tommysetstatus: resolved-in-unstable -> resolved
nosy: droundy, jch, tommy, eschnett
messages: + msg526
2009-08-06 17:46:19adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, jch, eschnett
2009-08-06 20:47:39adminsetnosy: - beschmi
2009-08-10 22:16:43adminsetnosy: + eschnett, jch, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:58:06adminsetnosy: + darcs-devel, - simon
2009-08-27 13:46:51adminsetnosy: jch, tommy, kowey, darcs-devel, eschnett, thorkilnaur, dmitry.kurochkin