* [Buildroot] [PATCH] package/guile: disable for CS 2014.05 ARM toolchain
@ 2016-11-06 22:32 Romain Naour
2016-11-06 22:43 ` Romain Naour
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2016-11-06 22:32 UTC (permalink / raw)
To: buildroot
With this toolchain, guile tigger an assembler error probably caused by
the binutils version being used:
arm-none-linux-gnueabi-ld --version
GNU ld (Sourcery CodeBench Lite 2014.05-29) 2.24.51.20140217
arm-none-linux-gnueabi-gcc --version
arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)
Nowaday, even with a Buildroot internal toolchain using the oldest
Binutils GCC version (2.25.1 and 4.8.6), guile build fine.
So, disable guile for the CS 2014.05 ARM toolchain.
Fixes:
http://autobuild.buildroot.net/results/976/976b3477407e64c8c2fc2309ed952d0083903a19
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/guile/Config.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/guile/Config.in b/package/guile/Config.in
index e0f6571..bfba5e7 100644
--- a/package/guile/Config.in
+++ b/package/guile/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_GUILE
bool "guile"
+ # Triggers assembler error
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
@@ -17,6 +19,7 @@ config BR2_PACKAGE_GUILE
http://www.gnu.org/software/guile
comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library"
+ depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
--
2.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/guile: disable for CS 2014.05 ARM toolchain
2016-11-06 22:32 [Buildroot] [PATCH] package/guile: disable for CS 2014.05 ARM toolchain Romain Naour
@ 2016-11-06 22:43 ` Romain Naour
0 siblings, 0 replies; 2+ messages in thread
From: Romain Naour @ 2016-11-06 22:43 UTC (permalink / raw)
To: buildroot
Hi,
Le 06/11/2016 ? 23:32, Romain Naour a ?crit :
> With this toolchain, guile tigger an assembler error probably caused by
> the binutils version being used:
>
> arm-none-linux-gnueabi-ld --version
> GNU ld (Sourcery CodeBench Lite 2014.05-29) 2.24.51.20140217
>
> arm-none-linux-gnueabi-gcc --version
> arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)
>
> Nowaday, even with a Buildroot internal toolchain using the oldest
> Binutils GCC version (2.25.1 and 4.8.6), guile build fine.
>
> So, disable guile for the CS 2014.05 ARM toolchain.
I forgot to test with different optimization option...
The assembler message is trigged only when -Os is used.
We may simply force -O2 when this toolchain is used.
Best regards,
Romain
>
> Fixes:
> http://autobuild.buildroot.net/results/976/976b3477407e64c8c2fc2309ed952d0083903a19
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> package/guile/Config.in | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/guile/Config.in b/package/guile/Config.in
> index e0f6571..bfba5e7 100644
> --- a/package/guile/Config.in
> +++ b/package/guile/Config.in
> @@ -1,5 +1,7 @@
> config BR2_PACKAGE_GUILE
> bool "guile"
> + # Triggers assembler error
> + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
> depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l
> depends on BR2_TOOLCHAIN_HAS_THREADS
> depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
> @@ -17,6 +19,7 @@ config BR2_PACKAGE_GUILE
> http://www.gnu.org/software/guile
>
> comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library"
> + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM
> depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
> BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-06 22:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-06 22:32 [Buildroot] [PATCH] package/guile: disable for CS 2014.05 ARM toolchain Romain Naour
2016-11-06 22:43 ` Romain Naour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox