Skip to contentSkip to conversation

autobuild-run: do not build boost package with logging option enabled.

PATCH New Romain Naour 2 participants 3 messages Apr 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 autobuild-run: do not build boost package with logging option enabled.

pthread_spin_* functions are not implemented in the uClibc used by this toolchain.

Fixes:
http://autobuild.buildroot.net/results/664/6642dc9c569b2820a9d0e273fc2fb1d5a635ba0a/build-end.log

---
 scripts/autobuild-run | 4 ++++
 1 file changed, 4 insertions(+)
scripts/autobuild-run +4 -0
index 0e12080..35f38ce 100755
@@ -443,6 +443,10 @@ 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
+    # This xtensa uClibc toolchain fails to build boost package with logging option enabled
+    if 'BR2_PACKAGE_BOOST_LOG=y\n' in configlines and \
+       'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-xtensa-full-2015.02.tar.bz2"\n' in configlines:
+        return False
 
     with open(os.path.join(outputdir, ".config"), "w+") as configf:
         configf.writelines(configlines)
Signature · 1 line
1.9.3
#1 lore raw

PATCH 2/2 autobuild-run: do not build boost package with logging option enabled.

pthread_spin_* functions are not implemented in the uClibc used by this toolchain.

Fixes:
http://autobuild.buildroot.net/results/ba5/ba5836e9a77e1b48e24ace46ca1611c22524261d

---
 scripts/autobuild-run | 5 +++++
 1 file changed, 5 insertions(+)
scripts/autobuild-run +5 -0
index 35f38ce..f2f239f 100755
@@ -447,6 +447,11 @@ def fixup_config(**kwargs):
     if 'BR2_PACKAGE_BOOST_LOG=y\n' in configlines and \
        'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-xtensa-full-2015.02.tar.bz2"\n' in configlines:
         return False
+    # This arc uClibc toolchain fails to build boost package with logging option enabled
+    if 'BR2_PACKAGE_BOOST_LOG=y\n' in configlines and \
+       'BR2_UCLIBC_VERSION_ARC_GIT=y\n' in configlines and \
+       'BR2_UCLIBC_VERSION_STRING="arc-2014.12"\n' in configlines:
+        return False
 
     with open(os.path.join(outputdir, ".config"), "w+") as configf:
         configf.writelines(configlines)
Signature · 1 line
1.9.3
#2 lore raw

PATCH 1/2 autobuild-run: do not build boost package with logging option enabled.

In reply to Romain Naour

Dear Romain Naour,

Quoted 6 lines · Romain Naour

pthread_spin_* functions are not implemented in the uClibc used by this toolchain.

Fixes:
http://autobuild.buildroot.net/results/664/6642dc9c569b2820a9d0e273fc2fb1d5a635ba0a/build-end.log

Xtensa and ARC are not using NPTL, so by choosing my NPTL dependency proposal, we don't need those patches.

Thomas

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