* [Buildroot] [PATCH autobuild-run] autobuild-run: Add an exception for ctng toolchain armv5 with Guile package
@ 2016-11-11 9:15 Romain Naour
2016-11-11 21:10 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2016-11-11 9:15 UTC (permalink / raw)
To: buildroot
Like for CS 2014.05 ARM toolchain, the ctng toolchain trigger an
assembler error when Guile package is compiled with -Os.
[1] https://git.buildroot.net/buildroot/commit/?id=401c47e44b26e97db1c12cce0a42c62cfb72a9b9
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
scripts/autobuild-run | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index 2583098..65276bd 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -424,6 +424,10 @@ def fixup_config(**kwargs):
if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \
'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/armv5-ctng-linux-gnueabi.tar.xz"\n' in configlines:
return False
+ # The ctng toolchain tigger an assembler error with guile package when compiled with -Os (same issue as for CS ARM 2014.05-29)
+ if 'BR2_PACKAGE_GUILE=y\n' in configlines and 'BR2_OPTIMIZE_S=y\n' in configlines and \
+ 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/armv5-ctng-linux-gnueabi.tar.xz"\n' in configlines:
+ return False
# The ctng toolchain is affected by PR58854
if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \
'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/armv6-ctng-linux-uclibcgnueabi.tar.xz"\n' in configlines:
--
2.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH autobuild-run] autobuild-run: Add an exception for ctng toolchain armv5 with Guile package
2016-11-11 9:15 [Buildroot] [PATCH autobuild-run] autobuild-run: Add an exception for ctng toolchain armv5 with Guile package Romain Naour
@ 2016-11-11 21:10 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-11-11 21:10 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 11 Nov 2016 10:15:06 +0100, Romain Naour wrote:
> Like for CS 2014.05 ARM toolchain, the ctng toolchain trigger an
> assembler error when Guile package is compiled with -Os.
>
> [1] https://git.buildroot.net/buildroot/commit/?id=401c47e44b26e97db1c12cce0a42c62cfb72a9b9
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> scripts/autobuild-run | 4 ++++
> 1 file changed, 4 insertions(+)
Applied, thanks! However, it will take some time to get everyone to
update their copy of the autobuild-run script.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-11 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-11 9:15 [Buildroot] [PATCH autobuild-run] autobuild-run: Add an exception for ctng toolchain armv5 with Guile package Romain Naour
2016-11-11 21:10 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox