Skip to content

[BUG] profile: compilation fails ("cannot honor width suffix") #16655

@sumpfralle

Description

@sumpfralle

Description / Steps to reproduce the issue

  1. enable profiling:
    CONFIG_FRAME_POINTER=y
    CONFIG_PROFILE_ALL=y
    CONFIG_PROFILE_MINI=y
    
  2. see compilation failing:
    CC:  dirent/lib_alphasort.c mcount.S: Assembler messages:
    mcount.S:33: Error: cannot honor width suffix -- `bic r1,lr,#1'
    mcount.S:35: Error: cannot honor width suffix -- `bic r0,r0,#1'
    mcount.S:37: Error: cannot honor width suffix -- `pop {r0,r1,r2,r3,ip,lr}'
    make[3]: *** [Makefile:151: bin/mcount.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[2]: *** [tools/LibTargets.mk:196: libs/libc/libc.a] Error 2
    

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Debian Trixie

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Debugging]

Host information

nuttx-host-info.txt

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: DebuggingDebugging issuesOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions