[GHC] #11817: Add proper support for weak symbols to the runtime linker

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: feature | Status: new request | Priority: normal | Milestone: 8.2.1 Component: Runtime | Version: 8.1 System (Linker) | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: #11223 Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Currently weak symbols support is only partially supported by the runtime linker. The current support is mostly there to provide `COMDAT` support. In #11223 this support has been extended but there is still some work needed to finish weak symbols support. Also there needs some investigation into how this support should look like. E.g. are we only supporting linking weak symbols in C or do we want to support it in Haskell as well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11223 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Phyx-): Some test have already been defined in `testsuite\tests\rts\T11223\all.T` but they may need to be modified slightly. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/linking/T3333, | rts/T11223/T11223_weak* Blocked By: | Blocking: Related Tickets: #11223, #3333 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * testcase: => ghci/linking/T3333, rts/T11223/T11223_weak* * related: #11223 => #11223, #3333 Comment: Previous discussion in #3333. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/linking/T3333, | rts/T11223/T11223_weak* Blocked By: | Blocking: Related Tickets: #11223, #3333 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by chetant): * cc: chetant@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/linking/T3333, | rts/T11223/T11223_weak* Blocked By: | Blocking: Related Tickets: #11223, #3333 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by nh2): * cc: nh2 (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/linking/T3333, | rts/T11223/T11223_weak* Blocked By: | Blocking: Related Tickets: #11223, #3333 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): Did something happen here already? I can't remember. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11817: Add proper support for weak symbols to the runtime linker -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/linking/T3333, | rts/T11223/T11223_weak* Blocked By: | Blocking: Related Tickets: #11223, #3333 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * milestone: 8.2.1 => Comment: not since #11223 that I'm aware of. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11817#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC