Skip to content

Conversation

@cuiziwei1
Copy link
Contributor

Summary

Impact

build libcxx with cmake.

Testing

ci-test

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
@github-actions github-actions bot added Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small labels Dec 2, 2024
@acassis
Copy link
Contributor

acassis commented Dec 2, 2024

@cuiziwei1 why is it failing?

Configuration/Tool: smartl-c906/knsh
2024-12-02 11:42:34
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
common/riscv_exit.c: In function 'up_exit':
Error: common/riscv_exit.c:65:33: error: 'tcb' undeclared (first use in this function); did you mean 'tcb_s'?
   65 |   g_running_tasks[this_cpu()] = tcb;
      |                                 ^~~
      |                                 tcb_s
common/riscv_exit.c:65:33: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:144: riscv_exit.o] Error 1
make[1]: Target 'libkarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:59: arch/risc-v/src/libkarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  Normalize smartl-c906/knsh

@xiaoxiang781216
Copy link
Contributor

@cuiziwei1 why is it failing?

Configuration/Tool: smartl-c906/knsh
2024-12-02 11:42:34
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Building NuttX...
common/riscv_exit.c: In function 'up_exit':
Error: common/riscv_exit.c:65:33: error: 'tcb' undeclared (first use in this function); did you mean 'tcb_s'?
   65 |   g_running_tasks[this_cpu()] = tcb;
      |                                 ^~~
      |                                 tcb_s
common/riscv_exit.c:65:33: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:144: riscv_exit.o] Error 1
make[1]: Target 'libkarch.a' not remade because of errors.
make: *** [tools/LibTargets.mk:59: arch/risc-v/src/libkarch.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  Normalize smartl-c906/knsh

Here is the fix: #15014

@xiaoxiang781216 xiaoxiang781216 merged commit 7bc4671 into apache:master Dec 2, 2024
12 of 27 checks passed
@cuiziwei1 cuiziwei1 deleted the rm_flag branch December 3, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: OS Components OS Components issues Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants