Skip to content

Commit

Permalink
arch/sim/src/nuttx-names.in: Add pipe2
Browse files Browse the repository at this point in the history
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 #14773
on linux.
  • Loading branch information
yamt committed Dec 19, 2024
1 parent 5d68ab6 commit 5c86413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sim/src/nuttx-names.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ NXSYMBOLS(munmap)
NXSYMBOLS(open)
NXSYMBOLS(opendir)
NXSYMBOLS(pclose)
NXSYMBOLS(pipe2)
NXSYMBOLS(perror)
NXSYMBOLS(poll)
NXSYMBOLS(popen)
Expand Down

0 comments on commit 5c86413

Please sign in to comment.