Skip to contentSkip to conversation

autobuild-run: Do not build civetweb with this external MIPS toolchain

PATCH New Vicente Olivert Riera 2 participants 2 messages Nov 5, 2014 – Nov 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autobuild-run: Do not build civetweb with this external MIPS toolchain

This MIPS uClibc toolchain doesn't have the needed fix in order to build the civetweb package statically for uClibc. It fails with messages like these ones:

libdl.c:(.text+0x1840): undefined reference to TLS_DTPREL_VALUE' libdl.c:(.text+0x1884): undefined reference to TLS_TPREL_VALUE'

This has been already fixed in Buildroot, but this toolchain was generated before.

Related:
http://lists.uclibc.org/pipermail/uclibc/2013-April/047708.html
http://git.buildroot.net/buildroot/commit/?id=c0b4c45780e4ffe23101a407e7c4cde22e27815a

Fixes:
http://autobuild.buildroot.net/results/4a1/4a179bebdc9cd85780d7f16f672ee019a1947147/

---
 scripts/autobuild-run |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
scripts/autobuild-run +4 -0
index 40291ce..13752f9 100755
@@ -298,6 +298,10 @@ def fixup_config(instance, sysinfo):
     if 'BR2_PACKAGE_RT_TESTS=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
+    # This MIPS uClibc toolchain fails to build the civetweb package
+    if 'BR2_PACKAGE_CIVETWEB=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
     # This MIPS ctng toolchain fails to build the python3 package
     if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \
        'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines:
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 autobuild-run: Do not build civetweb with this external MIPS toolchain

Dear Vicente Olivert Riera,

Quoted 2 lines · Vicente Olivert Riera

This has been already fixed in Buildroot, but this toolchain was generated before.

The toolchain you are excluding as *not* been generated by Buildroot, but by Crosstool-NG, as the "ctng" part of the tarball name suggests.

So, I'm fine with the change, but not really with the commit log :-)

Thanks,

Thomas

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