Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/stress-ng: link with -latomic when needed
@ 2023-09-16 10:40 Fabrice Fontaine
  2023-09-16 12:09 ` Yann E. MORIN
  2023-09-24 20:17 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-09-16 10:40 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Fabrice Fontaine

Fix the following build failure raised since at least bump to version
0.15.04 in commit 00553ea186357fd3e2b3c89fa560e9711cc67472:

Fixes:
 - http://autobuild.buildroot.org/results/127ed4c110d99c6453a01ce221f628d40e566dc1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/stress-ng/stress-ng.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk
index 0f204bcf79..a7b57459f1 100644
--- a/package/stress-ng/stress-ng.mk
+++ b/package/stress-ng/stress-ng.mk
@@ -20,6 +20,10 @@ ifeq ($(BR2_PACKAGE_KEYUTILS),y)
 STRESS_NG_DEPENDENCIES += keyutils
 endif
 
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+STRESS_NG_MAKE_FLAGS += LDFLAGS_EXTRA=-latomic
+endif
+
 define STRESS_NG_BUILD_CMDS
 	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(STRESS_NG_MAKE_FLAGS)
 endef
-- 
2.40.1

_______________________________________________
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/stress-ng: link with -latomic when needed
  2023-09-16 10:40 [Buildroot] [PATCH 1/1] package/stress-ng: link with -latomic when needed Fabrice Fontaine
@ 2023-09-16 12:09 ` Yann E. MORIN
  2023-09-24 20:17 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2023-09-16 12:09 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Romain Naour, buildroot

Fabrice, All,

On 2023-09-16 12:40 +0200, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since at least bump to version
> 0.15.04 in commit 00553ea186357fd3e2b3c89fa560e9711cc67472:
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/127ed4c110d99c6453a01ce221f628d40e566dc1
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/stress-ng/stress-ng.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk
> index 0f204bcf79..a7b57459f1 100644
> --- a/package/stress-ng/stress-ng.mk
> +++ b/package/stress-ng/stress-ng.mk
> @@ -20,6 +20,10 @@ ifeq ($(BR2_PACKAGE_KEYUTILS),y)
>  STRESS_NG_DEPENDENCIES += keyutils
>  endif
>  
> +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> +STRESS_NG_MAKE_FLAGS += LDFLAGS_EXTRA=-latomic
> +endif
> +
>  define STRESS_NG_BUILD_CMDS
>  	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(STRESS_NG_MAKE_FLAGS)
>  endef
> -- 
> 2.40.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
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/stress-ng: link with -latomic when needed
  2023-09-16 10:40 [Buildroot] [PATCH 1/1] package/stress-ng: link with -latomic when needed Fabrice Fontaine
  2023-09-16 12:09 ` Yann E. MORIN
@ 2023-09-24 20:17 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-09-24 20:17 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Romain Naour, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix the following build failure raised since at least bump to version
 > 0.15.04 in commit 00553ea186357fd3e2b3c89fa560e9711cc67472:

 > Fixes:
 >  - http://autobuild.buildroot.org/results/127ed4c110d99c6453a01ce221f628d40e566dc1

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Unable to reproduce on 2023.02.x, so committed to 2023.05.x and 2023.08.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:[~2023-09-24 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-16 10:40 [Buildroot] [PATCH 1/1] package/stress-ng: link with -latomic when needed Fabrice Fontaine
2023-09-16 12:09 ` Yann E. MORIN
2023-09-24 20:17 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox