Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6377049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:49:18+00:00 2026-05-25T01:49:18+00:00

I am compiling an NDK project using APP_ABI=armeabi to target ARMv5 cpu. I have

  • 0

I am compiling an NDK project using APP_ABI=armeabi to target ARMv5 cpu. I have code that deals with floating points, and when running on a low-end HTC Wildfire ARMv6 device, I see that I get a crash with SIGILL.

Disassembling the binary shows that it crashes exactly here

4397a8:       ed9f7b18        vldr    d7, [pc, #96]

Why is the NDK generating fp instruction when I specified APP_ABI=armeabi, isn’t is supposed to be eabi calls, not explicitly neon code? To troubleshoot I even added this to the mk file:

LOCAL_CFLAGS := -mfloat-abi=softfp -msoft-float -mfpu=vfp

Yet it still generates the binary code above. What parameter should I specify to make sure my float instructions actually generate soft code? Or, is this device just completely broken? Here’s the CPU info:

>adb shell getprop | grep abi
[ro.product.cpu.abi]: [armeabi]

>adb shell cat /proc/cpuinfo
Processor       : ARMv6-compatible processor rev 2 (v6l)
BogoMIPS        : 244.94
Features        : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x1
CPU part        : 0xb36
CPU revision    : 2

Hardware        : buzz
Revision        : 0081
Serial          : 0000000000000000
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:49:19+00:00Added an answer on May 25, 2026 at 1:49 am

    Please run ndk-build -B V=1 command and post the output. Otherwise we can’t see real compiler flags used during the compilation.

    Any way, -mfloat-abi=softfp flag means hardware floating point. To force software emulation you should use -mfloat-abi=soft option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While compiling the c++ code using android NDK I am getting the following error:
Compiling the same code on two different machines. We have int functions that are
After compiling a simple C++ project using Visual Studio 2008 on vista, everything runs
Compiling this code using g++ 4.2.1: struct S { }; template<typename T> struct ST
I'm having a problem with compiling a .cpp file using the ndk-build tool (Windows
I'm having trouble using bool as a type compiling with ndk-build: bool test =
When compiling the following C code with ndk-build in Terminal (I'm running Ubuntu): #include
I have some image processing Java code in Android that acts upon two large
Compiling FluidSynth 1.1.1 from source. I have unresolved external symbol with glib, using Visual
Compiling my project on new xcode4 using llvm 2.0 compiler I get a strange

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.