* [Buildroot] [PATCH 1/1] package/crun: fix linking with libargp
@ 2023-08-20 15:26 Bernd Kuhls
2023-08-20 21:42 ` Thomas Petazzoni via buildroot
[not found] ` <20230820234204.75b4af22__33285.4256777623$1692567752$gmane$org@windsurf>
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-08-20 15:26 UTC (permalink / raw)
To: buildroot; +Cc: Christian Stewart
Fixes:
http://autobuild.buildroot.net/results/45f/45ff44284565c8e7deecfdc93995ec0ae4e89e2c/
The bug existed since the dependency to argp-standalone was added with
commit 0d9f268424558c37cd9538596358a537cd2f882d. The oldest build error
I could find occured on Nov, 9th, 2022:
http://autobuild.buildroot.net/results/ebe/ebea5d76c615d8509f87238d449e66da214fed73/
Please note that using $LIBS does not fix the problem.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/crun/crun.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/crun/crun.mk b/package/crun/crun.mk
index 15438a44b3..9d904ccf1b 100644
--- a/package/crun/crun.mk
+++ b/package/crun/crun.mk
@@ -17,6 +17,7 @@ CRUN_CONF_OPTS = --disable-embedded-yajl
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
CRUN_DEPENDENCIES += argp-standalone
+CRUN_CONF_ENV += LDFLAGS=$(TARGET_NLS_LIBS)
endif
ifeq ($(BR2_PACKAGE_LIBCAP),y)
--
2.39.2
_______________________________________________
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/crun: fix linking with libargp
2023-08-20 15:26 [Buildroot] [PATCH 1/1] package/crun: fix linking with libargp Bernd Kuhls
@ 2023-08-20 21:42 ` Thomas Petazzoni via buildroot
[not found] ` <20230820234204.75b4af22__33285.4256777623$1692567752$gmane$org@windsurf>
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-20 21:42 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Christian Stewart, buildroot
Hello Bernd,
On Sun, 20 Aug 2023 17:26:39 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> Fixes:
> http://autobuild.buildroot.net/results/45f/45ff44284565c8e7deecfdc93995ec0ae4e89e2c/
>
> The bug existed since the dependency to argp-standalone was added with
> commit 0d9f268424558c37cd9538596358a537cd2f882d. The oldest build error
> I could find occured on Nov, 9th, 2022:
> http://autobuild.buildroot.net/results/ebe/ebea5d76c615d8509f87238d449e66da214fed73/
>
> Please note that using $LIBS does not fix the problem.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/crun/crun.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/crun/crun.mk b/package/crun/crun.mk
> index 15438a44b3..9d904ccf1b 100644
> --- a/package/crun/crun.mk
> +++ b/package/crun/crun.mk
> @@ -17,6 +17,7 @@ CRUN_CONF_OPTS = --disable-embedded-yajl
>
> ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
> CRUN_DEPENDENCIES += argp-standalone
> +CRUN_CONF_ENV += LDFLAGS=$(TARGET_NLS_LIBS)
This looks extremely strange. TARGET_NLS_LIBS is either empty, or
contains -lintl. How is that related to argp-standalone, and how can it
resolve the argp-standalone issue?
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <20230820234204.75b4af22__33285.4256777623$1692567752$gmane$org@windsurf>]
end of thread, other threads:[~2023-08-21 5:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-20 15:26 [Buildroot] [PATCH 1/1] package/crun: fix linking with libargp Bernd Kuhls
2023-08-20 21:42 ` Thomas Petazzoni via buildroot
[not found] ` <20230820234204.75b4af22__33285.4256777623$1692567752$gmane$org@windsurf>
2023-08-21 5:26 ` Bernd Kuhls
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox