[Bug libstdc++/85442] [8 Regression] cxx11-ios_failure.lo build fails for microblaze

2018-04-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442

Richard Biener  changed:

   What|Removed |Added

   Keywords||build
   Priority|P3  |P1
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-04-18
   Target Milestone|--- |8.0
 Ever confirmed|0   |1

[Bug libstdc++/85442] [8 Regression] cxx11-ios_failure.lo build fails for microblaze

2018-04-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442

--- Comment #2 from Jakub Jelinek  ---
Can be reproduced even on x86_64-linux with
CXXFLAGS='-g -O2 -D_GNU_SOURCE -gno-as-loc-support'
cxx11-ios_failure-lt.s: Assembler messages:
cxx11-ios_failure-lt.s: Fatal error: duplicate .debug_line sections
make: *** [Makefile:766: cxx11-ios_failure.lo] Error 1

Otherwise it just creates duplicate debug info.

[Bug libstdc++/85442] [8 Regression] cxx11-ios_failure.lo build fails for microblaze

2018-04-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek  ---
Created attachment 43969
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43969=edit
gcc8-pr85442.patch

Perhaps we want to assemble with -g0, because either the .s file already
contains debug info from the compiler and then we don't want to add one from
the assembler, or the user doesn't want debug info at all.

Completely untested though.