-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
JanitorTechnology/dockerfiles
#218Labels
A-buildRelated to or part of the build processRelated to or part of the build process
Description
Dear Servo team,
Our automated Servo build for https://janitor.technology has been broken for a while, sadly. I’m trying to fix it, but I’m not exactly sure what’s happening.
Currently, our CircleCI build is failing like so:
$ ./mach build -d
[...]
Compiling debugger v0.0.1 (/home/user/servo/components/debugger)
Compiling winit v0.18.0
error: failed to run custom build command for `mozjs_sys v0.61.5`
process didn't exit successfully: `/home/user/servo/target/debug/build/mozjs_sys-e71c6453903c8264/build-script-build` (exit code: 101)
[...]
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:389:10: error: use of undeclared identifier '__builtin_ia32_cvtps2pd', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:395:10: error: use of undeclared identifier '__builtin_ia32_cvtdq2pd', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:601:3: error: use of undeclared identifier '__builtin_ia32_storeupd', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:686:19: error: use of undeclared identifier '__builtin_ia32_pavgb128', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:692:19: error: use of undeclared identifier '__builtin_ia32_pavgw128', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1234:3: error: use of undeclared identifier '__builtin_ia32_storedqu', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1255:3: error: use of undeclared identifier '__builtin_ia32_movntpd', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1261:3: error: use of undeclared identifier '__builtin_ia32_movntdq', err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1279:1: error: static declaration of '_mm_clflush' follows non-static declaration, err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1285:1: error: static declaration of '_mm_lfence' follows non-static declaration, err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1291:1: error: static declaration of '_mm_mfence' follows non-static declaration, err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/emmintrin.h:1482:1: error: static declaration of '_mm_pause' follows non-static declaration, err: true
/usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include/smmintrin.h:146:20: error: use of undeclared identifier '__builtin_ia32_movntdqa', err: true
fatal error: too many errors emitted, stopping now [-ferror-limit=], err: true
thread 'main' panicked at 'Should generate JSAPI bindings OK: ()', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
[Warning] Could not generate notification! Optional Python module 'dbus' is not installed.
Build FAILED in 0:44:49
The command '/bin/sh -c ./mach build -d' returned a non-zero code: 101
Exited with code 101
I’m not sure why Servo is trying to build these old clang 3.8 headers.
Note: Janitor’s containers normally use clang-6.0
/clang++-6.0
as default compilers, but for Servo we revert to gcc
/g++
because clang is (or used to be) unsupported.
Metadata
Metadata
Assignees
Labels
A-buildRelated to or part of the build processRelated to or part of the build process