Control: forwarded -1 https://bugs.openldap.org/show_bug.cgi?id=9841 Control: tags - moreinfo
Hi Ryan, On Wed, May 04, 2022 at 05:47:12PM -0700, Ryan Tandy wrote: > Has this been reported upstream yet? I searched and didn't find this > specific issue, but it looks like upstream have fixed at least two other > musl-specific issues recently [ITS#9648, ITS#9650]. Both are unrelated to the issue I reported. > Before applying a patch for this in Debian, I'd at least like to know > whether and how upstream intend to address the issue. I'd rather not take a > patch if it has no future upstream. The more I see about this issue, the more I am convinced that this is actually two bugs, not just one. 1. musl should not declare a calloc in <sched.h>. Beyond breaking openldap, this also causes issues with libgccjit[citation needed]. 2. openldap should not #define calloc before #including system headers. Fixing either of these fixes the issue I reported. At this point, I recommend fixing both. I've just created a matching report at https://bugs.openldap.org/show_bug.cgi?id=9841. Hope this works out. Helmut