Rebuilding GHC on Mac OSX PPC

Simon Marlow simonmar at microsoft.com
Thu Jul 27 08:03:52 EDT 2006


On 27 July 2006 12:57, Joel Reymont wrote:

> On Jul 27, 2006, at 9:53 AM, Simon Marlow wrote:
> 
>> You need to use -r ghc-6-4-branch when checking out, sorry about
>> that. 
> 
> Ok, so I did  cvs co -r ghc-6-4-branch <ghc, hslibs, etc.>. My build
> failed after an hour.

You didn't mention this explicitly, so just to be clear: did you update
the root of your repository to the ghc-6-4-branch too?
 
> /usr/bin/ld: warning multiple definitions of symbol _UP
> /opt/local/lib/libreadline.5.dylib(terminal.so) definition of _UP
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib
> (lib_termcap.o) definition of _UP
> /usr/bin/ld: warning multiple definitions of symbol _BC
> /opt/local/lib/libreadline.5.dylib(terminal.so) definition of _BC
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib
> (lib_termcap.o) definition of _BC
> /usr/bin/ld: warning multiple definitions of symbol _PC
> /opt/local/lib/libreadline.5.dylib(terminal.so) definition of _PC
> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libncurses.dylib
> (lib_tputs.o) definition of _PC
> /usr/bin/ld: Undefined symbols:
> _allocateExec

I have no idea what might cause these.  What is your /opt/local/bin/ghc?

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list