|
Re: build of GHCi 5.04.3 fails to work (libgcc.a): msg#00088lang.haskell.glasgow.bugs
On Mon, Mar 31, 2003 at 03:08:04PM +0100, Simon Marlow wrote: > Ok, I've done that. I'd be interested to know if GHCi on the HEAD > now works for people with this problem. I'll give it a spin. > > If you call the linker through gcc, I would expect it to > > automatically add libgcc.a when necessary, unless told not to. I > > assume you have your reasons for linking the way you do, however. > > Yes, the problem is our dynamic linker which can only get access to > (a) symbols it knows about from objects it loaded and (b) symbols > from other dynamic libraries. These libgcc symbols are statically > linked, so they need to be listed explicitly in the linker's symbol > table. This is kind of an ugly wart, but there doesn't seem to be > an easy way around it. So my question is: why aren't HSBase_cbits.o, etc., _statically_ linked with libgcc? Then you wouldn't have to worry at all about this, right? -- Aaron Denney -><-
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: build of GHCi 5.04.3 fails to work (libgcc.a), Simon Marlow |
|---|---|
| Next by Date: | Re: build of GHCi 5.04.3 fails to work (libgcc.a), Aaron Denney |
| Previous by Thread: | RE: build of GHCi 5.04.3 fails to work (libgcc.a), Simon Marlow |
| Next by Thread: | RE: build of GHCi 5.04.3 fails to work (libgcc.a), Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |