[GHC] #16159: plugin-recomp-change fails on Windows

GHC ghc-devs at haskell.org
Wed Jan 9 16:33:10 UTC 2019


#16159: plugin-recomp-change fails on Windows
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 `plugin-recomp-flags` fails for similar reasons:
 {{{
 cd "plugins/plugin-recomp-flags.run" && $MAKE -s --no-print-directory -C
 plugin-recomp package.plugins01
 TOP=/c/GitLabRunner/builds/78d7d3f9/0/ghc/ghc/testsuite
 cd "plugins/plugin-recomp-flags.run" && $MAKE -s --no-print-directory
 plugin-recomp-flags
 Wrong exit code for plugin-recomp-flags()(expected 0 , actual 2 )
 Stdout ( plugin-recomp-flags ):
 [1 of 1] Compiling Main             ( plugin-recomp-test.hs, plugin-
 recomp-test.o )
 Linking plugin-recomp-test.exe ...
 Stderr ( plugin-recomp-flags ):
 Simple Plugin Passes Queried
 Got options: 0
 Simple Plugin Pass Run
 C://GitLabRunner//builds//78d7d3f9//0//ghc//ghc//inplace//mingw//bin/ld.exe:
 cannot find -lHSplugin-recompilation-0.1-7bwXt6gOi6GLkV25gq6uB8
 collect2.exe: error: ld returned 1 exit status
 `gcc.exe' failed in phase `Linker'. (Exit code: 1)
 make[2]: *** [Makefile:104: plugin-recomp-flags] Error 1
 *** unexpected failure for plugin-recomp-flags(normal)
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16159#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list