From: Jonathan Wakely Date: Wed, 18 Apr 2018 12:14:58 +0000 (+0100) Subject: PR libstdc++/85442 fix duplicate debuginfo for cxx11-ios_failure.cc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05b14480611a6791e11f8f5811ca291e79ddbb46;p=gcc.git PR libstdc++/85442 fix duplicate debuginfo for cxx11-ios_failure.cc 2018-04-18 Jonathan Wakely Jakub Jelinek PR libstdc++/85442 * src/c++11/Makefile.am: Don't generate debuginfo again for cxx11-ios_failure-lt.s and cxx11-ios_failure.s files. * src/c++11/Makefile.in: Regenerate. Co-Authored-By: Jakub Jelinek From-SVN: r259467 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fb3abb90268..6c0fe7e57bc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2018-04-18 Jonathan Wakely + Jakub Jelinek + + PR libstdc++/85442 + * src/c++11/Makefile.am: Don't generate debuginfo again for + cxx11-ios_failure-lt.s and cxx11-ios_failure.s files. + * src/c++11/Makefile.in: Regenerate. + 2018-04-18 Jonathan Wakely PR libstdc++/84442 diff --git a/libstdc++-v3/src/c++11/Makefile.am b/libstdc++-v3/src/c++11/Makefile.am index cdc49bb7f9b..91bf6f8d642 100644 --- a/libstdc++-v3/src/c++11/Makefile.am +++ b/libstdc++-v3/src/c++11/Makefile.am @@ -141,9 +141,9 @@ cxx11-ios_failure.s: cxx11-ios_failure.cc -rm -f tmp-$@ cxx11-ios_failure.lo: cxx11-ios_failure-lt.s - $(LTCXXCOMPILE) -c $< -o $@ + $(LTCXXCOMPILE) -g0 -c $< -o $@ cxx11-ios_failure.o: cxx11-ios_failure.s - $(CXXCOMPILE) -c $< + $(CXXCOMPILE) -g0 -c $< endif # AM_CXXFLAGS needs to be in each subdirectory so that it can be diff --git a/libstdc++-v3/src/c++11/Makefile.in b/libstdc++-v3/src/c++11/Makefile.in index dd103ec4060..977f1ab441d 100644 --- a/libstdc++-v3/src/c++11/Makefile.in +++ b/libstdc++-v3/src/c++11/Makefile.in @@ -763,9 +763,9 @@ hashtable_c++0x.o: hashtable_c++0x.cc @ENABLE_DUAL_ABI_TRUE@ -rm -f tmp-$@ @ENABLE_DUAL_ABI_TRUE@cxx11-ios_failure.lo: cxx11-ios_failure-lt.s -@ENABLE_DUAL_ABI_TRUE@ $(LTCXXCOMPILE) -c $< -o $@ +@ENABLE_DUAL_ABI_TRUE@ $(LTCXXCOMPILE) -g0 -c $< -o $@ @ENABLE_DUAL_ABI_TRUE@cxx11-ios_failure.o: cxx11-ios_failure.s -@ENABLE_DUAL_ABI_TRUE@ $(CXXCOMPILE) -c $< +@ENABLE_DUAL_ABI_TRUE@ $(CXXCOMPILE) -g0 -c $< # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded.