* [Buildroot] [PATCH 1/1] package/libunwind: fix libucontext handling
@ 2024-03-17 10:55 Fabrice Fontaine
2024-03-24 16:53 ` Arnout Vandecappelle via buildroot
2024-03-25 18:09 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2024-03-17 10:55 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Commit 6ea2a27f9047696ce1c463ad55fb4a78df136954 forgot to add -lucontext
to LIBS resulting in the following build failure with zeromq:
/home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: /home/buildroot/instance-0/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libunwind.so.8: undefined reference to `setcontext'
Fixes: 6ea2a27f9047696ce1c463ad55fb4a78df136954
- http://autobuild.buildroot.org/results/893defe1588b2ca03c115b59b47be3f4aed438fb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libunwind/libunwind.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libunwind/libunwind.mk b/package/libunwind/libunwind.mk
index 15c4e4863f..94e9bbd1b8 100644
--- a/package/libunwind/libunwind.mk
+++ b/package/libunwind/libunwind.mk
@@ -17,6 +17,7 @@ LIBUNWIND_CONF_OPTS = \
ifeq ($(BR2_PACKAGE_LIBUCONTEXT),y)
LIBUNWIND_DEPENDENCIES += libucontext
+LIBUNWIND_CONF_OPTS += LIBS=-lucontext
endif
$(eval $(autotools-package))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libunwind: fix libucontext handling
2024-03-17 10:55 [Buildroot] [PATCH 1/1] package/libunwind: fix libucontext handling Fabrice Fontaine
@ 2024-03-24 16:53 ` Arnout Vandecappelle via buildroot
2024-03-25 18:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-03-24 16:53 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
On 17/03/2024 11:55, Fabrice Fontaine wrote:
> Commit 6ea2a27f9047696ce1c463ad55fb4a78df136954 forgot to add -lucontext
> to LIBS resulting in the following build failure with zeromq:
>
> /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: /home/buildroot/instance-0/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libunwind.so.8: undefined reference to `setcontext'
>
> Fixes: 6ea2a27f9047696ce1c463ad55fb4a78df136954
> - http://autobuild.buildroot.org/results/893defe1588b2ca03c115b59b47be3f4aed438fb
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/libunwind/libunwind.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/libunwind/libunwind.mk b/package/libunwind/libunwind.mk
> index 15c4e4863f..94e9bbd1b8 100644
> --- a/package/libunwind/libunwind.mk
> +++ b/package/libunwind/libunwind.mk
> @@ -17,6 +17,7 @@ LIBUNWIND_CONF_OPTS = \
>
> ifeq ($(BR2_PACKAGE_LIBUCONTEXT),y)
> LIBUNWIND_DEPENDENCIES += libucontext
> +LIBUNWIND_CONF_OPTS += LIBS=-lucontext
> endif
>
> $(eval $(autotools-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libunwind: fix libucontext handling
2024-03-17 10:55 [Buildroot] [PATCH 1/1] package/libunwind: fix libucontext handling Fabrice Fontaine
2024-03-24 16:53 ` Arnout Vandecappelle via buildroot
@ 2024-03-25 18:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-03-25 18:09 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Commit 6ea2a27f9047696ce1c463ad55fb4a78df136954 forgot to add -lucontext
> to LIBS resulting in the following build failure with zeromq:
> /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld:
> /home/buildroot/instance-0/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libunwind.so.8:
> undefined reference to `setcontext'
> Fixes: 6ea2a27f9047696ce1c463ad55fb4a78df136954
> - http://autobuild.buildroot.org/results/893defe1588b2ca03c115b59b47be3f4aed438fb
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2024.02.x and 2023.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-25 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 10:55 [Buildroot] [PATCH 1/1] package/libunwind: fix libucontext handling Fabrice Fontaine
2024-03-24 16:53 ` Arnout Vandecappelle via buildroot
2024-03-25 18:09 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox