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

  • Home
  • SEARCH
  • 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 7186069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:33:15+00:00 2026-05-28T18:33:15+00:00

I encountered some compilation errors when trying to migrate latest ffmpeg to iOS platform.

  • 0

I encountered some compilation errors when trying to migrate latest ffmpeg to iOS platform.
Those errors came from the GNU assembler (gas), which seems unable to handle some asm instructions in the latest ffmpeg.

For example:

libavcodec/arm/dsputil_armv6.S:109:bad instruction 'ldr_post r4,r1,r2'

However, instruction ‘ldr_post’ is not found in previous version of ffmpeg (more specific, version 0.7).

My question is, what is the difference between ‘ldr_post’ and ‘ldr’? Can I change ‘ldr_post’ to the combination of a few simpler instructions, to avoid these compilation errors?

  • 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-28T18:33:17+00:00Added an answer on May 28, 2026 at 6:33 pm

    From asm.S:

    .macro  ldr_post        rt,  rn,  rm:vararg
    A       ldr             \rt, [\rn], \rm
    T       ldr             \rt, [\rn]
    T       add             \rn, \rn, \rm
    .endm
    

    ‘A’ marks instructions emitted in ARM mode, ‘T’ in Thumb mode. So basically it’s equivalent to ldr r4, [r1], r2 but works both in ARM and Thumb modes (Thumb-1 doesn’t support the post-increment version so it has to be simulated with two instructions).

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

Sidebar

Related Questions

I've encountered some errors when I tried to install an artifact manually with Maven
Trying to get comfortable with jQuery and I have encountered some sample code that
I encountered some issues with using foreach %dopar% when loading objects from disk into
I've encountered some problems trying to use X-Forwarded-For Log Filter for Windows Servers. I've
When trying to solve this problem , I encountered some articles, etc. referring to
I encountered some code reading typedef enum eEnum { c1, c2 } tagEnum; typedef
I encountered some curious behavior today and was wondering if it is expected or
I'm working on a semantic web project and I've encountered some problems about Uri
I'm making a bookmarklet, but I've encountered some wierd behaviour in IE8. The code
I've encountered lately some opinions saying that Object Oriented design/programming should not always be

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.