From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20213 invoked by alias); 16 Nov 2012 03:44:03 -0000 Received: (qmail 20088 invoked by uid 48); 16 Nov 2012 03:43:48 -0000 From: "ibenrunnin at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/55349] New: arm-linux-androideabi-gcc-4.6: Internal compiler error compiling libpng in debug mode Date: Fri, 16 Nov 2012 03:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibenrunnin 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-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-11/txt/msg01469.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55349 Bug #: 55349 Summary: arm-linux-androideabi-gcc-4.6: Internal compiler error compiling libpng in debug mode Classification: Unclassified Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: ibenrunnin@gmail.com Firstly: ndk-build doesn't give output of which version of gcc it is using but looking in the toolchains folder I checked the version number of what I believe it is running: arm-linux-androideabi-gcc-4.6 (GCC) 4.6 20120106 (prerelease) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here is information regarding the issue, which should be enough to reproduce the problem: Please describe the problem in detail, with the following information (if applicable) Host OS:Linux NDK tools version: tested with android-ndk-r8b and android-ndk-r8c STEPS TO REPRODUCE: (Tested using android-ndk-r8b and android-ndk-r8c, libpng 1.2.38 and 1.5.13) 1.Setup simple NDK dev environment with libpng 1.5.13 2.run NDK_DEBUG=1 ndk-build 3.build will fail EXPECTED RESULTS: For libpng to compile successfully (which it does when NDK_DEBUG is set to 0) OBSERVED RESULTS: Compile thumb : png <= pngrtran.c jni/png/pngrtran.c: In function 'png_do_rgb_to_gray': jni/png/pngrtran.c:3418:1: internal compiler error: in reload, at reload1.c:1061 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [obj/local/armeabi/objs-debug/png/pngrtran.o] Error 1 ^It is therefore reasonable to conclude that this is a bug within NDK or perhaps the version of GCC it is using.