From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7686 invoked by alias); 2 Oct 2013 19:12:02 -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 7635 invoked by uid 48); 2 Oct 2013 19:11:57 -0000 From: "yannick.brosseau at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58595] New: internal compiler error: in gen_movsi when compiling on arm some files of lttng-tools with -fPIE Date: Wed, 02 Oct 2013 19:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yannick.brosseau at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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-10/txt/msg00116.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58595 Bug ID: 58595 Summary: internal compiler error: in gen_movsi when compiling on arm some files of lttng-tools with -fPIE Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: yannick.brosseau at gmail dot com Created attachment 30947 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D30947&action=3Dedit Preprocessed problematic file main.i When I try to compile the attached file on arm, I get this error messaage: main.c: In function =E2=80=98thread_manage_kernel=E2=80=99: main.c:886:1: internal compiler error: in gen_movsi, at config/arm/arm.md:5= 539 } I compile with: gcc -fPIE -O2 -c main.i if I remove -fPIE, it compiles correctly.=20 Using gcc 3.8.1 on fedora.=20 Target: armv7hl-redhat-linux-gnueabi Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugz= illa --enable-bootstrap --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=3Dgnu --enable-languages=3Dc,c++,objc,obj-c++,java,fortran,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=3Dgtk --disable-dssi --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=3D/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-isl=3D/builddir/build/BUILD/gcc-4.8.1-20130603/obj-armv7hl-redhat-li= nux-gnueabi/isl-install --with-cloog=3D/builddir/build/BUILD/gcc-4.8.1-20130603/obj-armv7hl-redhat-= linux-gnueabi/cloog-install --disable-sjlj-exceptions --with-cpu=3Dcortex-a8 --with-tune=3Dcortex-a8 --with-arch=3Darmv7-a --with-float=3Dhard --with-fpu=3Dvfpv3-d16 --with-abi=3Daapcs-linux --build=3Darmv7hl-redhat-linux-gnueabi Thread model: posix gcc version 4.8.1 20130603 (Red Hat 4.8.1-1) (GCC)=20 I've put some info on the lttng tracker: http://bugs.lttng.org/issues/640 Also reproduced with gcc 4.7.2 (Arch Linux) Target: armv6l-unknown-linux-gnueabihf Configured with: /build/src/gcc-4.7.2/configure --prefix=3D/usr --libdir=3D= /usr/lib --libexecdir=3D/usr/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/in= fo --with-bugurl=3Dhttps://bugs.archlinux.org/ --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++ --enable-shared --enable-threads=3Dposix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=3Dgnu --disable-libstdcxx-p= ch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=3Disl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=3Ddefa= ult --enable-plugin --with-plugin-ld=3Dld.gold --with-linker-hash-style=3Dgnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=3Drelease --host=3Darmv6l-unknown-linux-gnueabihf --build=3Darmv6l-unknown-linux-gnue= abihf --with-arch=3Darmv6 --with-float=3Dhard --with-fpu=3Dvfp Thread model: posix >>From gcc-bugs-return-430973-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 02 19:23:51 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18075 invoked by alias); 2 Oct 2013 19:23:51 -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 18041 invoked by uid 48); 2 Oct 2013 19:23:49 -0000 From: "mikpelinux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/58509] [4.9 regression] ICE in calc_dfs_tree, at dominance.c:397 during Ada runtime build Date: Wed, 02 Oct 2013 19:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: mikpelinux at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 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-10/txt/msg00117.txt.bz2 Content-length: 191 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58509 --- Comment #4 from Mikael Pettersson --- Eric's patch fixes this bootstrap problem for me on sparc64-linux.