Skip to content

[BUG] macOS: sim/note and sim/nsh fail to build #15776

Open
@simbit18

Description

@simbit18

Description / Steps to reproduce the issue

macOS sim/note and sim/nsh fails to build with this Error:

====================================================================================
Configuration/Tool: sim/note
2025-02-06 11:39:20
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
ld: unknown option: --wrap
make[1]: *** [nuttx] Error 1
make: *** [nuttx] Error 2
make: Target `all' not remade because of errors.
/Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/tools/testbuild.sh: line 385: /Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  [1/1] Normalize sim/note
====================================================================================
Configuration/Tool: sim/nsh
2025-02-06 11:41:27
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
ld: library not found for -lgcov
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [nuttx] Error 1
make: *** [nuttx] Error 2
make: Target `all' not remade because of errors.
/Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/tools/testbuild.sh: line 385: /Users/runner/work/nuttx_test_pr/nuttx_test_pr/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  [1/1] Normalize sim/nsh
====================================================================================

https://github.com/simbit18/nuttx_test_pr/actions/runs/13176605326/job/36777402793#logs

On which OS does this issue occur?

[OS: Mac]

What is the version of your OS?

GitHub Actions

NuttX Version

master

Issue Architecture

[Arch: simulator]

Issue Area

[Area: Build System]

Host information

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: simulatorIssues related to the SIMulatorArea: Build systemOS: MacIssues related to MacOS (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