[GHC] #10272: hsc2hs : directive let cannot be handled in cross-compilation mode

#10272: hsc2hs : directive let cannot be handled in cross-compilation mode -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: hsc2hs | Version: 7.11 Keywords: cross- | Operating System: Unknown/Multiple compiling | Type of failure: Building GHC Architecture: | failed Unknown/Multiple | Blocked By: Test Case: | Related Tickets: #10070 Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Attempting to cross-compile from linux to windows (after an in-progress fix to #10070) and ran into: {{{ libraries/haskeline/System/Console/Haskeline/Backend/Win32.hsc:170 directive let cannot be handled in cross-compilation mode }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10272 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10272: hsc2hs : directive let cannot be handled in cross-compilation mode -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: hsc2hs | Version: 7.11 Resolution: | Keywords: cross- Operating System: Unknown/Multiple | compiling Type of failure: Building GHC | Architecture: failed | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #10070 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by rwbarton): Well, it can't, but this should work fine instead. {{{ instance Storable Coord where sizeOf _ = (#size COORD) alignment _ = (#const offsetof(struct {char x__; COORD (y__); }, y__)) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10272#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10272: hsc2hs : directive let cannot be handled in cross-compilation mode -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: hsc2hs | Version: 7.11 Resolution: | Keywords: cross- | compiling Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: #10070 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * cc: RyanGlScott (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10272#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10272: hsc2hs : directive let cannot be handled in cross-compilation mode -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: hsc2hs | Version: 7.11 Resolution: | Keywords: cross- | compiling Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: #10070 | Differential Rev(s): Phab:D1436 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * differential: => Phab:D1436 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10272#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10272: hsc2hs : directive let cannot be handled in cross-compilation mode
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: erikd
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: hsc2hs | Version: 7.11
Resolution: | Keywords: cross-
| compiling
Operating System: Unknown/Multiple | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: #10070 | Differential Rev(s): Phab:D1436
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10272: hsc2hs : directive let cannot be handled in cross-compilation mode -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: hsc2hs | Version: 7.11 Resolution: fixed | Keywords: cross- | compiling Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: hsc2hs/T10272 Blocked By: | Blocking: Related Tickets: #10070 | Differential Rev(s): Phab:D1436 Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * testcase: => hsc2hs/T10272 * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10272#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC