|
[GHC] #706: GHC links _stub.o files regardless of whether any 'foreign impo: msg#00082lang.haskell.glasgow.bugs
#706: GHC links _stub.o files regardless of whether any 'foreign import' decls remain in a .hs file ---------------------------------+------------------------------------------ Reporter: ncalexan@xxxxxxx | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (FFI) | Version: 6.4.1 Severity: minor | Keywords: ffi, link Os: MacOS X | Difficulty: Unknown Architecture: powerpc | ---------------------------------+------------------------------------------ It appears GHC links any _stub.o files it can find, which is not correct (although usually it only leads to duplicate symbols.) To duplicate, have two modules A and B, and a foreign import in A. A_stub.o will be built as usual. Copy A_stub.o to B_stub.o, relink and have duplicate symbols. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/706> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: The make problem, Ian Lynagh |
|---|---|
| Next by Date: | Re: [GHC] #706: GHC links _stub.o files regardless of whether any 'foreign import' decls remain in a .hs file, GHC |
| Previous by Thread: | [GHC] #705: GHC SMP bug, crash on readChan/writeChan, GHC |
| Next by Thread: | Re: [GHC] #706: GHC links _stub.o files regardless of whether any 'foreign import' decls remain in a .hs file, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |