I recently built perl 5.32.1 with -DDEBUGGING

You built that -DDEBUGGING perl yourself ??
I took one look at the "config_args" as reported in the "perl -V" output you provided in your original post and decided that this must be a perl provided by FreeBSD Ports.
When I build perl on FreeBSD 12.0, I specify Configure args of "-des -Duse64bitall -Dprefix=/home/me/perl-5.x.y", and that's all.
If I wanted a DEBUG perl then I'd just be adding the "-DDEBUGGING" flag to the list I used. (It's a while since I've built a -DDEBUGGING perl, so correct me if there are other flags that need to be added.)

Try building your perl with a trimmed back list of configure args (like the list that I use) and see if that makes a difference.

How did you actually build and install DateTime-1.54 from source ? (Seeing the output from that process might be useful.)

Cheers,
Rob

In reply to Re^3: perl built with -DDEBUGGING causes "failed to extend arg stack" error with XS modules by syphilis
in thread perl built with -DDEBUGGING causes "failed to extend arg stack" error with XS modules by parv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.