Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Build failure with SkBitmapProcState_matrixProcs_ neon.cpp
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
George Wright  
View profile  
 More options Oct 3 2012, 2:00 pm
From: George Wright <geo...@mozilla.com>
Date: Wed, 03 Oct 2012 13:59:45 -0400
Local: Wed, Oct 3 2012 1:59 pm
Subject: Build failure with SkBitmapProcState_matrixProcs_neon.cpp
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_matrix Procs_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/pre built/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_matrix Procs_neon.cpp

Has anyone seen something similar?

Thanks,

George


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Sollenberger  
View profile  
 More options Oct 4 2012, 8:45 am
From: Derek Sollenberger <djsol...@google.com>
Date: Thu, 4 Oct 2012 08:45:40 -0400
Local: Thurs, Oct 4 2012 8:45 am
Subject: Re: Build failure with SkBitmapProcState_matrixProcs_neon.cpp

I haven't seen this before, but the command you provided does have -mfpu
defined 2x which could be causing issues.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
George Wright  
View profile  
 More options Oct 4 2012, 9:51 am
From: George Wright <geo...@mozilla.com>
Date: Thu, 04 Oct 2012 09:51:21 -0400
Local: Thurs, Oct 4 2012 9:51 am
Subject: Re: Build failure with SkBitmapProcState_matrixProcs_neon.cpp
On 10/04/2012 08:45 AM, Derek Sollenberger wrote:

> I haven't seen this before, but the command you provided does have
> -mfpu defined 2x which could be causing issues.

It seems to be a compiler bug. I managed to work around it by adding
-ftree-ter to the command line. In the case of having mfpu defined
twice, I believe it just takes the right-most definition and ignores the
earlier ones (I hope!).

Should I file a bug for this?

Thanks,

George


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Reed  
View profile  
 More options Oct 4 2012, 11:22 am
From: Mike Reed <r...@google.com>
Date: Thu, 4 Oct 2012 11:21:48 -0400
Local: Thurs, Oct 4 2012 11:21 am
Subject: Re: Build failure with SkBitmapProcState_matrixProcs_neon.cpp
Sounds like it, esp. if we can get our tool-chain here to repro the problem.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »