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

{BP-12553} sched/tcb: fix 12320 regression #12719

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

jerpelea
Copy link
Contributor

Summary

This patch attempts to fix regressions reported for pull# 12320.

Impact

RELEASE

Testing

NONE

@jerpelea jerpelea changed the title sched/tcb: fix 12320 regression {BP-12553} sched/tcb: fix 12320 regression Jul 17, 2024
@jerpelea
Copy link
Contributor Author

@xiaoxiang781216
FAILED: nuttx
: && /tools/ccache/bin/cc -T nuttx.ld CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostirq.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmemory.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmisc.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hosttime.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostuart.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_tapdev.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_rawgadget.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostfs.c.o CMakeFiles/nuttx.dir/empty.c.o -o nuttx nuttx.rel -lpthread -lrt -lm && :
/usr/bin/ld: nuttx.rel: in function uv_key_create': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:846: undefined reference to NXpthread_key_create'
/usr/bin/ld: nuttx.rel: in function uv_key_get': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:857: undefined reference to NXpthread_getspecific'
/usr/bin/ld: nuttx.rel: in function uv_key_set': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:862: undefined reference to NXpthread_setspecific'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@xiaoxiang781216
Copy link
Contributor

@xiaoxiang781216 FAILED: nuttx : && /tools/ccache/bin/cc -T nuttx.ld CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostirq.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmemory.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmisc.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hosttime.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostuart.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_tapdev.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_rawgadget.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostfs.c.o CMakeFiles/nuttx.dir/empty.c.o -o nuttx nuttx.rel -lpthread -lrt -lm && : /usr/bin/ld: nuttx.rel: in function uv_key_create': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:846: undefined reference to NXpthread_key_create' /usr/bin/ld: nuttx.rel: in function uv_key_get': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:857: undefined reference to NXpthread_getspecific' /usr/bin/ld: nuttx.rel: in function uv_key_set': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:862: undefined reference to NXpthread_setspecific' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.

@jerpelea do you cherry-pick #12592 to 12.6?

@jerpelea
Copy link
Contributor Author

see #12731

@jerpelea
Copy link
Contributor Author

@xiaoxiang781216
/usr/bin/ld: nuttx.rel: in function uv_key_create': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:846: undefined reference to NXpthread_key_create'
/usr/bin/ld: nuttx.rel: in function uv_key_get': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:857: undefined reference to NXpthread_getspecific'
/usr/bin/ld: nuttx.rel: in function uv_key_set': /github/workspace/sources/apps/system/libuv/libuv/src/unix/thread.c:862: undefined reference to NXpthread_setspecific'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

@xiaoxiang781216
Copy link
Contributor

do you rebase this patch @jerpelea ?

This patch attempts to fix regressions reported for pull# 12320.

Signed-off-by: Yanfeng Liu <[email protected]>
@jerpelea
Copy link
Contributor Author

@acassis @xiaoxiang781216 please merge

@acassis acassis merged commit 14da04e into apache:releases/12.6 Jul 19, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants