Hi, On 2024-04-06 14:17, Sebastiaan Couwenberg wrote: > On 4/6/24 1:29 PM, Aurelien Jarno wrote: > > On 2024-04-06 08:01, Sebastiaan Couwenberg wrote: > > > On 4/5/24 9:51 PM, Aurelien Jarno wrote: > > > > For Bookworm given we can not fix the compiler easily, I propose to just > > > > build icinga2 with -O1 on ppc64el. If you are fine with that option, I > > > > can take care of proposing a patch and submitting it to the stable > > > > release team. > > > > > > A patch for this is very welcome. How do you propose to implement that? > > > Something like this maybe? > > > > > > --- a/debian/rules > > > +++ b/debian/rules > > > @@ -9,6 +9,11 @@ include /usr/share/dpkg/architecture.mk > > > > > > export CTEST_OUTPUT_ON_FAILURE=1 > > > > > > +ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el)) > > > + export DEB_CXXFLAGS_STRIP = -O2 > > > + export DEB_CXXFLAGS_MAINT_APPEND = -O1 > > > +endif > > > + > > > ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc)) > > > export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic > > > -Wl,--as-needed > > > endif > > > > Yes, something like that works. I even tested without the > > DEB_CXXFLAGS_STRIP, gcc is smart enough to just take the last flag, so > > -O1. > > > > Also it seems that your diff applies to the Trixie/Sid version, while it > > should be applied to Bookworm instead. > > Correct, I did not actually prepare a bookworm branch as you offered to take > care of that. > > Since it's not that much work, I did that now: > > > https://salsa.debian.org/nagios-team/icinga2/-/commits/bookworm?ref_type=heads > > If you can confirm that those changes fix the issue, I can also fix the > bookworm-pu bugreport, or you can do that if you want.
Thanks a lot for preparing that. I have just tested it and I confirm it fixes the problem, icinga2 is working nicely with this change. As the maintainer, I would be happy if you send the bookworm-pu bugreport, but in case you lack time or for other reasons, do not hesitate to ask it, and I will do it. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net
signature.asc
Description: PGP signature