From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15125 invoked by alias); 6 Dec 2013 16:57:53 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15095 invoked by uid 48); 6 Dec 2013 16:57:50 -0000 From: "nheghathivhistha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/58251] -flto causes ICE lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706 Date: Fri, 06 Dec 2013 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: nheghathivhistha at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-12/txt/msg00530.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58251 --- Comment #8 from David Kredba --- Thank you Richard. This fails as before: kig-4.11.4_build # /usr/bin/x86_64-pc-linux-gnu-g++ -save-temps -fPIC -O2 -= ggdb -pipe -march=3Dnative -mtune=3Dnative -flto=3D4 -fuse-linker-plugin=20 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -W= all -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=3Dgnu -Wl,--sort-common -O2 -ggdb -pipe -march=3Dnative -mtune=3Dnative -flto=3D4 -fuse-linker-plugin -r -o lib/kigpart.so CMakeFiles/kigpart.dir/scripting/python_scripter.o -nostdlib x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specifi= ed x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specifi= ed [Leaving LTRANS /tmp/cce03m0F.args] [Leaving LTRANS kigpart.so.ltrans.out] x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specifi= ed x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specifi= ed x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specifi= ed x86_64-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specifi= ed lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706 I have ii file but it won't compile this way: /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -ggdb -pipe -march=3Dnative -mtune=3Dnative -flto=3D4 -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-co= mmon -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc=20 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=3Dgnu -Wl,--sort-common -O2 -ggdb = -pipe -march=3Dnative -mtune=3Dnative -flto=3D4 -fuse-linker-plugin -o lib/kigpar= t.so ./python_scripter.ii -r -nostdlib In file included from /usr/include/qt4/QtCore/qvariant.h:50:0, from /usr/include/qt4/QtCore/QVariant:1, from /usr/include/kconfig.h:32, from /usr/include/ksharedconfig.h:25, from /usr/include/klocale.h:26, from /var/tmp/portage/kde-base/kig-4.11.4/work/kig-4.11.4/scripting/../objects/c= ommon.h:27, from /var/tmp/portage/kde-base/kig-4.11.4/work/kig-4.11.4/scripting/python_scrip= ter.h:21, from /var/tmp/portage/kde-base/kig-4.11.4/work/kig-4.11.4/scripting/python_scrip= ter.cc:24: /usr/include/qt4/QtCore/qhash.h: In member function =E2=80=98void QHashData::hasShrunk()=E2=80=99: /usr/include/qt4/QtCore/qhash.h:175:39: error: exception handling disabled,= use -fexceptions to enable } QT_CATCH(const std::bad_alloc &) { I removed -fno-exceptions -DQT_NO_EXCEPTIONS and it compiles and crashes as before :-). /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -ggdb -pipe -march=3Dnative -mtune=3Dnative -flto=3D4 -fuse-linker-plugin -Wnon-virtual-dtor -Wno-long= -long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=3Dgnu -Wl,--sort-common -O2 -ggdb -pipe -march=3Dnative -mtune=3Dnative -flto=3D4 -fuse-linker-plugin -o lib/kigpart.so ./python_scripter.ii -r -nostdliblto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706 Going to attach ii file gzipped. What can I do next please? Thank you. Using built-in specs. COLLECT_GCC=3D/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/gcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.8.2/work/gcc-4.8.2/config= ure --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++= -v4 --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --enable-multilib --with-multilib-list=3Dm32,m64 --disable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/python --enable-checking=3Drelease --disable-libgcj --enable-libstdcxx-time --enable-languages=3Dc,c++,fortran --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-targets=3Dall --with-bugurl=3Dhttp://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 4.8.2 p= 1.0' Thread model: posix gcc version 4.8.2 (Gentoo 4.8.2 p1.0) >>From gcc-bugs-return-436874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Dec 06 16:57:12 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 14385 invoked by alias); 6 Dec 2013 16:57:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 14324 invoked by uid 48); 6 Dec 2013 16:57:08 -0000 From: "dvyukov at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/59410] Some tsan tests fail with 4GB RAM Date: Fri, 06 Dec 2013 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dvyukov at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-12/txt/msg00529.txt.bz2 Content-length: 350 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410 --- Comment #13 from Dmitry Vyukov --- And what if you enable randomization? > Have any attempt for saner tsan shadow memory mapping be done in the last year? No, there were no such attempts. But, yes, it would be nice if tsan supports no-ASRL/no-PIE/COMPAT mappings.