I'm seeing the following compile error when building Skia with the
NEON-optimised functions enabled:
In file included from
/home/george/dev/mozilla-central/gfx/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp:28:
/home/george/dev/mozilla-central/gfx/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h:
In function 'void ClampX_ClampY_filter_persp_neon_neon(const
SkBitmapProcState&, uint32_t*, int, int, int)':
/home/george/dev/mozilla-central/gfx/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h:888:
internal compiler error: in change_address_1, at emit-rtl.c:1954
Please submit a full bug report,
with preprocessed source if appropriate.
See <
http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:4493: Error: cannot represent <unknown> relocation in
this object file format
{standard input}:4497: Error: cannot represent <unknown> relocation in
this object file format
{standard input}:4502: Error: cannot represent <unknown> relocation in
this object file format
The full compiler command being executed is:
/home/george/dev/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++
-o SkBitmapProcState_matrixProcs_neon.o -c -fvisibility=hidden
-DSK_A32_SHIFT=24 -DSK_R32_SHIFT=16 -DSK_G32_SHIFT=8 -DSK_B32_SHIFT=0
-DUSE_SKIA -DSK_BUILD_FOR_ANDROID_NDK -DMOZILLA_INTERNAL_API
-D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX
-D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES
-DSTATIC_EXPORTABLE_JS_API
-I/home/george/dev/mozilla-central/gfx/skia/include/core
-I/home/george/dev/mozilla-central/gfx/skia/include/config
-I/home/george/dev/mozilla-central/gfx/skia/include/gpu
-I/home/george/dev/mozilla-central/gfx/skia/include/pipe
-I/home/george/dev/mozilla-central/gfx/skia/include/ports
-I/home/george/dev/mozilla-central/gfx/skia/include/images
-I/home/george/dev/mozilla-central/gfx/skia/include/utils
-I/home/george/dev/mozilla-central/gfx/skia/include/utils/mac
-I/home/george/dev/mozilla-central/gfx/skia/include/utils/win
-I/home/george/dev/mozilla-central/gfx/skia/include/views
-I/home/george/dev/mozilla-central/gfx/skia/include/effects
-I/home/george/dev/mozilla-central/gfx/skia/src/core
-I/home/george/dev/mozilla-central/gfx/skia/src/image
-I/home/george/dev/mozilla-central/gfx/skia/src/gpu
-I/home/george/dev/mozilla-central/gfx/skia/src/utils
-I/home/george/dev/mozilla-central/gfx/skia/src/sfnt
-I/home/george/dev/mozilla-central/gfx/skia -I. -I../../dist/include
-I/home/george/dev/mozilla-central/obj-android/dist/include/nspr
-I/home/george/dev/mozilla-central/obj-android/dist/include/nss -fPIC
-isystem
/home/george/dev/android-ndk-r5c/platforms/android-5/arch-arm/usr/include -Wall
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits
-Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings
-Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -mandroid
-fno-short-enums -fno-exceptions -Wno-psabi -march=armv7-a -mthumb
-mfpu=vfp -mfloat-abi=softfp
-I/home/george/dev/mozilla-central/obj-android/build/stlport
-I/home/george/dev/android-ndk-r5c/sources/cxx-stl/stlport/stlport
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections
-fdata-sections -fno-exceptions -std=gnu++0x -pipe
-I/home/george/dev/mozilla-central/obj-android/dist/include/cairo
-I/home/george/dev/mozilla-central/modules/freetype2/include -DDEBUG
-D_DEBUG -DTRACING -g -funwind-tables -ffast-math -fomit-frame-pointer
-mfpu=neon -isystem
/home/george/dev/android-ndk-r5c/platforms/android-5/arch-arm/usr/include -DMOZILLA_CLIENT
-include ../../mozilla-config.h -MD -MF
.deps/SkBitmapProcState_matrixProcs_neon.o.pp
/home/george/dev/mozilla-central/gfx/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp
Has anyone seen something similar?
Thanks,
George