[GHC] #8292: linker_unload test doesn't work on Windows

#8292: linker_unload test doesn't work on Windows ------------------------------------+---------------------------------- Reporter: ezyang | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.7 Keywords: | Operating System: Windows Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: linker_unload Blocked By: | Blocking: Related Tickets: | ------------------------------------+---------------------------------- I fixed up the major issues but I am getting: {{{ "/c/Users/ezyang/Dev/ghc-dyn/inplace/bin/ghc-stage2.exe" -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -c Test.hs -v0 # -rtsopts causes a warning "/c/Users/ezyang/Dev/ghc-dyn/inplace/bin/ghc-stage2.exe" -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db linker_unload.c -o linker_unload -no-hs-main -optc-Werror ./linker_unload \Users\ezyang\Dev\ghc-dyn\libraries\base\dist- install\build/libHSbase-4.7.0.0.a \Users\ezyang\Dev\ghc-dyn\libraries\ghc-prim\dist-install\build/libHSghc- prim-0.3.1.0.a \Users \ezyang\Dev\ghc-dyn\libraries\integer-gmp\dist-install\build/libHSinteger- gmp-0.5.1.0.a linker_unload.exe: \Users\ezyang\Dev\ghc-dyn\libraries\base\dist- install\build/libHSbase-4.7.0. 0.a: unknown symbol `_select' }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8292 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8292: linker_unload test doesn't work on Windows ----------------------------------+------------------------------------ Reporter: ezyang | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: linker_unload | Blocked By: Blocking: | Related Tickets: ----------------------------------+------------------------------------ Comment (by simonmar): I'm afraid I can't help here - it looks like select might need to be added to RTS_MINGW_ONLY_SYMBOLS, but why for this test and not when GHCi loads the base package? Is there something else we need to load on Windows? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8292#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8292: linker_unload test doesn't work on Windows ----------------------------------+------------------------------------ Reporter: ezyang | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: linker_unload | Blocked By: Blocking: | Related Tickets: ----------------------------------+------------------------------------ Comment (by ezyang): That would be my guess. Is there a more "proper" way to get the dependencies you need? I guess that functionality is usually implemented in Haskell-land. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8292#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8292: linker_unload test doesn't work on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | linker_unload | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonmar): I think this might now work on Windows, but someone needs to check: rGHC6108d95a73f93d486223064ad72bf6bedc116cbd -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8292#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8292: linker_unload test doesn't work on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | linker_unload | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by ezyang): * owner: simonmar => ezyang Comment: It does work now! I'll push a commit marking this as passing when I can. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8292#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8292: linker_unload test doesn't work on Windows
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: ezyang
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 7.7
Resolution: | Keywords:
Operating System: Windows | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | linker_unload
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Edward Z. Yang

#8292: linker_unload test doesn't work on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: ezyang Type: bug | Status: closed Priority: normal | Milestone: Component: Test Suite | Version: 7.7 Resolution: fixed | Keywords: Operating System: Windows | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | linker_unload | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by ezyang): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8292#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC