Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/sim/src/nuttx-names.in: Add pipe2 #15226

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

yamt
Copy link
Contributor

@yamt yamt commented Dec 17, 2024

Summary

This breaks the libuv build without CONFIG_PIPES
as expected:

LD:  nuttx
/usr/bin/ld: nuttx.rel: in function `uv_pipe':
/src/apps/system/libuv/libuv/src/unix/pipe.c:516: undefined reference to `NXpipe2'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:427: nuttx] Error 1
make: *** [tools/Unix.mk:551: nuttx] Error 2

This exposes #14773 on linux.

Impact

Testing

build-tested on ubuntu, with and without apache/nuttx-apps#2893

@github-actions github-actions bot added Arch: simulator Issues related to the SIMulator Size: XS The size of the change in this PR is very small labels Dec 17, 2024
@xiaoxiang781216 xiaoxiang781216 linked an issue Dec 17, 2024 that may be closed by this pull request
1 task
@yamt
Copy link
Contributor Author

yamt commented Dec 17, 2024

the ci is expected to fail until apache/nuttx-apps#2893 is merged.

This breaks the libuv build without CONFIG_PIPES
as expected:

```
LD:  nuttx
/usr/bin/ld: nuttx.rel: in function `uv_pipe':
/src/apps/system/libuv/libuv/src/unix/pipe.c:516: undefined reference to `NXpipe2'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:427: nuttx] Error 1
make: *** [tools/Unix.mk:551: nuttx] Error 2
```

That is, this correctly exposes apache#14773
on linux.
@yamt
Copy link
Contributor Author

yamt commented Dec 19, 2024

the ci is expected to fail until apache/nuttx-apps#2893 is merged.

rebased after the PR (and a few other related ones)

@xiaoxiang781216 xiaoxiang781216 merged commit b4e5c74 into apache:master Dec 19, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: simulator Issues related to the SIMulator 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.

[BUG] macOS CI: sim:lua doesn't link with pipe2()
2 participants