[Bug other/119250] GCC configure fails to find the declaration of basename() on hosts that need <libgen.h>

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 12 20:25:17 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119250

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #4)
> Does anyone know why libiberty doe not install the build-time config file
> and have libiberty.h include it?

That feels undesirable because it will clash with config.h of all the projects
using it.
Instead I'd say gcc should use the same configure test as libiberty if it
relies on libiberty to provide the fallback.


More information about the Gcc-bugs mailing list