|
RE: Fail to compile 5.04.3 on Solaris: msg#00039lang.haskell.glasgow.bugs
> On Tue, 15 Apr 2003, Simon Marlow wrote: > > > > No. And bootstrapping with 5.04.3 also gave a > segmentation fault. I've > > > attached a printout of what happens when I restart the > > > compilation with > > > EXTRA_HC_OPTS=-v. As before, Handle compiles fine when I > restart the > > > compilation. > > > > Ah, it actually looks like the linker crashed. On Sun > boxes, I usually > > find that using the GNU linker gives much better results: > it's orders of > > magnitude faster, for one thing. > > > Ah, yes. I've had problems with the linker before. It would > be REALLY nice > if configure could find the GNU linker instead. Or it should > at least be > possible to specify one's own linker a la --with-ln=<linker>. > Could you > make this happen? Puhlease? For a GHC build, you can add 'LD = gld' to build.mk. But GHC uses gcc for linking normal programs, so you probably also want to rebuild gcc with support for using the GNU linker. Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: PackedString.hGetPS produces index exception, Sigbjorn Finne |
|---|---|
| Next by Date: | RE: PackedString.hGetPS produces index exception, Simon Marlow |
| Previous by Thread: | RE: Fail to compile 5.04.3 on Solaris, Josef Svenningsson |
| Next by Thread: | [ ghc-Bugs-721511 ] Non-exhaustive patterns in ParseMonad.hs, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |