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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to David Kredba from comment #6)
> I "reduced" it to this:
> 
> /usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -ggdb -pipe -march=native
> -mtune=native -flto=4 -fuse-linker-plugin  -Wnon-virtual-dtor -Wno-long-long
> -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
> -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new
> -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden
> -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc 
> -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -O2 -ggdb
> -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin -shared
> -Wl,-soname,kigpart.so -o lib/kigpart.so
> CMakeFiles/kigpart.dir/scripting/python_scripter.o -L/usr/lib64/qt4
> /usr/lib64/libkparts.so.4.11.4 /usr/lib64/libkutils.so.4.11.4 -lpython2.7
> /usr/lib64/libboost_python-2.7-mt.so /usr/lib64/libktexteditor.so.4.11.4
> /usr/lib64/libkemoticons.so.4.11.4 /usr/lib64/libkidletime.so.4.11.4
> /usr/lib64/libkcmutils.so.4.11.4 /usr/lib64/libkprintutils.so.4.11.4
> /usr/lib64/libkparts.so.4.11.4 /usr/lib64/libkio.so.5.11.4
> /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so
> /usr/lib64/libnepomukutils.so.4.11.4 /usr/lib64/libnepomuk.so.4.11.4
> /usr/lib64/libkdeui.so.5.11.4 /usr/lib64/qt4/libQtGui.so
> /usr/lib64/qt4/libQtSvg.so -lsoprano /usr/lib64/libkdecore.so.5.11.4
> /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtDBus.so
> -Wl,-rpath,/usr/lib64/qt4: -nostdlib
> lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706
> 
> All othe object files removed not let the ICE away. When python_scripter.o
> removed and other object files present on link command it did this:

Good, if you now remove the -Wl,--no-undefined switch you should be able
to remove all shared library inputs as well (fingers crossing).

For the remaining object file inputs (AFAIK only python_scripter.o?) please
attach preprocessed source from the compile-stage.  The bug should then
be reproducible by exchanging python_scripter.o for python_scripter.ii
on the command-line and thus make the bug reproducible with just that
file.

Thanks,
Richard.

Reply via email to