Skip to contentSkip to conversation

autobuild-run: do not build weston using an incompatible toolchain

PATCH New Vicente Olivert Riera 2 participants 2 messages Mar 7, 2015 – Mar 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autobuild-run: do not build weston using an incompatible toolchain

This external MIPS toolchain uses an old version of uClibc which doesn't include this patch:

http://git.uclibc.org/uClibc/commit/libc/sysdeps/linux?id=3d1b82c7d9dce11c733fe23a85df7f975c7e2486

Because of that, weston package fails to build with this error message:

src/compositor.c: In function 'weston_compositor_set_presentation_clock_software':
src/compositor.c:4283:3: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
CLOCK_MONOTONIC_RAW, /* no jumps, no crawling */

Fixes:

http://autobuild.buildroot.net/results/d36/d367eda8b549b6facd624d0b44cfdc6eb0486c72/

---
 scripts/autobuild-run |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
scripts/autobuild-run +4 -0
index a75006f..9a6d15b 100755
@@ -324,6 +324,10 @@ def fixup_config(instance, sysinfo):
        'BR2_STATIC_LIBS=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 weston package
+    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
 
     with open(os.path.join(outputdir, ".config"), "w+") as configf:
         configf.writelines(configlines)
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 autobuild-run: do not build weston using an incompatible toolchain

Dear Vicente Olivert Riera,

Quoted 13 lines · Vicente Olivert Riera

This external MIPS toolchain uses an old version of uClibc which doesn't include this patch:

http://git.uclibc.org/uClibc/commit/libc/sysdeps/linux?id=3d1b82c7d9dce11c733fe23a85df7f975c7e2486

Because of that, weston package fails to build with this error message:

src/compositor.c: In function 'weston_compositor_set_presentation_clock_software':
src/compositor.c:4283:3: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)
CLOCK_MONOTONIC_RAW, /* no jumps, no crawling */

Quoted 5 lines

Fixes:

http://autobuild.buildroot.net/results/d36/d367eda8b549b6facd624d0b44cfdc6eb0486c72/

Applied to buildroot-test, thanks.

Thomas

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