https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047
--- Comment #16 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 60552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60552&action=edit emacs.log.xz So far, not got anywhere with attempting to copy our packaging into a script. I've attached a build log from building Emacs from git (just ./autogen.sh && ./configure && make V=1 -j$(nproc) -l$(nproc)) using Gentoo's GCC in case you can spot some difference with your own. I'm going to see if I can reproduce in a Docker container using Gentoo's GCC and go from there.