emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: Please check if scratch/igc builds with native compilation


From: Helmut Eller
Subject: Re: MPS: Please check if scratch/igc builds with native compilation
Date: Wed, 22 May 2024 10:18:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

> I'm throwing the towel now wrt to native compilation + MPS on macOS. It
> fails here both on arm64 and x86_64 on macOS 14. It's a long story what
> all I tried to debug this, let's me just say I suspect, with the highest
> probability among all the possibilited, a bug in MPS, without me being
> able to point to it. Gut feeling. Anyway - it was an experiment.

I have small change to MPS because gcc complained about an uninitialized
variable.  But I doubt it has much effect:

diff --git a/code/arenavm.c b/code/arenavm.c
index 50708e956..1a789b959 100644
--- a/code/arenavm.c
+++ b/code/arenavm.c
@@ -600,7 +600,7 @@ static Res VMArenaCreate(Arena *arenaReturn, ArgList args)
   VM vm = &vmStruct;
   Chunk chunk;
   mps_arg_s arg;
-  char vmParams[VMParamSize];
+  char vmParams[VMParamSize] = { 0 };
 
   AVER(arenaReturn != NULL);
   AVERT(ArgList, args);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]