* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
@ 2015-07-15 12:51 Alexey Brodkin
2015-07-17 11:45 ` Romain Naour
2015-07-18 9:14 ` Thomas Petazzoni
0 siblings, 2 replies; 10+ messages in thread
From: Alexey Brodkin @ 2015-07-15 12:51 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@openwide.fr>
---
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%)
diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index 76e7e77..70253cc 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -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
diff --git a/package/binutils/arc-2015.06-rc1/0001-PR-other-56780.patch b/package/binutils/arc-2015.06/0001-PR-other-56780.patch
similarity index 100%
rename from package/binutils/arc-2015.06-rc1/0001-PR-other-56780.patch
rename to package/binutils/arc-2015.06/0001-PR-other-56780.patch
diff --git a/package/binutils/arc-2015.06-rc1/600-poison-system-directories.patch b/package/binutils/arc-2015.06/600-poison-system-directories.patch
similarity index 100%
rename from package/binutils/arc-2015.06-rc1/600-poison-system-directories.patch
rename to package/binutils/arc-2015.06/600-poison-system-directories.patch
diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash
index f662adc..6f45a9c 100644
--- a/package/binutils/binutils.hash
+++ b/package/binutils/binutils.hash
@@ -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
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 009a900..535c019 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -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
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 4501b32..890e728 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -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"
diff --git a/package/gcc/arc-2015.06-rc1/100-libstdcxx-uclibc-c99.patch b/package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch
similarity index 100%
rename from package/gcc/arc-2015.06-rc1/100-libstdcxx-uclibc-c99.patch
rename to package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch
diff --git a/package/gcc/arc-2015.06-rc1/851-PR-other-56780.patch b/package/gcc/arc-2015.06/851-PR-other-56780.patch
similarity index 100%
rename from package/gcc/arc-2015.06-rc1/851-PR-other-56780.patch
rename to package/gcc/arc-2015.06/851-PR-other-56780.patch
diff --git a/package/gcc/arc-2015.06-rc1/910-gcc-poison-system-directories.patch b/package/gcc/arc-2015.06/910-gcc-poison-system-directories.patch
similarity index 100%
rename from package/gcc/arc-2015.06-rc1/910-gcc-poison-system-directories.patch
rename to package/gcc/arc-2015.06/910-gcc-poison-system-directories.patch
diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
index 1506ad9..d3fe363 100644
--- a/package/gcc/gcc.hash
+++ b/package/gcc/gcc.hash
@@ -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
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index d2469fc..3207794 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -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
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index cf397d8..a970f0a 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -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
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 14f713c..2e00f2f 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -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
diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
index 36fa86f..e04a4cc 100644
--- a/package/uclibc/uclibc.hash
+++ b/package/uclibc/uclibc.hash
@@ -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
--
2.4.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-15 12:51 [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release Alexey Brodkin
@ 2015-07-17 11:45 ` Romain Naour
2015-07-17 11:55 ` Romain Naour
2015-07-17 22:23 ` Yann E. MORIN
2015-07-18 9:14 ` Thomas Petazzoni
1 sibling, 2 replies; 10+ messages in thread
From: Romain Naour @ 2015-07-17 11:45 UTC (permalink / raw)
To: buildroot
Hi Alexey,
Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
> 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.
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Anton Kolesov <akolesov@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> Cc: Romain Naour <romain.naour@openwide.fr>
> ---
>
> 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
>>> 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
>
> ---
> 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%)
>
> diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
> index 76e7e77..70253cc 100644
> --- a/package/binutils/Config.in.host
> +++ b/package/binutils/Config.in.host
> @@ -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
> diff --git a/package/binutils/arc-2015.06-rc1/0001-PR-other-56780.patch b/package/binutils/arc-2015.06/0001-PR-other-56780.patch
> similarity index 100%
> rename from package/binutils/arc-2015.06-rc1/0001-PR-other-56780.patch
> rename to package/binutils/arc-2015.06/0001-PR-other-56780.patch
> diff --git a/package/binutils/arc-2015.06-rc1/600-poison-system-directories.patch b/package/binutils/arc-2015.06/600-poison-system-directories.patch
> similarity index 100%
> rename from package/binutils/arc-2015.06-rc1/600-poison-system-directories.patch
> rename to package/binutils/arc-2015.06/600-poison-system-directories.patch
> diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash
> index f662adc..6f45a9c 100644
> --- a/package/binutils/binutils.hash
> +++ b/package/binutils/binutils.hash
> @@ -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
> diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
> index 009a900..535c019 100644
> --- a/package/binutils/binutils.mk
> +++ b/package/binutils/binutils.mk
> @@ -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
> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
> index 4501b32..890e728 100644
> --- a/package/gcc/Config.in.host
> +++ b/package/gcc/Config.in.host
> @@ -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"
> diff --git a/package/gcc/arc-2015.06-rc1/100-libstdcxx-uclibc-c99.patch b/package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch
> similarity index 100%
> rename from package/gcc/arc-2015.06-rc1/100-libstdcxx-uclibc-c99.patch
> rename to package/gcc/arc-2015.06/100-libstdcxx-uclibc-c99.patch
> diff --git a/package/gcc/arc-2015.06-rc1/851-PR-other-56780.patch b/package/gcc/arc-2015.06/851-PR-other-56780.patch
> similarity index 100%
> rename from package/gcc/arc-2015.06-rc1/851-PR-other-56780.patch
> rename to package/gcc/arc-2015.06/851-PR-other-56780.patch
> diff --git a/package/gcc/arc-2015.06-rc1/910-gcc-poison-system-directories.patch b/package/gcc/arc-2015.06/910-gcc-poison-system-directories.patch
> similarity index 100%
> rename from package/gcc/arc-2015.06-rc1/910-gcc-poison-system-directories.patch
> rename to package/gcc/arc-2015.06/910-gcc-poison-system-directories.patch
> diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
> index 1506ad9..d3fe363 100644
> --- a/package/gcc/gcc.hash
> +++ b/package/gcc/gcc.hash
> @@ -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
> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
> index d2469fc..3207794 100644
> --- a/package/gdb/Config.in.host
> +++ b/package/gdb/Config.in.host
> @@ -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
> diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
> index cf397d8..a970f0a 100644
> --- a/package/gdb/gdb.hash
> +++ b/package/gdb/gdb.hash
> @@ -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
> diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
> index 14f713c..2e00f2f 100644
> --- a/package/uclibc/Config.in
> +++ b/package/uclibc/Config.in
> @@ -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
>
> diff --git a/package/uclibc/uclibc.hash b/package/uclibc/uclibc.hash
> index 36fa86f..e04a4cc 100644
> --- a/package/uclibc/uclibc.hash
> +++ b/package/uclibc/uclibc.hash
> @@ -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
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-17 11:45 ` Romain Naour
@ 2015-07-17 11:55 ` Romain Naour
2015-07-17 15:38 ` Alexey Brodkin
2015-07-17 22:23 ` Yann E. MORIN
1 sibling, 1 reply; 10+ messages in thread
From: Romain Naour @ 2015-07-17 11:55 UTC (permalink / raw)
To: buildroot
Le 17/07/2015 13:45, Romain Naour a ?crit :
> Hi Alexey,
>
> Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
>> 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.
>>
>> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
>> Cc: Anton Kolesov <akolesov@synopsys.com>
>> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>> Cc: Peter Korsgaard <peter@korsgaard.com>
>> Cc: Romain Naour <romain.naour@openwide.fr>
>> ---
>>
>> 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
>
>>>> 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 ?
I'm on master 0daffc0b65aa86d6d5bc6916736e0cffcdf540cc (setools: Add missing
bison dependency). So after "core/out-of-tree: fix Makefile wrapper".
Romain
>
> Best regards,
> Romain
>
>>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-17 11:55 ` Romain Naour
@ 2015-07-17 15:38 ` Alexey Brodkin
2015-07-17 17:24 ` Romain Naour
0 siblings, 1 reply; 10+ messages in thread
From: Alexey Brodkin @ 2015-07-17 15:38 UTC (permalink / raw)
To: buildroot
Hi Romain,
On Fri, 2015-07-17 at 13:55 +0200, Romain Naour wrote:
> Le 17/07/2015 13:45, Romain Naour a ?crit :
> > Hi Alexey,
> >
> > Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
> > > 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.
> > >
> > > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > > Cc: Anton Kolesov <akolesov@synopsys.com>
> > > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > Cc: Peter Korsgaard <peter@korsgaard.com>
> > > Cc: Romain Naour <romain.naour@openwide.fr>
> > > ---
> > >
> > > 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
> >
> > > > > 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 ?
>
> I'm on master 0daffc0b65aa86d6d5bc6916736e0cffcdf540cc (setools: Add missing
> bison dependency). So after "core/out-of-tree: fix Makefile wrapper".
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-17 15:38 ` Alexey Brodkin
@ 2015-07-17 17:24 ` Romain Naour
0 siblings, 0 replies; 10+ messages in thread
From: Romain Naour @ 2015-07-17 17:24 UTC (permalink / raw)
To: buildroot
Alexey,
Le 17/07/2015 17:38, Alexey Brodkin a ?crit :
> Hi Romain,
>
> On Fri, 2015-07-17 at 13:55 +0200, Romain Naour wrote:
>> Le 17/07/2015 13:45, Romain Naour a ?crit :
>>> Hi Alexey,
>>>
>>> Le 15/07/2015 14:51, Alexey Brodkin a ?crit :
>>>> 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.
>>>>
>>>> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
>>>> Cc: Anton Kolesov <akolesov@synopsys.com>
>>>> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>>>> Cc: Peter Korsgaard <peter@korsgaard.com>
>>>> Cc: Romain Naour <romain.naour@openwide.fr>
>>>> ---
>>>>
>>>> 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
>>>
>>>>>> 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 ?
>>
>> I'm on master 0daffc0b65aa86d6d5bc6916736e0cffcdf540cc (setools: Add missing
>> bison dependency). So after "core/out-of-tree: fix Makefile wrapper".
>
> 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).
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
>
> So yes probably we're seeing some regression.
>
> -Alexey
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-17 11:45 ` Romain Naour
2015-07-17 11:55 ` Romain Naour
@ 2015-07-17 22:23 ` Yann E. MORIN
2015-07-17 22:54 ` Yann E. MORIN
1 sibling, 1 reply; 10+ messages in thread
From: Yann E. MORIN @ 2015-07-17 22:23 UTC (permalink / raw)
To: buildroot
Romain, All,
On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
[--SNIP--]
> Your patch looks good, but I have a build failure with uclibc:
>
> make O=test/arc/ toolchain 2>&1 | tee build-arc-toolchain.log
>
> >>> 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
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.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-17 22:23 ` Yann E. MORIN
@ 2015-07-17 22:54 ` Yann E. MORIN
2015-07-18 3:17 ` Guido Martínez
0 siblings, 1 reply; 10+ messages in thread
From: Yann E. MORIN @ 2015-07-17 22:54 UTC (permalink / raw)
To: buildroot
Romain, All,
On 2015-07-18 00:23 +0200, Yann E. MORIN spake thusly:
> On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
> [--SNIP--]
> > 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--]
> 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 # umask
I'll let a night pass by on this and maybe I'll have a cleaner solution
tomorrow.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-17 22:54 ` Yann E. MORIN
@ 2015-07-18 3:17 ` Guido Martínez
2015-07-25 9:24 ` Romain Naour
0 siblings, 1 reply; 10+ messages in thread
From: Guido Martínez @ 2015-07-18 3:17 UTC (permalink / raw)
To: buildroot
Hi Yann, all,
On Sat, Jul 18, 2015 at 12:54:15AM +0200, Yann E. MORIN wrote:
> Romain, All,
>
> On 2015-07-18 00:23 +0200, Yann E. MORIN spake thusly:
> > On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
> > [--SNIP--]
> > > 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--]
> > 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 # umask
This 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.
--
Guido Mart?nez, VanguardiaSur
www.vanguardiasur.com.ar
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-15 12:51 [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release Alexey Brodkin
2015-07-17 11:45 ` Romain Naour
@ 2015-07-18 9:14 ` Thomas Petazzoni
1 sibling, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2015-07-18 9:14 UTC (permalink / raw)
To: buildroot
Dear Alexey Brodkin,
On Wed, 15 Jul 2015 15:51:18 +0300, Alexey Brodkin wrote:
> 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.
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Anton Kolesov <akolesov@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> Cc: Romain Naour <romain.naour@openwide.fr>
> ---
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release
2015-07-18 3:17 ` Guido Martínez
@ 2015-07-25 9:24 ` Romain Naour
0 siblings, 0 replies; 10+ messages in thread
From: Romain Naour @ 2015-07-25 9:24 UTC (permalink / raw)
To: buildroot
Hi Guido,
Le 18/07/2015 05:17, Guido Mart?nez a ?crit :
> Hi Yann, all,
>
> On Sat, Jul 18, 2015 at 12:54:15AM +0200, Yann E. MORIN wrote:
>> Romain, All,
>>
>> On 2015-07-18 00:23 +0200, Yann E. MORIN spake thusly:
>>> On 2015-07-17 13:45 +0200, Romain Naour spake thusly:
>>> [--SNIP--]
>>>> 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--]
>>> 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 # umask
>
> This 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.
>
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
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-07-25 9:24 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-15 12:51 [Buildroot] [PATCH] ARC: update tools to arc-2015.06 release Alexey Brodkin
2015-07-17 11:45 ` Romain Naour
2015-07-17 11:55 ` Romain Naour
2015-07-17 15:38 ` Alexey Brodkin
2015-07-17 17:24 ` Romain Naour
2015-07-17 22:23 ` Yann E. MORIN
2015-07-17 22:54 ` Yann E. MORIN
2015-07-18 3:17 ` Guido Martínez
2015-07-25 9:24 ` Romain Naour
2015-07-18 9:14 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.