diff mbox series

[1/1] package/dtc: bump version to 1.6.0

Message ID 20200419154300.203136-1-juju@cotds.org
State Accepted
Headers show
Series [1/1] package/dtc: bump version to 1.6.0 | expand

Commit Message

Julien Olivain April 19, 2020, 3:43 p.m. UTC
When host compiler is gcc 10 (for example on Fedora 32), dtc 1.5.1
fail to build with the error:
/usr/bin/ld: dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

dtc 1.6.0 fixes this issue in the commit:
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e

Also adopt new spacing convention in .hash files (two spaces).

Signed-off-by: Julien Olivain <juju@cotds.org>
---
 package/dtc/dtc.hash | 8 ++++----
 package/dtc/dtc.mk   | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Yann E. MORIN April 19, 2020, 8:50 p.m. UTC | #1
Julien, All,

On 2020-04-19 17:43 +0200, Julien Olivain spake thusly:
> When host compiler is gcc 10 (for example on Fedora 32), dtc 1.5.1
> fail to build with the error:
> /usr/bin/ld: dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; dtc-lexer.lex.o:(.bss+0x0): first defined here
> collect2: error: ld returned 1 exit status
> 
> dtc 1.6.0 fixes this issue in the commit:
> https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e
> 
> Also adopt new spacing convention in .hash files (two spaces).

Thanks for the spaces! ;-)

> Signed-off-by: Julien Olivain <juju@cotds.org>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/dtc/dtc.hash | 8 ++++----
>  package/dtc/dtc.mk   | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/package/dtc/dtc.hash b/package/dtc/dtc.hash
> index e4d6c02544..902ce1baf9 100644
> --- a/package/dtc/dtc.hash
> +++ b/package/dtc/dtc.hash
> @@ -1,7 +1,7 @@
>  # from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc
> -sha256 660b74039690fc37013660544d09191834efb58503c73c555c5513ba75ab031f  dtc-1.5.1.tar.xz
> +sha256  10503b0217e1b07933e29e8d347a00015b2431bea5f59afe0bed3af30340c82d  dtc-1.6.0.tar.xz
>  
>  # Hash for license files
> -sha256 78e1e1ce5728a990d59c7de61d4741c49185d5129daf783b386380a214328d68  README.license
> -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  GPL
> -sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd  BSD-2-Clause
> +sha256  78e1e1ce5728a990d59c7de61d4741c49185d5129daf783b386380a214328d68  README.license
> +sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  GPL
> +sha256  6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd  BSD-2-Clause
> diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
> index d532487dd1..956a60b29d 100644
> --- a/package/dtc/dtc.mk
> +++ b/package/dtc/dtc.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -DTC_VERSION = 1.5.1
> +DTC_VERSION = 1.6.0
>  DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
>  DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
>  DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library)
> -- 
> 2.26.0
>
Peter Korsgaard June 2, 2020, 7:05 a.m. UTC | #2
>>>>> "Julien" == Julien Olivain <juju@cotds.org> writes:

 > When host compiler is gcc 10 (for example on Fedora 32), dtc 1.5.1
 > fail to build with the error:
 > /usr/bin/ld: dtc-parser.tab.o:(.bss+0x20): multiple definition of `yylloc'; dtc-lexer.lex.o:(.bss+0x0): first defined here
 > collect2: error: ld returned 1 exit status

 > dtc 1.6.0 fixes this issue in the commit:
 > https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=0e9225eb0dfec51def612b928d2f1836b092bc7e

 > Also adopt new spacing convention in .hash files (two spaces).

 > Signed-off-by: Julien Olivain <juju@cotds.org>

Committed to 2020.02.x, thanks.
diff mbox series

Patch

diff --git a/package/dtc/dtc.hash b/package/dtc/dtc.hash
index e4d6c02544..902ce1baf9 100644
--- a/package/dtc/dtc.hash
+++ b/package/dtc/dtc.hash
@@ -1,7 +1,7 @@ 
 # from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc
-sha256 660b74039690fc37013660544d09191834efb58503c73c555c5513ba75ab031f  dtc-1.5.1.tar.xz
+sha256  10503b0217e1b07933e29e8d347a00015b2431bea5f59afe0bed3af30340c82d  dtc-1.6.0.tar.xz
 
 # Hash for license files
-sha256 78e1e1ce5728a990d59c7de61d4741c49185d5129daf783b386380a214328d68  README.license
-sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  GPL
-sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd  BSD-2-Clause
+sha256  78e1e1ce5728a990d59c7de61d4741c49185d5129daf783b386380a214328d68  README.license
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  GPL
+sha256  6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd  BSD-2-Clause
diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
index d532487dd1..956a60b29d 100644
--- a/package/dtc/dtc.mk
+++ b/package/dtc/dtc.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-DTC_VERSION = 1.5.1
+DTC_VERSION = 1.6.0
 DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
 DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
 DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library)