Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library
@ 2023-10-02 16:52 Fabrice Fontaine
  2024-07-12 22:18 ` Arnout Vandecappelle via buildroot
  2024-08-09 11:40 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2023-10-02 16:52 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Fabrice Fontaine

Fix the following build failure raised since bump to version
1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb:

/home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `libfdt/libfdt-1.6.1.so'

Fixes:
 - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/sunxi-tools/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/sunxi-tools/Config.in b/package/sunxi-tools/Config.in
index 14f7da5bf2..16550f4e55 100644
--- a/package/sunxi-tools/Config.in
+++ b/package/sunxi-tools/Config.in
@@ -23,6 +23,7 @@ config BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO
 
 config BR2_PACKAGE_SUNXI_TOOLS_FEL
 	bool "sunxi-fel"
+	depends on !BR2_STATIC_LIBS # dtc
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
 	select BR2_PACKAGE_DTC
@@ -33,8 +34,8 @@ config BR2_PACKAGE_SUNXI_TOOLS_FEL
 	  fel mode. This allows do download code to memory and execute
 	  it.
 
-comment "sunxi-fel needs a toolchain w/ threads, gcc >= 4.9"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+comment "sunxi-fel needs a toolchain w/ dynamic library, threads, gcc >= 4.9"
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
 		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
 config BR2_PACKAGE_SUNXI_TOOLS_NAND_PART
-- 
2.40.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library
  2023-10-02 16:52 [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library Fabrice Fontaine
@ 2024-07-12 22:18 ` Arnout Vandecappelle via buildroot
  2024-08-09 11:40 ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-07-12 22:18 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Giulio Benetti



On 02/10/2023 18:52, Fabrice Fontaine wrote:
> Fix the following build failure raised since bump to version
> 1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb:
> 
> /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: attempted static link of dynamic object `libfdt/libfdt-1.6.1.so'
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/sunxi-tools/Config.in | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/package/sunxi-tools/Config.in b/package/sunxi-tools/Config.in
> index 14f7da5bf2..16550f4e55 100644
> --- a/package/sunxi-tools/Config.in
> +++ b/package/sunxi-tools/Config.in
> @@ -23,6 +23,7 @@ config BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO
>   
>   config BR2_PACKAGE_SUNXI_TOOLS_FEL
>   	bool "sunxi-fel"
> +	depends on !BR2_STATIC_LIBS # dtc
>   	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
>   	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
>   	select BR2_PACKAGE_DTC
> @@ -33,8 +34,8 @@ config BR2_PACKAGE_SUNXI_TOOLS_FEL
>   	  fel mode. This allows do download code to memory and execute
>   	  it.
>   
> -comment "sunxi-fel needs a toolchain w/ threads, gcc >= 4.9"
> -	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
> +comment "sunxi-fel needs a toolchain w/ dynamic library, threads, gcc >= 4.9"
> +	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
>   		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
>   
>   config BR2_PACKAGE_SUNXI_TOOLS_NAND_PART
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library
  2023-10-02 16:52 [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library Fabrice Fontaine
  2024-07-12 22:18 ` Arnout Vandecappelle via buildroot
@ 2024-08-09 11:40 ` Peter Korsgaard
  2024-08-11  3:39   ` Baruch Siach via buildroot
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2024-08-09 11:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Giulio Benetti, buildroot

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

 > Fix the following build failure raised since bump to version
 > 1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb:

 > /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld:
 > attempted static link of dynamic object `libfdt/libfdt-1.6.1.so'

 > Fixes:
 >  - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2

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

Committed to 2024.02.x and 2024.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library
  2024-08-09 11:40 ` Peter Korsgaard
@ 2024-08-11  3:39   ` Baruch Siach via buildroot
  2024-08-11  7:33     ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Baruch Siach via buildroot @ 2024-08-11  3:39 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: Giulio Benetti, Fabrice Fontaine, buildroot

Hi Peter,

On Fri, Aug 09 2024, Peter Korsgaard wrote:
>>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
>
>  > Fix the following build failure raised since bump to version
>  > 1.4.2-168-ged3039c in commit 2e330dff6a7ce7965ceb0dccdc9dcbcb329167bb:
>
>  > /home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/12.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld:
>  > attempted static link of dynamic object `libfdt/libfdt-1.6.1.so'
>
>  > Fixes:
>  >  - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2
>
>  > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
> Committed to 2024.02.x and 2024.05.x, thanks.

Not in 2024.02.x as of commit 1c9821800527 ("package/gcc: bump 12.x
series to 12.4").

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library
  2024-08-11  3:39   ` Baruch Siach via buildroot
@ 2024-08-11  7:33     ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2024-08-11  7:33 UTC (permalink / raw)
  To: Baruch Siach; +Cc: Giulio Benetti, Fabrice Fontaine, buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

Hi,

 >> > Fixes:
 >> >  - http://autobuild.buildroot.org/results/6788d86c10d551b3d617e33c85083b817eb5d0b2
 >> 
 >> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 >> 
 >> Committed to 2024.02.x and 2024.05.x, thanks.

 > Not in 2024.02.x as of commit 1c9821800527 ("package/gcc: bump 12.x
 > series to 12.4").

Ups, fixed now - Thanks!

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-11  7:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-02 16:52 [Buildroot] [PATCH 1/1] package/sunxi-tools: sunxi-fel needs dynamic library Fabrice Fontaine
2024-07-12 22:18 ` Arnout Vandecappelle via buildroot
2024-08-09 11:40 ` Peter Korsgaard
2024-08-11  3:39   ` Baruch Siach via buildroot
2024-08-11  7:33     ` Peter Korsgaard

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