[PATCH, libstdc++] Fix missing gthr-default.h issue on libstdc++ configure

Pavel Chupin pavel.v.chupin@gmail.com
Fri Oct 5 14:32:00 GMT 2012


I can't configure libstdc++ separately. To reproduce:

mkdir BUILD
cd BUILD
../libstdc++-v3/configure

Error:
make: *** No rule to make target
`/users/pvchupin/android/toolchain/gcc/gcc-4.8/BUILD/../libgcc/gthr-default.h',
needed by `bits/gthr-default.h'.  Stop.

See fix attached.

Ok for trunk and 4.7?

2012-10-05  Pavel Chupin  <pavel.v.chupin@intel.com>

        Fix missing gthr-default.h issue on separate libstdc++ configure
        * libstdc++-v3/acinclude.m4: Define glibcxx_thread_h.
        * libstdc++-v3/include/Makefile.am: Use glibcxx_thread_h.
        * libstdc++-v3/Makefile.in: Regenerate.
        * libstdc++-v3/configure: Regenerate.
        * libstdc++-v3/doc/Makefile.in: Regenerate.
        * libstdc++-v3/include/Makefile.in: Regenerate.
        * libstdc++-v3/libsupc++/Makefile.in: Regenerate.
        * libstdc++-v3/po/Makefile.in: Regenerate.
        * libstdc++-v3/python/Makefile.in: Regenerate.
        * libstdc++-v3/src/Makefile.in: Regenerate.
        * libstdc++-v3/src/c++11/Makefile.in: Regenerate.
        * libstdc++-v3/src/c++98/Makefile.in: Regenerate.
        * libstdc++-v3/testsuite/Makefile.in: Regenerate.

-- 
Pavel Chupin
Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix-missing-gthr-default.h.patch
Type: application/octet-stream
Size: 10145 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20121005/1a28bd51/attachment.obj>


More information about the Libstdc++ mailing list