Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Opus Opus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • OpusOpus
  • Issues
  • #2351
Closed
Open
Created Jan 12, 2021 by David Summers@summers

fixed point compile on armv5te architecture

Trying to compile fixed point on armv5te architecture, using opus 1.3.1. I configure with:

CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-march=armv5te -O2 -pipe -fstack-protector-strong -fno-plt" CXXFLAGS="-march=armv5te -O2 -pipe -fstack-protector-strong -fno-plt" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro" ./configure --prefix=/usr --disable-static --enable-custom-modes --enable-fixed-point --disable-silent-rules

The make fails with:

gcc -DHAVE_CONFIG_H -I. -I./include -I./celt -I./silk -I./silk/float -I./silk/fixed -D_FORTIFY_SOURCE=2 -march=armv5te -O2 -pipe -fstack-protector-strong -fno-plt -fvisibility=hidden -W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -MT celt/kiss_fft.lo -MD -MP -MF celt/.deps/kiss_fft.Tpo -c celt/kiss_fft.c  -fPIC -DPIC -o celt/.libs/kiss_fft.o
{standard input}: Assembler messages:
{standard input}:971: Error: first transfer register must be even -- `ldrd r9,r10,[r3,#-8]'
{standard input}:1148: Error: first transfer register must be even -- `ldrd r5,r6,[r1,fp]'

So looks like some faulty machine code for the armv5te architecture. Haven't yet worked out where this machine code is generated ...

Edited Jan 12, 2021 by David Summers
Assignee
Assign to
Time tracking