Skip to contentSkip to conversation

autobuild-run: Do not build civetweb with a known non-working external MIPS toolchain

PATCH New Vicente Olivert Riera 2 participants 4 messages Dec 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autobuild-run: Do not build civetweb with a known non-working 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 is due to certain missing fixes in uClibc, as built by Crosstool-NG.

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/9b5/9b5a5f5e1c4331d6ba44a12f66f74d950ee69ada/

---
 scripts/autobuild-run |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
scripts/autobuild-run +4 -0
index 993c578..4ac0c7b 100755
@@ -310,6 +310,10 @@ def fixup_config(instance, sysinfo):
     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 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/br-mipsel-o32-full-2014.08.tar.bz2"\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 a known non-working external MIPS toolchain

Dear Vicente Olivert Riera,

scripts/autobuild-run def fixup_config(instance, sysinfo): · line 316

Quoted 4 lines · Vicente Olivert Riera
scripts/autobuild-run +4 -0
+    # 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/br-mipsel-o32-full-2014.08.tar.bz2"\n' in configlines:
+        return False

I have just updated the BR toolchains used by the autobuilders, so the version is now 2014.11 and not 2014.08.

Maybe some other exceptions in the autobuild-run script need to be updated as well.

Thomas

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

PATCH 1/1 autobuild-run: Do not build civetweb with a known non-working external MIPS toolchain

Quoted 9 lines · Thomas Petazzoni

Dear Vicente Olivert Riera,

scripts/autobuild-run def fixup_config(instance, sysinfo): · line 316

Quoted 4 lines · Vicente Olivert Riera
scripts/autobuild-run +4 -0
+    # 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/br-mipsel-o32-full-2014.08.tar.bz2"\n' in configlines:
+        return False
Quoted 5 lines

I have just updated the BR toolchains used by the autobuilders, so the version is now 2014.11 and not 2014.08.

Maybe some other exceptions in the autobuild-run script need to be updated as well.

Ok, I will check all the MIPS exceptions with the new toolchains to check if they are still needed. Thanks.

Cheers,

Signature · 5 lines
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com
#3 lore raw

PATCH 1/1 autobuild-run: Do not build civetweb with a known non-working external MIPS toolchain

Dear Thomas Petazzoni,

Quoted 13 lines · Vicente Olivert Riera
Quoted 12 lines · Thomas Petazzoni

Dear Vicente Olivert Riera,

scripts/autobuild-run def fixup_config(instance, sysinfo): · line 316

Quoted 4 lines · Vicente Olivert Riera
scripts/autobuild-run +4 -0
+    # 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/br-mipsel-o32-full-2014.08.tar.bz2"\n' in configlines:
+        return False

I have just updated the BR toolchains used by the autobuilders, so the version is now 2014.11 and not 2014.08.

Quoted 8 lines
Quoted 2 lines

Maybe some other exceptions in the autobuild-run script need to be updated as well.

Ok, I will check all the MIPS exceptions with the new toolchains to check if they are still needed. Thanks.

Cheers,

I have successfully built conntrack-tools, rt-test and civetweb packages using the new br-mipsel-o32-full-2014.11 toolchain. I will send a patch to remove those exceptions from the autobuild-run script.

Cheers,

Signature · 5 lines
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com