Recent visibility changes break ability to build GCC on head
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Oct 2026 17:36:41 UTC
The recent commit
commit d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab
Author: Faraz Vahedi <kfv@FreeBSD.org>
AuthorDate: Sat Jun 20 01:20:20 2026 +0330
Commit: Faraz Vahedi <kfv@FreeBSD.org>
CommitDate: Thu Aug 13 20:08:49 2026 +0330
libc: Implement qualifier-preserving standard library functions
breaks the ability to bootstrap gcc on FreeBSD. Bootstrap
dies due to libiberty not seeing that FreeBSD has memrchr.
It appears that the /usr/ports/lang/gcc16 maintainer is aware of
the issue and works around the problem with a patch to
gcc/include/libiberty.h.
I've reported the issue the GCC project, and it has been suggested
that autoconf should handle this case. At moment, I have no clue
how to update gcc so it actually bootstraps.