Skip to contentSkip to conversation

package/dc3dd: disable on arc

PATCH Applied Giulio Benetti 3 participants 3 messages Sep 27, 2021 – Oct 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dc3dd: disable on arc

Disable dc3dd on arc like we've done for riscv32 because of the size of time_t:

In file included from getdate.y:40:
verify.h:132:30: error: negative width in bit-field 'verify_error_if_negative_size__'
132 | (struct { unsigned int verify_error_if_negative_size__: (R) ? 1 : -1; }))

      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

verify.h:138:61: note: in expansion of macro 'verify_true'
138 | # define verify(R) extern int (* verify_function__ (void)) [verify_true (R)]
| ^~~~~~~~~~~
getdate.y:116:1: note: in expansion of macro 'verify'

  116 | verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= LONG_MAX);
      | ^~~~~~

Fixes:
http://autobuild.buildroot.net/results/9e2/9e2a8f0548ecb5ce9539eda007cd886ddea7dc0a/

---
 package/dc3dd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/dc3dd/Config.in +2 -0
index 715451beb7..bd181b7065 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_DC3DD
 	bool "dc3dd"
 	depends on !BR2_RISCV_32
+	depends on !BR2_arc
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_TOOLCHAIN_USES_MUSL
 	help
@@ -13,5 +14,6 @@ config BR2_PACKAGE_DC3DD
 
 comment "dc3dd needs a glibc or uClibc toolchain w/ threads"
 	depends on !BR2_RISCV_32
+	depends on !BR2_arc
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
 		BR2_TOOLCHAIN_USES_MUSL
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · Giulio Benetti

Disable dc3dd on arc like we've done for riscv32 because of the size of time_t:

In file included from getdate.y:40:
verify.h:132:30: error: negative width in bit-field 'verify_error_if_negative_size__'
132 | (struct { unsigned int verify_error_if_negative_size__: (R) ? 1 : -1; }))

       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

verify.h:138:61: note: in expansion of macro 'verify_true'
138 | # define verify(R) extern int (* verify_function__ (void)) [verify_true (R)]
| ^~~~~~~~~~~
getdate.y:116:1: note: in expansion of macro 'verify'

Quoted 7 lines
   116 | verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= LONG_MAX);
       | ^~~~~~

Fixes:
http://autobuild.buildroot.net/results/9e2/9e2a8f0548ecb5ce9539eda007cd886ddea7dc0a/

Applied to master, thanks.

Regards,
Arnout

Quoted 18 lines
---
  package/dc3dd/Config.in | 2 ++
  1 file changed, 2 insertions(+)
package/dc3dd/Config.in +1 -0
index 715451beb7..bd181b7065 100644
@@ -1,6 +1,7 @@
  config BR2_PACKAGE_DC3DD
  	bool "dc3dd"
  	depends on !BR2_RISCV_32
+	depends on !BR2_arc
  	depends on BR2_TOOLCHAIN_HAS_THREADS
  	depends on !BR2_TOOLCHAIN_USES_MUSL
  	help

package/dc3dd/Config.in config BR2_PACKAGE_DC3DD · line 19

Quoted 6 lines
package/dc3dd/Config.in +1 -0
@@ -13,5 +14,6 @@ config BR2_PACKAGE_DC3DD
 
  comment "dc3dd needs a glibc or uClibc toolchain w/ threads"
  	depends on !BR2_RISCV_32
+	depends on !BR2_arc
  	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
  		BR2_TOOLCHAIN_USES_MUSL

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Giulio Benetti
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Disable dc3dd on arc like we've done for riscv32 because of the size of time_t:

In file included from getdate.y:40:
verify.h:132:30: error: negative width in bit-field 'verify_error_if_negative_size__'
132 | (struct { unsigned int verify_error_if_negative_size__: (R) ? 1 : -1; }))

      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

verify.h:138:61: note: in expansion of macro 'verify_true'
138 | # define verify(R) extern int (* verify_function__ (void)) [verify_true (R)]
| ^~~~~~~~~~~
getdate.y:116:1: note: in expansion of macro 'verify'

Quoted 7 lines
  116 | verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= LONG_MAX);
      | ^~~~~~

Fixes:
http://autobuild.buildroot.net/results/9e2/9e2a8f0548ecb5ce9539eda007cd886ddea7dc0a/

Committed to 2021.02.x, 2021.05.x and 2021.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot