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: unassig...@gcc.gnu.org

        ReportedBy: ibenrun...@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 <http://gcc.gnu.org/bugs.html> 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.

Reply via email to