Hello, I am the port maintainer. It is a well known issue unfortunately. Just disable the LTO_BOOTSTRAP option and the build will succeed.
Cheers, Lorenzo Salvadore Sent from Proton Mail mobile -------- Messaggio originale -------- Il 12 Ago 2023, 15:33, Matthias Apitz ha scritto: > I'm building on 14-CURRENT with poudriere. The server in question is a Dell > R210 with 8x 3.30GHz CPU and 15.8 GB memory: Aug 11 19:03:21 jet kernel: CPU: > Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (3292.74-MHz K8-class CPU) Aug 11 > 19:03:21 jet kernel: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs Aug > 11 19:03:21 jet kernel: avail memory = 16582250496 (15814 MB) I have set swap > to 4GB + 10GB + 10GB: # swapctl -lh Device: Bytes Used: /dev/da0p3 4.0G 1.5G > /dev/md9 10G 1.5G /dev/md10 10G 1.5G and poudriere does use ZFS. Despite of > this relatively good equipped machine, lang/gcc12 can't be build. In > /var/log/messages after some 3 hours of compiling as a single(!) job in > poudriere: Aug 12 14:59:47 jet kernel: pid 57837 (lto1), jid 111, uid 65534, > was killed: a thread waited too long to allocate a page and the job fails in > poudriere with: ... xg++: fatal error: Killed signal terminated program lto1 > compilation terminated. lto-wrapper: fatal error: > /wrkdirs/usr/ports/lang/gcc12/work/.build/./prev-gcc/xg++ returned 1 exit > status compilation terminated. /usr/local/bin/ld: error: lto-wrapper failed > collect2: error: ld returned 1 exit status gmake[4]: *** > [/wrkdirs/usr/ports/lang/gcc12/work/gcc-12.2.0/gcc/cp/Make-lang.in:136: > cc1plus] Error 1 gmake[4]: *** Waiting for unfinished jobs.... What could I > do? matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub