Re: Huge number of "undefined reference to" errors

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
On 06/09/2012 10:44, Erik de Castro Lopo wrote:
> Hi all,
>
> I'm compiling GHC HEAD on powerpc-linux and have been for some time. Just
> yesterday I started getting a build error I had not seen before. I am getting
> hundreds of errors like:
>
>      /home/erikd/Git/ghc-upstream-git/libraries/ghc-prim/dist-install/build/
>          libHSghc-prim-0.3.0.0.a(Classes.o): In function `saeS_info':
>      (.text+0x291b6): undefined reference to `codD_info'
>      /home/erikd/Git/ghc-upstream-git/libraries/ghc-prim/dist-install/build/
>          libHSghc-prim-0.3.0.0.a(Classes.o): In function `saeS_info':
>      (.text+0x291ba): undefined reference to `codD_info'
>      /home/erikd/Git/ghc-upstream-git/libraries/ghc-prim/dist-install/build/
>          libHSghc-prim-0.3.0.0.a(Classes.o): In function `saeS_info':
>      (.text+0x291ea): undefined reference to `codE_info'
>
> Anyone have any idea what is causing this or how I can fix it? I'm not
> seeing the same problem on x86-86.

There was a problem with -split-objs during the last few days that could 
cause this, I pushed the fix for it yesterday.

Cheers,
	Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.