[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Jonathan Wakely --- Fixed for 7.5, 8.4, and 9.2
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Mon Sep 2 11:09:55 2019 New Revision: 275308 URL: https://gcc.gnu.org/viewcvs?rev=275308=gcc=rev Log: PR libstdc++/90770 fix missing src/debug/Makefile Backport from mainline 2019-06-07 Jonathan Wakely PR libstdc++/90770 * src/Makefile.am (stamp-debug): Also test for missing makefile. * src/Makefile.in: Regenerate. Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/src/Makefile.am branches/gcc-7-branch/libstdc++-v3/src/Makefile.in
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #8 from Jonathan Wakely --- Author: redi Date: Fri Aug 30 13:50:01 2019 New Revision: 275172 URL: https://gcc.gnu.org/viewcvs?rev=275172=gcc=rev Log: PR libstdc++/90770 fix missing src/debug/Makefile Backport from mainline 2019-06-07 Jonathan Wakely PR libstdc++/90770 * src/Makefile.am (stamp-debug): Also test for missing makefile. * src/Makefile.in: Regenerate. Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/src/Makefile.am branches/gcc-8-branch/libstdc++-v3/src/Makefile.in
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Thu Jun 20 14:17:57 2019 New Revision: 272509 URL: https://gcc.gnu.org/viewcvs?rev=272509=gcc=rev Log: Skip libstdc++ debug build in early bootstrap stages As mentioned in PR 90770, this is a patch that Debian have been carrying for some time. The additional unoptimized copies of libstdc++ libs that get built during each stage are never going to be used, so don't bother building them. For a profiled bootstrap this means we won't train the compiler on the unoptimized library code with assertions enabled, but that doesn't seem like a big problem, as the same code has already been compiled once for the main libstdc++ library. * acinclude.m4 (GLIBCXX_ENABLE_DEBUG): Only do debug build for final stage of bootstrap. * configure: Regenerate. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/acinclude.m4 trunk/libstdc++-v3/configure
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Fri Jun 14 18:10:57 2019 New Revision: 272299 URL: https://gcc.gnu.org/viewcvs?rev=272299=gcc=rev Log: PR libstdc++/90770 fix missing src/debug/Makefile Backport from mainline 2019-06-07 Jonathan Wakely PR libstdc++/90770 * src/Makefile.am (stamp-debug): Also test for missing makefile. * src/Makefile.in: Regenerate. Modified: branches/gcc-9-branch/libstdc++-v3/ChangeLog branches/gcc-9-branch/libstdc++-v3/src/Makefile.am branches/gcc-9-branch/libstdc++-v3/src/Makefile.in
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #5 from Tadeus Prastowo --- Created attachment 46466 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46466=edit Complete terminal output during the non-parallel build after applying the patchset I confirm that your patchset solves the build problem. Specifically, applying your patchset to the release tarball of GCC 9.1.0 (see https://gcc.gnu.org/ml/gcc/2019-05/msg00024.html) fails for the `ChangeLog' and `configure'. Nevertheless, the build is successful since I think the changes to those two files are not essential. Attached is the complete terminal output during the successful non-parallel build after successfully applying your patchset for the files `Makefile.am' and `Makefile.in'.
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #4 from Jonathan Wakely --- Fixed on trunk only for now.
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Fri Jun 7 19:57:19 2019 New Revision: 272050 URL: https://gcc.gnu.org/viewcvs?rev=272050=gcc=rev Log: PR libstdc++/90770 fix missing src/debug/Makefile PR libstdc++/90770 * configure: Regenerate. * src/Makefile.am (stamp-debug): Also test for missing makefile. * src/Makefile.in: Regenerate. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/configure trunk/libstdc++-v3/src/Makefile.am trunk/libstdc++-v3/src/Makefile.in
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #2 from Jonathan Wakely --- I think the problem is that the recursive clean targets doesn't remove the actual 'debug' directory, they just recurse into each sub-directory and remove the files in the directory. That makes the "if test ! -d ${debugdir}; then" test wrong.
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 --- Comment #1 from Jonathan Wakely --- The problem is that the src/debug directory exists, but has no Makefile. The recipe for the stamp-debug target only checks whether the directory exists, so does not create any Makefiles: if test ! -d /home/eus/buildzone/gcc-9-build/x86_64-linux-gnu/libstdc++-v3/src/debug; then \ mkdir -p /home/eus/buildzone/gcc-9-build/x86_64-linux-gnu/libstdc++-v3/src/debug; \ for d in c++98 c++11 c++17 filesystem; do mkdir -p /home/eus/buildzone/gcc-9-build/x86_64-linux-gnu/libstdc++-v3/src/debug/$d; done; \ (cd /home/eus/buildzone/gcc-9-build/x86_64-linux-gnu/libstdc++-v3/src/debug; \ sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \ -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \ -e 's/srcdir = \.\./srcdir = ..\/../' \ -e 's/VPATH = \.\./VPATH = ..\/../' \ -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \ -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \ < ../Makefile > Makefile ; \ for d in . c++98 c++11 c++17 filesystem; do \ sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \ -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \ -e 's/srcdir = \.\./srcdir = ..\/../' \ -e 's/VPATH = \.\./VPATH = ..\/../' \ -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \ -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \ < ../$d/Makefile > $d/Makefile ; \ done) ; \ fi; \ echo `date` > stamp-debug; I'm not yet sure where all the makefiles have gone. If the 'clean-local' target had been used it should have removed the directory.
[Bug libstdc++/90770] Building with --enable-libstdcxx-debug and make profiledbootstrap fails with mv: cannot stat 'Makefile': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90770 Jonathan Wakely changed: What|Removed |Added Keywords||build Status|UNCONFIRMED |NEW Last reconfirmed||2019-06-06 Ever confirmed|0 |1