[build, v3] Return gthr-posix.h to libgcc (PR bootstrap/50982)
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Mon Nov 7 16:39:00 GMT 2011
The gthr move to libgcc broke bootstrap on AIX in libstdc++:
gthr-default.h is gthr-aix.h, which included config/gthr-posix.h. This
works fine for the original files in libgcc, but the modified copy of
gthr-default.h in libstc++-v3/include/<target>/bits couldn't find
config/gthr-posix.h. The easiest solution was to return gthr-posix.h to
libgcc, as it had been in my original patch.
Bootstrapped without regressions on i386-pc-solaris2.{8, 11} and
sparc-sun-solaris2.{8, 11} and by David on AIX.
Approved by Paolo in the PR, installed on mainline.
Rainer
2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
libgcc:
PR bootstrap/50982
* config/gthr-posix.h: Move ...
* gthr-posix.h: ... here.
* config/gthr-lynx.h: Reflect this.
* config/gthr-vxworks.h: Likewise.
* config/rs6000/gthr-aix.h: Likewise.
* configure.ac (target_thread_file): Likewise.
* configure: Regenerate.
libstdc++-v3:
PR bootstrap/50982
* include/Makefile.am (${host_builddir}/gthr-posix.h): Reflect
gthr-posix.h move.
* include/Makefile.in: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcc-gthr-posix.patch
Type: text/x-patch
Size: 3520 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111107/6ec5fd2a/attachment.bin>
-------------- next part --------------
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Libstdc++
mailing list