Andreas Klebinger pushed to branch wip/andreask/linker_fix at Glasgow Haskell Compiler / GHC Commits: 63a67b8f by Andreas Klebinger at 2026-01-29T20:27:16+01:00 wibbles - - - - - 1 changed file: - rts/linker/MachO.c Changes: ===================================== rts/linker/MachO.c ===================================== @@ -175,7 +175,7 @@ resolveImports( int ocAllocateExtras_MachO(ObjectCode* oc) { - IF_DEBUG(linker, DEBUG_LOG_ALWAYS("ocAllocateExtras_MachO: start\n")); + IF_DEBUG(linker, DEBUG_LOG("ocAllocateExtras_MachO: start\n")); if (NULL != oc->info->symCmd) { IF_DEBUG(linker, @@ -200,7 +200,7 @@ int ocVerifyImage_MachO(ObjectCode * oc) { char *image = (char*) oc->image; - if (oc->fileSize < sizeof(MachOHeader)) { + if (oc->fileSize < (int) sizeof(MachOHeader)) { errorBelch("Tried loading machO smaller than header size.\n"); return 0; } View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/63a67b8fac35cc4be5519fb16f5f9f75... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/63a67b8fac35cc4be5519fb16f5f9f75... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Andreas Klebinger (@AndreasK)