diff mbox series

[v2,5/7] package/ecryptfs-utils: allow building with GCC_BUG_85862 and on Microblaze

Message ID 20190522135906.30796-6-giulio.benetti@micronovasrl.com
State Changes Requested
Headers show
Series fix GCC BUG 85180 and 85862 | expand

Commit Message

Giulio Benetti May 22, 2019, 1:59 p.m. UTC
libnss gcc bug 85862 has been worked around and that caused build
failure on Microblaze.

Remove 'depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85862' and 'depends on
!BR2_microblaze' from Config.in allowing this package to build.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
 package/ecryptfs-utils/Config.in | 6 ------
 1 file changed, 6 deletions(-)

Comments

Giulio Benetti May 27, 2019, 5:28 p.m. UTC | #1
Hello Thomas,

Il 22/05/2019 15:59, Giulio Benetti ha scritto:
> libnss gcc bug 85862 has been worked around and that caused build
> failure on Microblaze.
> 
> Remove 'depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85862' and 'depends on
> !BR2_microblaze' from Config.in allowing this package to build.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
> ---
>   package/ecryptfs-utils/Config.in | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/package/ecryptfs-utils/Config.in b/package/ecryptfs-utils/Config.in
> index 6652d33e0e..68a659d33d 100644
> --- a/package/ecryptfs-utils/Config.in
> +++ b/package/ecryptfs-utils/Config.in
> @@ -2,12 +2,10 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
>   	bool "ecryptfs-utils"
>   	depends on BR2_USE_WCHAR # gettext
>   	depends on BR2_USE_MMU # keyutils
> -	depends on !BR2_microblaze # keyutils
>   	depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
>   	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
>   	depends on !BR2_MIPS_NABI32 # libnss
>   	depends on !BR2_STATIC_LIBS # libnss, keyutils
> -	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85862 # microblaze specific & GCC < 7.x
>   	select BR2_PACKAGE_KEYUTILS
>   	select BR2_PACKAGE_LIBNSS
>   	# runtime dependency only, some scripts are using the
> @@ -31,11 +29,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
>   	  http://ecryptfs.org
>   
>   comment "ecryptfs-utils needs a toolchain w/ threads, wchar, dynami library"
> -	depends on !BR2_microblaze
>   	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
>   	depends on BR2_USE_MMU
>   	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
>   		BR2_STATIC_LIBS
> -
> -comment "ecryptfs needs a toolchain not affected by GCC bug 85862"
> -	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_85862 # libnss
> 

I've seen you've tagged this as Changes Requested:
https://patchwork.ozlabs.org/patch/1103358/

It is because of dependency to "keyutils" still not fixed right?
Thomas Petazzoni May 27, 2019, 7:13 p.m. UTC | #2
On Mon, 27 May 2019 19:28:32 +0200
Giulio Benetti <giulio.benetti@micronovasrl.com> wrote:

> I've seen you've tagged this as Changes Requested:
> https://patchwork.ozlabs.org/patch/1103358/
> 
> It is because of dependency to "keyutils" still not fixed right?

Because this patch depends on the libnss patch, which was also marked
as Changes Requested.

Thomas
Giulio Benetti May 27, 2019, 8:34 p.m. UTC | #3
Il 27/05/2019 21:13, Thomas Petazzoni ha scritto:
> On Mon, 27 May 2019 19:28:32 +0200
> Giulio Benetti <giulio.benetti@micronovasrl.com> wrote:
> 
>> I've seen you've tagged this as Changes Requested:
>> https://patchwork.ozlabs.org/patch/1103358/
>>
>> It is because of dependency to "keyutils" still not fixed right?
> 
> Because this patch depends on the libnss patch, which was also marked
> as Changes Requested.

Ok, thanks.
diff mbox series

Patch

diff --git a/package/ecryptfs-utils/Config.in b/package/ecryptfs-utils/Config.in
index 6652d33e0e..68a659d33d 100644
--- a/package/ecryptfs-utils/Config.in
+++ b/package/ecryptfs-utils/Config.in
@@ -2,12 +2,10 @@  config BR2_PACKAGE_ECRYPTFS_UTILS
 	bool "ecryptfs-utils"
 	depends on BR2_USE_WCHAR # gettext
 	depends on BR2_USE_MMU # keyutils
-	depends on !BR2_microblaze # keyutils
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
 	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr
 	depends on !BR2_MIPS_NABI32 # libnss
 	depends on !BR2_STATIC_LIBS # libnss, keyutils
-	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85862 # microblaze specific & GCC < 7.x
 	select BR2_PACKAGE_KEYUTILS
 	select BR2_PACKAGE_LIBNSS
 	# runtime dependency only, some scripts are using the
@@ -31,11 +29,7 @@  config BR2_PACKAGE_ECRYPTFS_UTILS
 	  http://ecryptfs.org
 
 comment "ecryptfs-utils needs a toolchain w/ threads, wchar, dynami library"
-	depends on !BR2_microblaze
 	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
 	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
 		BR2_STATIC_LIBS
-
-comment "ecryptfs needs a toolchain not affected by GCC bug 85862"
-	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_85862 # libnss