public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/53470] New: [4.8 LTO] ICE when linking with -g in splice_child_die, at dwarf2out.c:4264
@ 2012-05-24  9:43 vincenzo.innocente at cern dot ch
  2012-05-24  9:55 ` [Bug lto/53470] " rguenth at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2012-05-24  9:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53470

             Bug #: 53470
           Summary: [4.8 LTO] ICE when linking with -g in
                    splice_child_die, at dwarf2out.c:4264
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vincenzo.innocente@cern.ch


Created attachment 27487
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27487
real-life code preprocessed file

I encountered this while compiling with "-g" just few files in my project.
make propagated the "-g" to the linking step that included also object files
previously compiled without "-g".

The example below reproduces the error with just one file


c++ -flto -O2 -fPIC iceDebug.ii -shared -c -std=gnu++11 -msse3
[vocms123] /build/vin/newb/CMSSW_6_0_X_2012-05-14-1400 $ c++ -g -flto -O2 -fPIC
iceDebug.o -shared -o bha.so -std=gnu++11 -msse3
In file included from
/build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/checked_delete.hpp:51:0,
                 from :322:
/build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/smart_ptr/detail/sp_counted_impl.hpp:
In member function 'get_deleter':
/build/ge/new-binutils/a/slc5_amd64_gcc470/external/boost/1.49.0-cms3/include/boost/smart_ptr/detail/sp_counted_impl.hpp:84:5:
internal compiler error: in splice_child_die, at dwarf2out.c:4264
     }
     ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: c++ returned 1 exit status
/afs/cern.ch/user/i/innocent/w3/gcc47slc5/bin/ld: fatal error: lto-wrapper
failed
collect2: error: ld returned 1 exit status

happens in many other contexts, always at dwarf2out.c:4264

cc version 4.8.0 20120524 (experimental) [trunk revision 187822] (GCC) 
GNU gold (GNU Binutils 2.22.52.20120515) 1.11


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-02-19 20:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-24  9:43 [Bug lto/53470] New: [4.8 LTO] ICE when linking with -g in splice_child_die, at dwarf2out.c:4264 vincenzo.innocente at cern dot ch
2012-05-24  9:55 ` [Bug lto/53470] " rguenth at gcc dot gnu.org
2012-05-24 17:24 ` hjl.tools at gmail dot com
2012-05-25  7:52 ` vincenzo.innocente at cern dot ch
2012-05-25  8:37 ` markus at trippelsdorf dot de
2012-05-25 12:37 ` [Bug debug/53470] [4.8 Regression] " hjl.tools at gmail dot com
2012-05-29 10:46 ` rguenth at gcc dot gnu.org
2012-06-05 18:07 ` jason at gcc dot gnu.org
2012-06-06 11:56 ` rguenther at suse dot de
2012-06-06 15:27 ` jason at gcc dot gnu.org
2012-06-06 16:11 ` jason at gcc dot gnu.org
2012-06-11 12:38 ` rguenth at gcc dot gnu.org
2012-06-11 12:55 ` rguenth at gcc dot gnu.org
2012-06-11 13:37 ` jason at gcc dot gnu.org
2012-06-11 14:14 ` rguenth at gcc dot gnu.org
2012-06-11 14:16 ` rguenth at gcc dot gnu.org
2012-06-12  5:17 ` vincenzo.innocente at cern dot ch
2013-02-19 20:38 ` LpSolit at netscape dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).