Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,861
    • Issues 4,861
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 457
    • Merge requests 457
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21049
Closed
Open
Created Feb 06, 2022 by Torrekie Gen@Torrekie

ghc-pkg: memory allocation failed (requested 274878955520 bytes)

Summary

All GHC binaries suffering an issue that allocating invalid size of memory on jailbroken iOS with following error

memory allocation failed (requested 274878955520 bytes)

Steps to reproduce

compile GHC with both host and target aarch64-apple-ios

Expected behavior

No memory allocation issue should occur

Environment

  • GHC version used: 9.2.1

Optional:

  • Operating System: iOS 14.3 (Darwin Kernel Version 20.2.0: Fri Nov 13 01:00:15 PST 2020; xnu-7195.62.1~4/RELEASE_ARM64_T8015)
  • System Architecture: arm64/arm64e
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking