[Hackage] #318: Library cannnot be used when registered
in-place on OS X
Hackage
trac at galois.com
Fri Jun 5 19:55:02 EDT 2009
#318: Library cannnot be used when registered in-place on OS X
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: Cabal-1.8
Component: Cabal library | Version: 1.4.0.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.3 | Platform: Mac OS
----------------------------+-----------------------------------------------
Comment (by guest):
Oh and this only happens if the duplicate file name is spread over several
invocations. If we do this:
{{{
AR="/usr/bin/ar -q -s -c"
echo 'void f() { }' > a.c
gcc -c a.c
cp a.o b.o
rm a.a
$AR a.a a.o b.o b.o
$AR a.a a.o
ar -s a.a
ar -t a.a
}}}
then we'll end up with a.a containing one copy of {{{a.o}}} and two copies
of {{{b.o}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/318#comment:13>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list