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

Re: perl_5.32.0~rc1-1 FTBFS on m68k (experimental)



Hi Laurent!

On 6/19/20 11:33 AM, Laurent Vivier wrote:
> 
> Can't you move "opslab_slots" before "# ifdef PERL_DEBUG_READONLY_OPS"?

I just tried this variant, it also crashes:

diff --git a/op.h b/op.h
index fc21f03cda..69f74843bf 100644
--- a/op.h
+++ b/op.h
@@ -711,10 +711,12 @@ struct opslab {
     U16         opslab_free_space;     /* space available in this slab
                                            for allocating new ops (in ptr
                                            units) */
+    OPSLOT     opslab_slots;           /* slots begin here */
 # ifdef PERL_DEBUG_READONLY_OPS
     bool       opslab_readonly;
+    U8          _padding[3];
 # endif
-    OPSLOT     opslab_slots;           /* slots begin here */
+
 };
 
 # define OPSLOT_HEADER         STRUCT_OFFSET(OPSLOT, opslot_op)

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: