diff mbox

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

Message ID 1418042095-29450-1-git-send-email-Vincent.Riera@imgtec.com
State Rejected
Headers show

Commit Message

Vicente Olivert Riera Dec. 8, 2014, 12:34 p.m. UTC
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/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 scripts/autobuild-run |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Comments

Thomas Petazzoni Dec. 8, 2014, 12:46 p.m. UTC | #1
Dear Vicente Olivert Riera,

On Mon, 8 Dec 2014 12:34:55 +0000, Vicente Olivert Riera wrote:

> +    # 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
Vicente Olivert Riera Dec. 8, 2014, 1:27 p.m. UTC | #2
On 12/08/2014 12:46 PM, Thomas Petazzoni wrote:
> Dear Vicente Olivert Riera,
> 
> On Mon, 8 Dec 2014 12:34:55 +0000, Vicente Olivert Riera wrote:
> 
>> +    # 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.

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

Cheers,
Vicente Olivert Riera Dec. 8, 2014, 3:26 p.m. UTC | #3
Dear Thomas Petazzoni,

On 12/08/2014 01:27 PM, Vicente Olivert Riera wrote:
> On 12/08/2014 12:46 PM, Thomas Petazzoni wrote:
>> Dear Vicente Olivert Riera,
>>
>> On Mon, 8 Dec 2014 12:34:55 +0000, Vicente Olivert Riera wrote:
>>
>>> +    # 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.
> 
> 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,
diff mbox

Patch

diff --git a/scripts/autobuild-run b/scripts/autobuild-run
index 993c578..4ac0c7b 100755
--- a/scripts/autobuild-run
+++ b/scripts/autobuild-run
@@ -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: