[GHC] #14504: Nofib is broken on Windows

#14504: Nofib is broken on Windows
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: NoFib | Version: 8.2.1
benchmark suite |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
It seems like nofib is currently broken on Windows. Specifically, it fails
for me with
{{{
...
/home/ben/ghc/inplace/bin/ghc-stage2 -M -dep-suffix "" -dep-makefile
.depend -osuf o -O2 -Rghc-timing -H32m -hisuf hi -rtsopts
-XBangPatterns -O2 Main.hs
<

#14504: Nofib is broken on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: NoFib benchmark | Version: 8.2.1 suite | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * os: Unknown/Multiple => Windows -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14504#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14504: Nofib is broken on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: NoFib benchmark | Version: 8.2.1 suite | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Phyx-): It's broken because `ghc --info` doesn't expand `$topdir` as one would expect it to. {{{
ghc --info [("Project name","The Glorious Glasgow Haskell Compilation System") ,("GCC extra via C opts"," -fwrapv") ,("C compiler command","$topdir/../mingw/bin/gcc.exe") ,("C compiler flags"," -fno-stack-protector") ,("C compiler link flags","") ,("Haskell CPP command","$topdir/../mingw/bin/gcc.exe") ,("Haskell CPP flags","-E -undef -traditional ") ,("ld command","$topdir/../mingw/bin/ld.exe") }}}
It used work only by accident because of my earlier bug which emitted hard-coded paths in the settings file. Looks like the bug here is that GHC doesn't report something useful for `--info`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14504#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14504: Nofib is broken on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.4.1 Component: NoFib benchmark | Version: 8.2.1 suite | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4222 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D4222 Comment: This should be addressed by Phab:D4222. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14504#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14504: Nofib is broken on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.4.1 Component: NoFib benchmark | Version: 8.2.1 suite | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4222 Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Merged in 599243e73384e1b74a07f175b2d7324778a0f79c. Still need to test. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14504#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14504: Nofib is broken on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: NoFib benchmark | Version: 8.2.1 suite | Resolution: fixed | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4222 Wiki Page: | -------------------------------------+------------------------------------- Changes (by AndreasK): * status: patch => closed * resolution: => fixed Comment: Works with HEAD. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14504#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC