This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/torch/__init__.py", line 235, in <module> from torch._C import * # noqa: F403 ImportError: /usr/local/lib/python3.9/site-packages/torch/lib/libtorch_cpu.so: Undefined symbol "__assert_fail" ninja: build stopped: subcommand failed. Full log: https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-10_07h48m13s/logs/errors/dgl-1.1.1.log
Fixed by https://cgit.freebsd.org/ports/commit/?id=b5ab8514ee9cd88c944d92d6a45b5d4caab3af2a . And the port does not depend directly on GCC, so this error has probably nothing to do with GCC_DEFAULT update.