ARC: update tools to arc-2015.06 release
PATCH 1/1 ARC: update tools to arc-2015.06 release
I'm happy to update GNU tools for ARC cores to the most recent arc-2015.06 release.
This release brings following major improvements:
* GCC: source update to v4.8.4
* GCC: C ABI compatibility between MetaWare and GNU toolchains
* uClibc: support for thread local storage and Native Pthread Library (NPTL)
* GDB: updated to version 7.9.1
Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.
---
I hope this time all required pieces are in place :)
---
package/binutils/Config.in.host | 2 +-
.../binutils/{arc-2015.06-rc1 => arc-2015.06}/0001-PR-other-56780.patch | 0
.../600-poison-system-directories.patch | 0
package/binutils/binutils.hash | 2 +-
package/binutils/binutils.mk | 2 +-
package/gcc/Config.in.host | 2 +-
.../gcc/{arc-2015.06-rc1 => arc-2015.06}/100-libstdcxx-uclibc-c99.patch | 0
package/gcc/{arc-2015.06-rc1 => arc-2015.06}/851-PR-other-56780.patch | 0
.../910-gcc-poison-system-directories.patch | 0
package/gcc/gcc.hash | 2 +-
package/gdb/Config.in.host | 2 +-
package/gdb/gdb.hash | 2 +-
package/uclibc/Config.in | 2 +-
package/uclibc/uclibc.hash | 2 +-
14 files changed, 9 insertions(+), 9 deletions(-)
rename package/binutils/{arc-2015.06-rc1 => arc-2015.06}/0001-PR-other-56780.patch (100%)
rename package/binutils/{arc-2015.06-rc1 => arc-2015.06}/600-poison-system-directories.patch (100%)
rename package/gcc/{arc-2015.06-rc1 => arc-2015.06}/100-libstdcxx-uclibc-c99.patch (100%)
rename package/gcc/{arc-2015.06-rc1 => arc-2015.06}/851-PR-other-56780.patch (100%)
rename package/gcc/{arc-2015.06-rc1 => arc-2015.06}/910-gcc-poison-system-directories.patch (100%)package/binutils/Config.in.host +1 -1
@@ -24,7 +24,7 @@ endchoice config BR2_BINUTILS_VERSION string - default "arc-2015.06-rc1" if BR2_arc + default "arc-2015.06" if BR2_arc default "2.23.2" if BR2_BINUTILS_VERSION_2_23_2 default "2.24" if BR2_BINUTILS_VERSION_2_24 default "2.25" if BR2_BINUTILS_VERSION_2_25
package/binutils/arc-2015.06/0001-PR-other-56780.patch renamed from package/binutils/arc-2015.06-rc1/0001-PR-other-56780.patch +0 -0
package/binutils/arc-2015.06/600-poison-system-directories.patch renamed from package/binutils/arc-2015.06-rc1/600-poison-system-directories.patch +0 -0
package/binutils/binutils.hash +1 -1
@@ -4,4 +4,4 @@ sha512 dec753bbba008f1526b89cf1bd85feba78f362f5333ffdf93953fd131eb755976dec82a0 sha512 5ec95ad47d49b12c4558a8db0ca2109d3ee1955e3776057f3330c4506f8f4d1cf5e505fbf8a16b98403a0fcdeaaf986fe0a22be6456247dbdace63ce1f776b12 binutils-2.24.tar.bz2 sha512 49438970642f379978aba988e3d2e7b63dab6fd0b46d91f4100f083e87a84d242089daca58572245fe620457a77bbbe2d78588ff3fb79314e500d1a39bf96f30 binutils-2.25.tar.bz2 # No hash for the ARC variant, comes from the github-helper: -none xxx binutils-arc-2015.06-rc1.tar.gz +none xxx binutils-arc-2015.06.tar.gz
package/binutils/binutils.mk +1 -1
@@ -9,7 +9,7 @@ BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION)) ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) -BINUTILS_VERSION = arc-2015.06-rc1 +BINUTILS_VERSION = arc-2015.06 else BINUTILS_VERSION = 2.24 endif
package/gcc/Config.in.host +1 -1
@@ -99,7 +99,7 @@ config BR2_GCC_VERSION default "4.8.5" if BR2_GCC_VERSION_4_8_X default "4.9.3" if BR2_GCC_VERSION_4_9_X default "5.1.0" if BR2_GCC_VERSION_5_1_X - default "arc-2015.06-rc1" if BR2_GCC_VERSION_4_8_ARC + default "arc-2015.06" if BR2_GCC_VERSION_4_8_ARC config BR2_EXTRA_GCC_CONFIG_OPTIONS string "Additional gcc options"
package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch renamed from package/gcc/arc-2015.06-rc1/100-libstdcxx-uclibc-c99.patch +0 -0
package/gcc/arc-2015.06/851-PR-other-56780.patch renamed from package/gcc/arc-2015.06-rc1/851-PR-other-56780.patch +0 -0
package/gcc/arc-2015.06/910-gcc-poison-system-directories.patch renamed from package/gcc/arc-2015.06-rc1/910-gcc-poison-system-directories.patch +0 -0
package/gcc/gcc.hash +1 -1
@@ -9,4 +9,4 @@ sha512 9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a31 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.1.0/sha512.sum sha512 30f6a94d3adb25bc51fcaddf32a6c41429f569eeb9ed64330445b1296f99998fbfa03277b375be4f7b2b80f519910ef88e4149db7cd9031e2c61a49f501bde94 gcc-5.1.0.tar.bz2 # No hash for the ARC variant, comes from the github-helper: -none xxx gcc-arc-2015.06-rc1.tar.gz +none xxx gcc-arc-2015.06.tar.gz
package/gdb/Config.in.host +1 -1
@@ -49,7 +49,7 @@ endif config BR2_GDB_VERSION string depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB - default "arc-2015.06-rc1-gdb" if BR2_arc + default "arc-2015.06-gdb" if BR2_arc default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze default "7.7.1" if BR2_GDB_VERSION_7_7 default "7.8.2" if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDB
package/gdb/gdb.hash +1 -1
@@ -3,5 +3,5 @@ sha512 887b9b726dae8f6e3e5e41574460a67e4f9002b0d47bc985dcf63bdf3518397a90b6a208c sha512 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4 gdb-7.8.2.tar.xz sha512 eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414 gdb-7.9.1.tar.xz # No hash for the ARC & microblaze variants, comes from the github-helper: -none xxx gdb-arc-2015.06-rc1-gdb.tar.gz +none xxx gdb-arc-2015.06-gdb.tar.gz none xxx gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
package/uclibc/Config.in +1 -1
@@ -64,7 +64,7 @@ config BR2_USE_UCLIBC_SNAPSHOT config BR2_UCLIBC_VERSION_STRING string default "0.9.33.2" if BR2_UCLIBC_VERSION_0_9_33 - default "arc-2015.06-rc1" if BR2_UCLIBC_VERSION_ARC_GIT + default "arc-2015.06" if BR2_UCLIBC_VERSION_ARC_GIT default "1.0.3" if BR2_UCLIBC_VERSION_NG default BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOT
package/uclibc/uclibc.hash +1 -1
@@ -5,7 +5,7 @@ sha256 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 uClibc-0 sha256 b4c73fe3e7af4eeabf7510ee66ca85f775c3ed44d20b1bcd30c6ac481dd753cd uClibc-ng-1.0.3.tar.xz # No hash for the ARC variant, comes from the github-helper -none xxx uClibc-arc-2015.06-rc1.tar.gz +none xxx uClibc-arc-2015.06.tar.gz # No hash for this git snapshot none xxx uClibc-7bf35c8b7d4a1f97174eb49f47f33946b282114c.tar.gz
Signature · 1 line
2.4.3
PATCH 1/1 ARC: update tools to arc-2015.06 release
Hi Alexey,
Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
Quoted 13 lines
I'm happy to update GNU tools for ARC cores to the most recent arc-2015.06 release.
This release brings following major improvements:
* GCC: source update to v4.8.4
* GCC: C ABI compatibility between MetaWare and GNU toolchains
* uClibc: support for thread local storage and Native Pthread Library (NPTL)
* GDB: updated to version 7.9.1Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.
Quoted 8 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Anton Kolesov <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Romain Naour <[email protected]>---
I hope this time all required pieces are in place :)
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
Quoted 1 line
Quoted 1 line
Quoted 1 line
uclibc arc-2015.06 Patching
support/kconfig/merge_config.sh -m -O /home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06 package/uclibc/uClibc-snapshot.config Using package/uclibc/uClibc-snapshot.config as base
#
# merged configuration written to /home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config (needs make) # MKDIR include/config MKDIR include/generated MKDIR extra/config/lxdialog HOSTCC-o extra/config/conf.o GEN extra/config/zconf.tab.c GEN extra/config/zconf.lex.c GEN extra/config/zconf.hash.c /bin/sh: test/arc//extra/config/zconf.hash.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.hash.c' failed make[3]: *** [test/arc//extra/config/zconf.hash.c] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/sh: test/arc//extra/config/zconf.tab.c: No such file or directory /bin/sh: test/arc//extra/config/zconf.lex.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.tab.c' failed make[3]: *** [test/arc//extra/config/zconf.tab.c] Error 1 Makefile:70: recipe for target 'test/arc//extra/config/zconf.lex.c' failed make[3]: *** [test/arc//extra/config/zconf.lex.c] Error 1 Assembler messages: Fatal error: can't create test/arc//extra/config/conf.o: No such file or directory Makefile:64: recipe for target 'test/arc//extra/config/conf.o' failed make[3]: *** [test/arc//extra/config/conf.o] Error 1 Makefile.in:465: recipe for target 'test/arc//extra/config/conf' failed make[2]: *** [test/arc//extra/config/conf] Error 2 package/uclibc/uclibc.mk:485: recipe for target '/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config' failed make[1]: *** [/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config] Error 2 Makefile:36: recipe for target 'toolchain' failed make: *** [toolchain] Error 2
It seems a issue related of out of tree build...
The same issue happen with 2015.06-rc1/
However, it build fine without 'O='.
Humm, I tried to build different version of uClibc (-ng, -snapshot and -arc) and the out of tree build is broken.
Yann, have you an idea, is it a kconfig-package issue ?
Best regards,
Romain
Quoted 153 lines
---
package/binutils/Config.in.host | 2 +-.../binutils/{arc-2015.06-rc1 => arc-2015.06}/0001-PR-other-56780.patch | 0 .../600-poison-system-directories.patch | 0 package/binutils/binutils.hash | 2 +- package/binutils/binutils.mk | 2 +- package/gcc/Config.in.host | 2 +- .../gcc/{arc-2015.06-rc1 => arc-2015.06}/100-libstdcxx-uclibc-c99.patch | 0 package/gcc/{arc-2015.06-rc1 => arc-2015.06}/851-PR-other-56780.patch | 0 .../910-gcc-poison-system-directories.patch | 0 package/gcc/gcc.hash | 2 +- package/gdb/Config.in.host | 2 +- package/gdb/gdb.hash | 2 +- package/uclibc/Config.in | 2 +- package/uclibc/uclibc.hash | 2 +- 14 files changed, 9 insertions(+), 9 deletions(-) rename package/binutils/{arc-2015.06-rc1 => arc-2015.06}/0001-PR-other-56780.patch (100%) rename package/binutils/{arc-2015.06-rc1 => arc-2015.06}/600-poison-system-directories.patch (100%) rename package/gcc/{arc-2015.06-rc1 => arc-2015.06}/100-libstdcxx-uclibc-c99.patch (100%) rename package/gcc/{arc-2015.06-rc1 => arc-2015.06}/851-PR-other-56780.patch (100%) rename package/gcc/{arc-2015.06-rc1 => arc-2015.06}/910-gcc-poison-system-directories.patch (100%)package/binutils/Config.in.host +1
-1@@ -24,7 +24,7 @@ endchoice config BR2_BINUTILS_VERSION string - default "arc-2015.06-rc1" if BR2_arc + default "arc-2015.06" if BR2_arc default "2.23.2" if BR2_BINUTILS_VERSION_2_23_2 default "2.24" if BR2_BINUTILS_VERSION_2_24 default "2.25" if BR2_BINUTILS_VERSION_2_25package/binutils/arc-2015.06/0001-PR-other-56780.patch renamed from package/binutils/arc-2015.06-rc1/0001-PR-other-56780.patch +0
-0package/binutils/arc-2015.06/600-poison-system-directories.patch renamed from package/binutils/arc-2015.06-rc1/600-poison-system-directories.patch +0
-0package/binutils/binutils.hash +1
-1@@ -4,4 +4,4 @@ sha512 dec753bbba008f1526b89cf1bd85feba78f362f5333ffdf93953fd131eb755976dec82a0 sha512 5ec95ad47d49b12c4558a8db0ca2109d3ee1955e3776057f3330c4506f8f4d1cf5e505fbf8a16b98403a0fcdeaaf986fe0a22be6456247dbdace63ce1f776b12 binutils-2.24.tar.bz2 sha512 49438970642f379978aba988e3d2e7b63dab6fd0b46d91f4100f083e87a84d242089daca58572245fe620457a77bbbe2d78588ff3fb79314e500d1a39bf96f30 binutils-2.25.tar.bz2 # No hash for the ARC variant, comes from the github-helper: -none xxx binutils-arc-2015.06-rc1.tar.gz +none xxx binutils-arc-2015.06.tar.gzpackage/binutils/binutils.mk +1
-1@@ -9,7 +9,7 @@ BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION)) ifeq ($(BINUTILS_VERSION),) ifeq ($(BR2_arc),y) -BINUTILS_VERSION = arc-2015.06-rc1 +BINUTILS_VERSION = arc-2015.06 else BINUTILS_VERSION = 2.24 endifpackage/gcc/Config.in.host +1
-1@@ -99,7 +99,7 @@ config BR2_GCC_VERSION default "4.8.5" if BR2_GCC_VERSION_4_8_X default "4.9.3" if BR2_GCC_VERSION_4_9_X default "5.1.0" if BR2_GCC_VERSION_5_1_X - default "arc-2015.06-rc1" if BR2_GCC_VERSION_4_8_ARC + default "arc-2015.06" if BR2_GCC_VERSION_4_8_ARC config BR2_EXTRA_GCC_CONFIG_OPTIONS string "Additional gcc options"package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch renamed from package/gcc/arc-2015.06-rc1/100-libstdcxx-uclibc-c99.patch +0
-0package/gcc/arc-2015.06/851-PR-other-56780.patch renamed from package/gcc/arc-2015.06-rc1/851-PR-other-56780.patch +0
-0package/gcc/arc-2015.06/910-gcc-poison-system-directories.patch renamed from package/gcc/arc-2015.06-rc1/910-gcc-poison-system-directories.patch +0
-0package/gcc/gcc.hash +1
-1@@ -9,4 +9,4 @@ sha512 9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a31 # From ftp://gcc.gnu.org/pub/gcc/releases/gcc-5.1.0/sha512.sum sha512 30f6a94d3adb25bc51fcaddf32a6c41429f569eeb9ed64330445b1296f99998fbfa03277b375be4f7b2b80f519910ef88e4149db7cd9031e2c61a49f501bde94 gcc-5.1.0.tar.bz2 # No hash for the ARC variant, comes from the github-helper: -none xxx gcc-arc-2015.06-rc1.tar.gz +none xxx gcc-arc-2015.06.tar.gzpackage/gdb/Config.in.host +1
-1@@ -49,7 +49,7 @@ endif config BR2_GDB_VERSION string depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB - default "arc-2015.06-rc1-gdb" if BR2_arc + default "arc-2015.06-gdb" if BR2_arc default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze default "7.7.1" if BR2_GDB_VERSION_7_7 default "7.8.2" if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDBpackage/gdb/gdb.hash +1
-1@@ -3,5 +3,5 @@ sha512 887b9b726dae8f6e3e5e41574460a67e4f9002b0d47bc985dcf63bdf3518397a90b6a208c sha512 face5bf1b4ce144fc8604fc84620beed956177a11fd632b4e41906fc7f632910b2b43a50e6cfdfd6cbd876ee527c813bddab8df29dc560a6c36694cdb8edc4e4 gdb-7.8.2.tar.xz sha512 eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414 gdb-7.9.1.tar.xz # No hash for the ARC & microblaze variants, comes from the github-helper: -none xxx gdb-arc-2015.06-rc1-gdb.tar.gz +none xxx gdb-arc-2015.06-gdb.tar.gz none xxx gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gzpackage/uclibc/Config.in +1
-1@@ -64,7 +64,7 @@ config BR2_USE_UCLIBC_SNAPSHOT config BR2_UCLIBC_VERSION_STRING string default "0.9.33.2" if BR2_UCLIBC_VERSION_0_9_33 - default "arc-2015.06-rc1" if BR2_UCLIBC_VERSION_ARC_GIT + default "arc-2015.06" if BR2_UCLIBC_VERSION_ARC_GIT default "1.0.3" if BR2_UCLIBC_VERSION_NG default BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOTpackage/uclibc/uclibc.hash +1
-1@@ -5,7 +5,7 @@ sha256 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 uClibc-0 sha256 b4c73fe3e7af4eeabf7510ee66ca85f775c3ed44d20b1bcd30c6ac481dd753cd uClibc-ng-1.0.3.tar.xz # No hash for the ARC variant, comes from the github-helper -none xxx uClibc-arc-2015.06-rc1.tar.gz +none xxx uClibc-arc-2015.06.tar.gz # No hash for this git snapshot none xxx uClibc-7bf35c8b7d4a1f97174eb49f47f33946b282114c.tar.gz
PATCH 1/1 ARC: update tools to arc-2015.06 release
Le 17/07/2015 13:45, Romain Naour a ?crit :
Quoted 66 lines
Hi Alexey,
Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
Quoted 13 lines
I'm happy to update GNU tools for ARC cores to the most recent arc-2015.06 release.
This release brings following major improvements:
* GCC: source update to v4.8.4
* GCC: C ABI compatibility between MetaWare and GNU toolchains
* uClibc: support for thread local storage and Native Pthread Library (NPTL)
* GDB: updated to version 7.9.1Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.Quoted 8 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Anton Kolesov <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Romain Naour <[email protected]>---
I hope this time all required pieces are in place :)
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
Quoted 1 line
Quoted 1 line
Quoted 1 line
uclibc arc-2015.06 Patching
support/kconfig/merge_config.sh-m -O/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06package/uclibc/uClibc-snapshot.configUsingpackage/uclibc/uClibc-snapshot.configas base
## merged configuration written to /home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config (needs make) # MKDIR include/config MKDIR include/generated MKDIR extra/config/lxdialog HOSTCC-o extra/config/conf.o GEN extra/config/zconf.tab.c GEN extra/config/zconf.lex.c GEN extra/config/zconf.hash.c /bin/sh: test/arc//extra/config/zconf.hash.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.hash.c' failed make[3]: *** [test/arc//extra/config/zconf.hash.c] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/sh: test/arc//extra/config/zconf.tab.c: No such file or directory /bin/sh: test/arc//extra/config/zconf.lex.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.tab.c' failed make[3]: *** [test/arc//extra/config/zconf.tab.c] Error 1 Makefile:70: recipe for target 'test/arc//extra/config/zconf.lex.c' failed make[3]: *** [test/arc//extra/config/zconf.lex.c] Error 1 Assembler messages: Fatal error: can't create test/arc//extra/config/conf.o: No such file or directory Makefile:64: recipe for target 'test/arc//extra/config/conf.o' failed make[3]: *** [test/arc//extra/config/conf.o] Error 1 Makefile.in:465: recipe for target 'test/arc//extra/config/conf' failed make[2]: *** [test/arc//extra/config/conf] Error 2 package/uclibc/uclibc.mk:485: recipe for target '/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config' failed make[1]: *** [/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config] Error 2 Makefile:36: recipe for target 'toolchain' failed make: *** [toolchain] Error 2It seems a issue related of out of tree build...
The same issue happen with 2015.06-rc1/
Quoted 6 lines
However, it build fine without 'O='.
Humm, I tried to build different version of uClibc (-ng, -snapshot and -arc) and the out of tree build is broken.
Yann, have you an idea, is it a kconfig-package issue ?
I'm on master 0daffc0b65aa86d6d5bc6916736e0cffcdf540cc (setools: Add missing bison dependency). So after "core/out-of-tree: fix Makefile wrapper".
Romain
Quoted 5 lines
Best regards,
RomainQuoted 1 line
PATCH 1/1 ARC: update tools to arc-2015.06 release
Hi Romain,
Quoted 71 lines · Romain Naour
Le 17/07/2015 13:45, Romain Naour a ?crit :
Quoted 70 lines
Hi Alexey,
Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
Quoted 13 lines
I'm happy to update GNU tools for ARC cores to the most recent arc-2015.06 release.
This release brings following major improvements:
* GCC: source update to v4.8.4
* GCC: C ABI compatibility between MetaWare and GNU toolchains
* uClibc: support for thread local storage and Native Pthread Library (NPTL)
* GDB: updated to version 7.9.1Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.Quoted 8 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Anton Kolesov <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Romain Naour <[email protected]>---
I hope this time all required pieces are in place :)
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
Quoted 1 line
Quoted 1 line
Quoted 1 line
uclibc arc-2015.06 Patching
support/kconfig/merge_config.sh-m -O/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06package/uclibc/uClibc-snapshot.config
Usingpackage/uclibc/uClibc-snapshot.configas base
## merged configuration written to /home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config (needs make) # MKDIR include/config MKDIR include/generated MKDIR extra/config/lxdialog HOSTCC-o extra/config/conf.o GEN extra/config/zconf.tab.c GEN extra/config/zconf.lex.c GEN extra/config/zconf.hash.c /bin/sh: test/arc//extra/config/zconf.hash.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.hash.c' failed make[3]: *** [test/arc//extra/config/zconf.hash.c] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/sh: test/arc//extra/config/zconf.tab.c: No such file or directory /bin/sh: test/arc//extra/config/zconf.lex.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.tab.c' failed make[3]: *** [test/arc//extra/config/zconf.tab.c] Error 1 Makefile:70: recipe for target 'test/arc//extra/config/zconf.lex.c' failed make[3]: *** [test/arc//extra/config/zconf.lex.c] Error 1 Assembler messages: Fatal error: can't create test/arc//extra/config/conf.o: No such file or directory Makefile:64: recipe for target 'test/arc//extra/config/conf.o' failed make[3]: *** [test/arc//extra/config/conf.o] Error 1 Makefile.in:465: recipe for target 'test/arc//extra/config/conf' failed make[2]: *** [test/arc//extra/config/conf] Error 2 package/uclibc/uclibc.mk:485: recipe for target '/home/naourr/git/buildroot/test/arc/build/uclibc-arc -2015.06/.config' failed make[1]: *** [/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config] Error 2 Makefile:36: recipe for target 'toolchain' failed make: *** [toolchain] Error 2It seems a issue related of out of tree build...
The same issue happen with 2015.06-rc1/However, it build fine without 'O='.
Quoted 7 lines
Quoted 4 lines
Humm, I tried to build different version of uClibc (-ng, -snapshot and -arc) and the out of tree build is broken.
Yann, have you an idea, is it a kconfig-package issue ?
I'm on master
0daffc0b65aa86d6d5bc6916736e0cffcdf540cc(setools: Add missing bison dependency). So after "core/out-of-tree: fixMakefilewrapper".
It's pretty interesting.
I'm on 5eb5f2710c2451d7e35dd600e6ced835efb9dda5 (funny enough it's your commit) "package/libmemcached: disable documentation" and for me ARC toolchain gets built with O=xxx (I always build out of tree).
So yes probably we're seeing some regression.
-Alexey
PATCH 1/1 ARC: update tools to arc-2015.06 release
Alexey,
Le 17/07/2015 17:38, Alexey Brodkin a ?crit :
Quoted 79 lines
Hi Romain,
Quoted 76 lines · Romain Naour
Le 17/07/2015 13:45, Romain Naour a ?crit :
Quoted 74 lines
Hi Alexey,
Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
Quoted 13 lines
I'm happy to update GNU tools for ARC cores to the most recent arc-2015.06 release.
This release brings following major improvements:
* GCC: source update to v4.8.4
* GCC: C ABI compatibility between MetaWare and GNU toolchains
* uClibc: support for thread local storage and Native Pthread Library (NPTL)
* GDB: updated to version 7.9.1Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.Quoted 8 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Anton Kolesov <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Romain Naour <[email protected]>---
I hope this time all required pieces are in place :)
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
Quoted 1 line
Quoted 1 line
Quoted 1 line
uclibc arc-2015.06 Patching
support/kconfig/merge_config.sh-m -O/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06package/uclibc/uClibc-snapshot.config
Usingpackage/uclibc/uClibc-snapshot.configas base
## merged configuration written to /home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config (needs make) # MKDIR include/config MKDIR include/generated MKDIR extra/config/lxdialog HOSTCC-o extra/config/conf.o GEN extra/config/zconf.tab.c GEN extra/config/zconf.lex.c GEN extra/config/zconf.hash.c /bin/sh: test/arc//extra/config/zconf.hash.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.hash.c' failed make[3]: *** [test/arc//extra/config/zconf.hash.c] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/sh: test/arc//extra/config/zconf.tab.c: No such file or directory /bin/sh: test/arc//extra/config/zconf.lex.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.tab.c' failed make[3]: *** [test/arc//extra/config/zconf.tab.c] Error 1 Makefile:70: recipe for target 'test/arc//extra/config/zconf.lex.c' failed make[3]: *** [test/arc//extra/config/zconf.lex.c] Error 1 Assembler messages: Fatal error: can't create test/arc//extra/config/conf.o: No such file or directory Makefile:64: recipe for target 'test/arc//extra/config/conf.o' failed make[3]: *** [test/arc//extra/config/conf.o] Error 1 Makefile.in:465: recipe for target 'test/arc//extra/config/conf' failed make[2]: *** [test/arc//extra/config/conf] Error 2 package/uclibc/uclibc.mk:485: recipe for target '/home/naourr/git/buildroot/test/arc/build/uclibc-arc -2015.06/.config' failed make[1]: *** [/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config] Error 2 Makefile:36: recipe for target 'toolchain' failed make: *** [toolchain] Error 2It seems a issue related of out of tree build...
The same issue happen with 2015.06-rc1/However, it build fine without 'O='.
Humm, I tried to build different version of uClibc (-ng, -snapshot and -arc) and the out of tree build is broken.
Yann, have you an idea, is it a kconfig-package issue ?
Quoted 7 lines
Quoted 2 lines
I'm on master
0daffc0b65aa86d6d5bc6916736e0cffcdf540cc(setools: Add missing bison dependency). So after "core/out-of-tree: fixMakefilewrapper".It's pretty interesting.
I'm on5eb5f2710c2451d7e35dd600e6ced835efb9dda5(funny enough it's your commit) "package/libmemcached: disable documentation" and for me ARC toolchain gets built with O=xxx (I always build out of tree).
This is weird, because uClibc doesn't build for me with O=, since bee5745ccc20be6dbba243b1f8af0d5c522923e8 (Makefile: don't depend on the umask).
It seems that Arnout was not affected by this issue when reviewing/testing. Also someone else reported this issue on IRC today.
My umask was 0002 and I had to set it to 0022 to workaround the issue.
Romain
Quoted 5 lines
So yes probably we're seeing some regression.
-Alexey
PATCH 1/1 ARC: update tools to arc-2015.06 release
In reply to Romain NaourRomain, All,
On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
[--SNIP--]
Quoted 29 lines
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
Quoted 1 line
Quoted 1 line
Quoted 1 line
uclibc arc-2015.06 Patching
support/kconfig/merge_config.sh-m -O/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06package/uclibc/uClibc-snapshot.configUsingpackage/uclibc/uClibc-snapshot.configas base
## merged configuration written to /home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config (needs make) # MKDIR include/config MKDIR include/generated MKDIR extra/config/lxdialog HOSTCC-o extra/config/conf.o GEN extra/config/zconf.tab.c GEN extra/config/zconf.lex.c GEN extra/config/zconf.hash.c /bin/sh: test/arc//extra/config/zconf.hash.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.hash.c' failed make[3]: *** [test/arc//extra/config/zconf.hash.c] Error 1 make[3]: *** Waiting for unfinished jobs.... /bin/sh: test/arc//extra/config/zconf.tab.c: No such file or directory /bin/sh: test/arc//extra/config/zconf.lex.c: No such file or directory Makefile:70: recipe for target 'test/arc//extra/config/zconf.tab.c' failed make[3]: *** [test/arc//extra/config/zconf.tab.c] Error 1 Makefile:70: recipe for target 'test/arc//extra/config/zconf.lex.c' failed make[3]: *** [test/arc//extra/config/zconf.lex.c] Error 1 Assembler messages: Fatal error: can't create test/arc//extra/config/conf.o: No such file or directory
Quoted 8 lines
Makefile:64: recipe for target 'test/arc//extra/config/conf.o' failed make[3]: *** [test/arc//extra/config/conf.o] Error 1 Makefile.in:465: recipe for target 'test/arc//extra/config/conf' failed make[2]: *** [test/arc//extra/config/conf] Error 2 package/uclibc/uclibc.mk:485: recipe for target '/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config' failed make[1]: *** [/home/naourr/git/buildroot/test/arc/build/uclibc-arc-2015.06/.config] Error 2 Makefile:36: recipe for target 'toolchain' failed make: *** [toolchain] Error 2
OK, I was able to reproduce the error. Here it goes (all done from the Buildroot top dir, path: /home/ymorin/dev/buildroot/buildroot ):
Attempt #1:
$ mkdir ../O
$ cd ../O
$ make -C ../buildroot O=$(pwd) defconfig
$ make uclibc
# Success!Attempt #2:
$ mkdir test/O
$ make O=test/O defconfig
$ make O=test/O uclibc
# Bummer, failure.So, it all happens because of the origin of $(O), it seems.
Guido and I have been discussing that on IRC, and I'm testing to "unexport O" in the path where umask is wrong.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 ARC: update tools to arc-2015.06 release
Romain, All,
On 2015-07-18 00:23 +0200, Yann E. MORIN spake thusly:
Quoted 5 lines
On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
[--SNIP--]Quoted 3 lines
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
[--SNIP--]
Quoted 1 line
OK, I was able to reproduce the error. [...]
Here's a patch that does fix the issue.
Tested on-top of master, with:
- in-tree build
- out-of-tree build without makefile wrapper (Romain's use-case)
- out-of-tree build with makefile wrapper (my use-case)
They all worked at least so far as to build uclibc (make uclibc); nothing more was attempted).
The change is not unlike what we already had to test where O was coming from, but we just reverse the logic to keep only what we're interested in, and we forcibly unexport O.
I'm not really happy with the patch to start with (hence I'm not officially pushing it):
diff --git a/Makefile b/Makefile
index 531ac5d..5abca65 100644
--- a/Makefile
+++ b/Makefile
@@ -29,11 +29,16 @@ UMASK=0022
ifneq ($(shell umask),$(UMASK))
.PHONY: all $(MAKECMDGOALS)
+ifeq ($(origin O),command line)
+EXTRAMAKEARGS = O=$(O)
+endif
+unexport O
+
all:
- @umask $(UMASK) && $(MAKE ) --no-print-directory
+ @umask $(UMASK) && $(MAKE) $(EXTRAMAKEARGS) -- no-print-directory
$(MAKECMDGOALS):
- @umask $(UMASK) && $(MAKE) --n o-print-directory $@
+ @umask $(UMASK) && $(MAKE) $(EXTRAMAKEARGS) --no -print-directory $@
else # umaskI'll let a night pass by on this and maybe I'll have a cleaner solution tomorrow.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 ARC: update tools to arc-2015.06 release
Hi Yann, all,
Quoted 42 lines · Yann E. MORIN
Romain, All,
On 2015-07-18 00:23 +0200, Yann E. MORIN spake thusly:
Quoted 5 lines
On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
[--SNIP--]Quoted 3 lines
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
[--SNIP--]
Quoted 1 line
OK, I was able to reproduce the error. [...]
Here's a patch that does fix the issue.
Tested on-top of master, with:
- in-tree build
- out-of-tree build without makefile wrapper (Romain's use-case)
- out-of-tree build with makefile wrapper (my use-case)They all worked at least so far as to build uclibc (make uclibc); nothing more was attempted).
The change is not unlike what we already had to test where O was coming from, but we just reverse the logic to keep only what we're interested in, and we forcibly unexport O.
I'm not really happy with the patch to start with (hence I'm not officially pushing it):
diff --git a/Makefile b/Makefile index 531ac5d..5abca65 100644 --- a/Makefile +++ b/Makefile @@ -29,11 +29,16 @@ UMASK=0022 ifneq ($(shell umask),$(UMASK)) .PHONY: all $(MAKECMDGOALS) +ifeq ($(origin O),command line) +EXTRAMAKEARGS = O=$(O) +endif +unexport O + all:
Quoted 8 lines
- @umask $(UMASK) && $(MAKE ) --no-print-directory
+ @umask $(UMASK) && $(MAKE) $(EXTRAMAKEARGS) -- no-print-directory
$(MAKECMDGOALS):
- @umask $(UMASK) && $(MAKE) --n o-print-directory $@
+ @umask $(UMASK) && $(MAKE) $(EXTRAMAKEARGS) --no -print-directory $@
else # umaskThis works OK. But I think something like:
diff --git a/Makefile b/Makefile index afdf554..df52c85 100644 --- a/Makefile +++ b/Makefile @@ -329,6 +329,7 @@ unexport CONFIG_SITE unexport QMAKESPEC unexport TERMINFO unexport MACHINE +unexport O GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)
does too. Maybe I'm missing something, but I don't think we would ever want to export $(O) to any of the package Makefiles, the same way we don't export $(CC).
Note that $(origin O) will still be "command line" in the sub-make after setting the umask, since "O=..." will be set in $(MAKEFLAGS), thus there shouldn't be a difference in the run.
I tested those 3 cases you mentioned and they work OK, but I'll run full builds in a minute.
Signature · 2 lines
Guido Mart?nez, VanguardiaSur www.vanguardiasur.com.ar
PATCH 1/1 ARC: update tools to arc-2015.06 release
Hi Guido,
Le 18/07/2015 05:17, Guido Mart?nez a ?crit :
Quoted 72 lines
Hi Yann, all,
Quoted 42 lines · Yann E. MORIN
Romain, All,
On 2015-07-18 00:23 +0200, Yann E. MORIN spake thusly:
Quoted 5 lines
On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
[--SNIP--]Quoted 3 lines
Your patch looks good, but I have a build failure with uclibc:
make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
[--SNIP--]
Quoted 1 line
OK, I was able to reproduce the error. [...]
Here's a patch that does fix the issue.
Tested on-top of master, with:
- in-tree build
- out-of-tree build without makefile wrapper (Romain's use-case)
- out-of-tree build with makefile wrapper (my use-case)They all worked at least so far as to build uclibc (make uclibc); nothing more was attempted).
The change is not unlike what we already had to test where O was coming from, but we just reverse the logic to keep only what we're interested in, and we forcibly unexport O.
I'm not really happy with the patch to start with (hence I'm not officially pushing it):
diff --git a/Makefile b/Makefile index 531ac5d..5abca65 100644 --- a/Makefile +++ b/Makefile @@ -29,11 +29,16 @@ UMASK=0022 ifneq ($(shell umask),$(UMASK)) .PHONY: all $(MAKECMDGOALS) +ifeq ($(origin O),command line) +EXTRAMAKEARGS = O=$(O) +endif +unexport O + all:Quoted 8 lines
- @umask $(UMASK) && $(MAKE ) --no-print-directory + @umask $(UMASK) && $(MAKE) $(EXTRAMAKEARGS) -- no-print-directory $(MAKECMDGOALS): - @umask $(UMASK) && $(MAKE) --n o-print-directory $@ + @umask $(UMASK) && $(MAKE) $(EXTRAMAKEARGS) --no -print-directory $@ else # umaskThis works OK. But I think something like:
diff --git a/Makefile b/Makefile index afdf554..df52c85 100644 --- a/Makefile +++ b/Makefile @@ -329,6 +329,7 @@ unexport CONFIG_SITE unexport QMAKESPEC unexport TERMINFO unexport MACHINE +unexport O GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)does too. Maybe I'm missing something, but I don't think we would ever want to export $(O) to any of the package Makefiles, the same way we don't export $(CC).
Quoted 7 lines
Note that $(origin O) will still be "command line" in the sub-make after setting the umask, since "O=..." will be set in $(MAKEFLAGS), thus there shouldn't be a difference in the run.
I tested those 3 cases you mentioned and they work OK, but I'll run full builds in a minute.
Can you send a proper patch to the list please?
I'm using this change and it fixes the uClibc-ng build without regression so far.
Best regards,
Romain Naour
Thomas Petazzoni
AppliedPATCH 1/1 ARC: update tools to arc-2015.06 release
In reply to Alexey BrodkinDear Alexey Brodkin,
Quoted 13 lines · Alexey Brodkin
I'm happy to update GNU tools for ARC cores to the most recent arc-2015.06 release.
This release brings following major improvements:
* GCC: source update to v4.8.4
* GCC: C ABI compatibility between MetaWare and GNU toolchains
* uClibc: support for thread local storage and Native Pthread Library (NPTL)
* GDB: updated to version 7.9.1Also a lot of fixes and improvements has been done, please refer to
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2015.06
for more details.
Quoted 6 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Anton Kolesov <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc Peter Korsgaard <[email protected]>Cc Romain Naour <[email protected]>---
Applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com