Ticket #2274 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

ghc assumes sizeof (void *) != 32 on X86_64

Reported by: ion Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.8.2
Keywords: 64 configure 32 Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

My provider has a 32-bit debian installed on a 64-bit architecture, ghc 8.2 cannot be compiled there (from 'uname -m' the bootstrapping assumes a 64 bit target architecture, while later a configure test will find 'sizof (void *)' is 4: this leads to compilation errors with CPP conditional compilation.

Change History

Changed 5 years ago by simonmar

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to duplicate

this is the same issue as #1717

The workaround is to use linux32 ./configure.

Note: See TracTickets for help on using tickets.