Skip to content

Build failure on s390x #498

Closed
Closed
@est31

Description

@est31

I've tried to update the stdsimd module in rust, but got this build failure:

�[0KBuilding stage1 std artifacts (x86_64-unknown-linux-gnu -> s390x-unknown-linux-gnu)
[00:24:40] �[0m�[0m�[1m�[32m   Compiling�[0m cc v1.0.15
[00:24:40] �[0m�[0m�[1m�[32m   Compiling�[0m core v0.0.0 (file:///checkout/src/libcore)
[00:24:40] �[0m�[0m�[1m�[32m   Compiling�[0m unwind v0.0.0 (file:///checkout/src/libunwind)
[00:24:40] �[0m�[0m�[1m�[32m   Compiling�[0m build_helper v0.1.0 (file:///checkout/src/build_helper)
[00:24:46] �[0m�[0m�[1m�[32m   Compiling�[0m compiler_builtins v0.0.0 (file:///checkout/src/rustc/compiler_builtins_shim)
[00:24:46] �[0m�[0m�[1m�[32m   Compiling�[0m alloc_jemalloc v0.0.0 (file:///checkout/src/liballoc_jemalloc)
[00:24:46] �[0m�[0m�[1m�[32m   Compiling�[0m std v0.0.0 (file:///checkout/src/libstd)
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m ../../libcompiler_builtins/compiler-rt/lib/builtins/divdc3.c:21:1: warning: conflicting types for built-in function '__divdc3'
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  __divdc3(double __a, double __b, double __c, double __d)
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  ^
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m ../../libcompiler_builtins/compiler-rt/lib/builtins/divsc3.c:21:1: warning: conflicting types for built-in function '__divsc3'
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  __divsc3(float __a, float __b, float __c, float __d)
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  ^
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m ../../libcompiler_builtins/compiler-rt/lib/builtins/muldc3.c:21:1: warning: conflicting types for built-in function '__muldc3'
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  __muldc3(double __a, double __b, double __c, double __d)
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  ^
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m ../../libcompiler_builtins/compiler-rt/lib/builtins/mulsc3.c:21:1: warning: conflicting types for built-in function '__mulsc3'
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  __mulsc3(float __a, float __b, float __c, float __d)
[00:24:55] �[0m�[0m�[1m�[33mwarning:�[0m  ^
[00:25:19] Intrinsic has incorrect return type!
[00:25:19] void (<16 x float>*, <16 x float>*)* @llvm.fabs.v16f32
[00:25:19] LLVM ERROR: Broken function found, compilation aborted!
[00:25:19] [RUSTC-TIMING] core test:false 39.625
[00:25:19] �[0m�[0m�[1m�[31merror:�[0m Could not compile `core`.

According to @kennytm a likely cause was #467

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions