diff mbox series

[v1,1/2] dtc: bump version to 1.4.7

Message ID 28d7fee033a5e5ef512c02d5291d20b1d19fdbbf.1532460521.git.geoff@infradead.org
State Accepted
Headers show
Series [v1,1/2] dtc: bump version to 1.4.7 | expand

Commit Message

Geoff Levand July 24, 2018, 7:32 p.m. UTC
Bump from 1.4.4 to 1.4.7.

Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 package/dtc/dtc.hash | 2 +-
 package/dtc/dtc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Petazzoni July 25, 2018, 8:53 p.m. UTC | #1
Hello,

On Tue, 24 Jul 2018 19:32:17 +0000, Geoff Levand wrote:
> Bump from 1.4.4 to 1.4.7.
> 
> Signed-off-by: Geoff Levand <geoff@infradead.org>
> ---
>  package/dtc/dtc.hash | 2 +-
>  package/dtc/dtc.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
Thomas Petazzoni July 27, 2018, 9:07 a.m. UTC | #2
Hello,

On Tue, 24 Jul 2018 19:32:17 +0000, Geoff Levand wrote:
> Bump from 1.4.4 to 1.4.7.
> 
> Signed-off-by: Geoff Levand <geoff@infradead.org>
> ---
>  package/dtc/dtc.hash | 2 +-
>  package/dtc/dtc.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

This is failing all over the place in the autobuilders:

  http://autobuild.buildroot.net/?reason=%dtc-1.4.7

Could you look into those issues and provide a patch to address them ?

Thanks!

Thomas
Geoff Levand July 27, 2018, 5:09 p.m. UTC | #3
Hi Simon,

Any ideas about what's wrong?

Some builds show this error:

  LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)

Which seems to be triggered from this:

  https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Include/pyport.h#L701

I'll continue to look into it.

-Geoff

On 07/27/2018 02:07 AM, Thomas Petazzoni wrote:
> On Tue, 24 Jul 2018 19:32:17 +0000, Geoff Levand wrote:
>> Bump from 1.4.4 to 1.4.7.
>>
>> Signed-off-by: Geoff Levand <geoff@infradead.org>
>> ---
>>  package/dtc/dtc.hash | 2 +-
>>  package/dtc/dtc.mk   | 2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> This is failing all over the place in the autobuilders:
> 
>   http://autobuild.buildroot.net/?reason=%dtc-1.4.7
> 
> Could you look into those issues and provide a patch to address them ?
Geoff Levand July 27, 2018, 6:56 p.m. UTC | #4
Hi Simon,

After looking at it a bit more, it seems setup.py is using the host
toolchain (/usr/bin/gcc), and not the cross toolchain when linking.

Any idea how to fix this?

pylibfdt/setup.py --verbose  build_ext --inplace
running build_ext
building '_libfdt' extension
swigging pylibfdt/libfdt.i to pylibfdt/libfdt_wrap.c
swig -python -I/br-bug/build/dtc-1.4.7 -o pylibfdt/libfdt_wrap.c pylibfdt/libfdt.i
/br-bug/host/bin/aarch64-linux-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -I libfdt -I . -fPIC -I/br-bug/host/include/python2.7 -c /br-bug/build/dtc-1.4.7/libfdt/fdt.c -o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt.o -I/br-bug/build/dtc-1.4.7 -I/br-bug/build/dtc-1.4.7/libfdt
...
/usr/bin/gcc -pthread -shared -L/br-bug/host/lib -Wl,-rpath,/br-bug/host/lib -Wl,--enable-new-dtags -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -I libfdt -I . build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_ro.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_wip.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_sw.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_rw.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_strerror.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_empty_tree.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_addresses.o build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt_overlay.o build/temp.linux-x86_64-2.7/pylibfdt/libfdt_wrap.o -L/br-bug/host/lib -lpython2.7 -o /br-bug/build/dtc-1.4.7/_libfdt.so
/usr/bin/ld: build/temp.linux-x86_64-2.7/br-bug/build/dtc-1.4.7/libfdt/fdt.o: Relocations in generic ELF (EM: 183)


-Geoff
diff mbox series

Patch

diff --git a/package/dtc/dtc.hash b/package/dtc/dtc.hash
index 75c2e40eea..b402c2249b 100644
--- a/package/dtc/dtc.hash
+++ b/package/dtc/dtc.hash
@@ -1,2 +1,2 @@ 
 # from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc
-sha256 470731d5c015b160d26a96645dbb1c7337d6e7b8c98244612002b66bedf6cffb  dtc-1.4.4.tar.xz
+sha256 6643e8f00ff86350f465bb54b2185058b5b1b7bac01a0842c81a52b86589cde7 dtc-1.4.7.tar.xz
diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
index 1bcee29bb3..8388793c01 100644
--- a/package/dtc/dtc.mk
+++ b/package/dtc/dtc.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-DTC_VERSION = 1.4.4
+DTC_VERSION = 1.4.7
 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)