https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100947
Bug ID: 100947 Summary: gthr-default.h Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: kclifford at tranaptic dot ca Target Milestone: --- I'm building gcc 11.1.0 with host=i686-w64-mingw32 build=x86_64-pc-cygwin for arm-eabi. When building g++, in gcc-11.1.0/libgcc/configure and gcc-11.1.0/\libstdc++-v3/configure no default is provided for thread_header. As a result the following line is logged: cp -pR /home/cross-gcc/11.1.0/gcc-11.1.0/libgcc/ gthr-default.h and later the build fails. In each of the configure files mentioned above I added: *) thread_header=gthr-single.h ;; to the "case $target_thread_file in" that sets thread_header.