Skip to contentSkip to conversation

package/samba{,4}: disable on nios2

PATCH New Yann E. MORIN 3 participants 3 messages May 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/samba{,4}: disable on nios2

From: "Yann E. MORIN" <[email protected]>

samba produces particularly large binaries, and the relocations needed for it do not fit in the possible relocation mechanisms available on nios2. Since samba is very unlikely to be used on nios2, let's just disable it, as we've done for AVR32.

Fixes:

    http://autobuild.buildroot.net/results/7b9/7b9dcb537f98714fe57fe384ecbb49bd9ae52aee/
Cc Gustavo Zacarias <[email protected]>
---
 package/samba/Config.in  | 4 ++--
 package/samba4/Config.in | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
package/samba/Config.in +2 -2
index 70ff960..8dd0bf2 100644
@@ -2,8 +2,8 @@ config BR2_PACKAGE_SAMBA
 	bool "samba"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
-	# binary too large, relocations don't fit
-	depends on !BR2_avr32
+	depends on !BR2_avr32 # binary too large, relocations don't fit
+	depends on !BR2_nios2 # binary too large, relocations don't fit
 	select BR2_PACKAGE_POPT
 	help
 	  Provides secure, stable and fast file and print services
package/samba4/Config.in +1 -0
index 77a46cd..7008ba2 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_SAMBA4
 	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # talloc python threads
 	depends on !BR2_avr32 # bad toolchain
+	depends on !BR2_nios2 # binary too large, relocations don't fit
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_PYTHON
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 package/samba{,4}: disable on nios2

Quoted 7 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

samba produces particularly large binaries, and the relocations needed for it do not fit in the possible relocation mechanisms available on nios2. Since samba is very unlikely to be used on nios2, let's just disable it, as we've done for AVR32.

Quoted 5 lines

Fixes:

    http://autobuild.buildroot.net/results/7b9/7b9dcb537f98714fe57fe384ecbb49bd9ae52aee/
Cc Gustavo Zacarias <[email protected]>

NIOS2 is a FPGA Softcore so the necessary resources for samba to work/fit would be extremely expensive (besides the obvious toolchain problems).
Regards.

#2 lore raw

PATCH 1/1 package/samba{,4}: disable on nios2

In reply to Yann E. MORIN
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]>
samba produces particularly large binaries, and the relocations needed for it do not fit in the possible relocation mechanisms available on nios2. Since samba is very unlikely to be used on nios2, let's just disable it, as we've done for AVR32.

Quoted 5 lines

Fixes:

    http://autobuild.buildroot.net/results/7b9/7b9dcb537f98714fe57fe384ecbb49bd9ae52aee/
Cc Gustavo Zacarias <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard