Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that building this port with GCC 12 on i386 and amd64 fails. The error message is the following: g++12 -DHAVE_CONFIG_H -I. -I.. -DVALUE=DOUBLE -DIVALUE=ILONG -DTRAPOVERFLOWS=1 -DTOGGLESYSCALL=1 -DUSE_UTF8=1 -isystem /usr/local/include -O3 -pipe -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -MT ised-ised.o -MD -MP -MF .deps/ised-ised.Tpo -c -o ised-ised.o `test -f 'ised.cpp' || echo './'`ised.cpp In file included from ised.cpp:20: vm.h:78:3: error: 'clock_t' does not name a type 78 | clock_t start_time; | ^~~~~~~ vm.h:24:1: note: 'clock_t' is defined in header '<ctime>'; did you forget to '#include <ctime>'? 23 | #include "unroll.h" +++ |+#include <ctime> 24 | *** [ised-ised.o] Error code 1 Please see also the log in the URL field. This URL might be useful to solve the issue: http://gcc.gnu.org/gcc-12/porting_to.html .
^Triage: Reporter is committer, assign accordingly.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=85bb25bf0b5468a44b483108898afbb857d895d6 commit 85bb25bf0b5468a44b483108898afbb857d895d6 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-09-03 19:44:39 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-09-03 20:15:13 +0000 math/ised: Drop USE_GCC Moreover, - Fix build with GCC 12 [1]. - Take maintainership. PR: 266194 [1] Reported by: exp-run (antoine) math/ised/Makefile | 6 ++---- math/ised/files/patch-src_vm.h (new) | 10 ++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-)
Fixed.