xiph / xiph/opus

Compiling libopus 1.5.1 with Linux fails on ARM Cortex-A53 and Cortex-A55

Open
#323 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.3k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

I encountered the problem with GCC, in function silk_NSQ_del_dec_neon and silk/arm/NSQ_del_dec_neon_intr which invokes undefined behavior [-Waggressive-loop-optimizations], the errors occurred with Raspberry Pi Zero for Cortex-A53 and Raxda Rock 3 model C for Cortex-A55.

I have not found any problems in RV64 (with StarFive VisionFive 2), with recent Macs and PCs.

I leave you my compliments for the results obtained with encapsulation in ISOBMFF, which seems to work everywhere, now Opus is in my opinion the best choice for the online distribution of spoken content at low bitrate. Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the libopus 1.5.1 Linux build with GCC on Cortex-A53 and Cortex-A55, then inspect silk_NSQ_del_dec_neon and silk/arm/NSQ_del_dec_neon_intr for the reported -Waggressive-loop-optimizations diagnostics. Done means the affected ARM builds compile without the reported failure while the existing behavior remains intact; compare with the working RV64, Mac, and PC builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.