Skip to contentSkip to conversation

autobuild-run: update cs nios2 toolchain comment about PR19405.

PATCH New Romain Naour 2 participants 3 messages May 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 autobuild-run: update cs nios2 toolchain comment about PR19405.

The toolchain was updated to 2017.02 but the PR19405 issue is still present.

---
 scripts/autobuild-run | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/autobuild-run +2 -2
index 20e0033..ed3ddd2 100755
@@ -495,11 +495,11 @@ def fixup_config(**kwargs):
     if 'BR2_PACKAGE_WESTON=y\n' in configlines and \
        'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines:
         return False
-    # The cs nios2 2016.05 toolchain is affected by binutils PR19405
+    # The cs nios2 2017.02 toolchain is affected by binutils PR19405
     if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \
        'BR2_PACKAGE_BOOST=y\n' in configlines:
         return False
-    # The cs nios2 2016.05 toolchain is affected by binutils PR19405
+    # The cs nios2 2017.02 toolchain is affected by binutils PR19405
     if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \
        'BR2_PACKAGE_QT5BASE_GUI=y\n' in configlines:
         return False
Signature · 1 line
2.9.3
#1 lore raw

PATCH 2/2 autobuild-run: Add an exception for CS nios2 2016.05 with qt package (gui)

This toolchain is affected by binutils PR19405 so use an autobuilder exception like for boost and qt5base (gui). This allow to remove all toolchain dependencies on the GUI option of qt package and it's reverse dependencies.

https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Fixes:
http://autobuild.buildroot.net/results/ee562524c5b12191e584ceae89006c5a5103e700

---
 scripts/autobuild-run | 4 ++++
 1 file changed, 4 insertions(+)
scripts/autobuild-run +4 -0
index ed3ddd2..5dcbe5f 100755
@@ -503,6 +503,10 @@ def fixup_config(**kwargs):
     if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \
        'BR2_PACKAGE_QT5BASE_GUI=y\n' in configlines:
         return False
+    # The cs nios2 2017.02 toolchain is affected by binutils PR19405
+    if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \
+       'BR2_PACKAGE_QT_GUI_MODULE=y\n' in configlines:
+        return False
 
     with open(os.path.join(outputdir, ".config"), "w+") as configf:
         configf.writelines(configlines)
Signature · 1 line
2.9.3
#2 lore raw

PATCH 1/2 autobuild-run: update cs nios2 toolchain comment about PR19405.

In reply to Romain Naour

Hello,

Quoted 7 lines · Romain Naour

The toolchain was updated to 2017.02 but the PR19405 issue is still present.

---
 scripts/autobuild-run | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Both applied to buildroot-test, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com