PowerDNS 4.6.0 fails to build with GCC12
It's not possible to build PowerDNS 4.6.0 with GCC12. Fedora 36 /rawhide
Buildlogs: https://mstevens.fedorapeople.org/results_pdns/4.6.0/1.fc36/build.log Environment: https://mstevens.fedorapeople.org/results_pdns/4.6.0/1.fc36/root.log
Best regards,
Morten
Would you mind trying with https://github.com/PowerDNS/pdns/pull/11233 applied? That's the only actual error in that log, as far as I can tell.
@rgacogne
Thank you. It's building fine with patch #11233
But there are still many build warnings with GCC12. it would be great if you could take a look.
It looks like https://github.com/PowerDNS/pdns/pull/11197 would cover many of those. Perhaps we should backport it?
That might be a good idea indeed! As for the is used uninitialized ones, I took a quick look a few days ago and I'm afraid I don't really understand what the compiler is complaining about..
Backport in #11235
Building seems to work, and the uninitialised warnings are maybe https://github.com/boostorg/function/issues/27 ?
Fixed since!