[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

slyfox at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 27 23:00:26 GMT 2022


--- Comment #6 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
Also found a closely related jit build failure, but there <pthread.h> is used

Proposed the change to move <pthread.h> before poisoning step as:

More information about the Gcc-bugs mailing list