rustc -C linker=x86_64-pc-linux-gnu-gcc --color=always -C debug-assertions=no -C overflow-checks=no --crate-type rlib --edition=2021 -C target-cpu=native -C opt-level=2 -Cdebuginfo=0 -C codegen-units=1 --emit=asm --crate-name rusticl_opencl_gen --emit dep-info=src/gallium/frontends/rusticl/rusticl_opencl_gen.d --emit link=src/gallium/frontends/rusticl/librusticl_opencl_gen.rlib --out-dir src/gallium/frontends/rusticl/librusticl_opencl_gen.rlib.p -C metadata=b863b06@@rusticl_opencl_gen@sta -Aclippy::all -Aimproper_ctypes -Aunused_unsafe -Anon_camel_case_types -Anon_snake_case -Anon_upper_case_globals src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7030:31
|
7030 | ["Alignment of cl_char8"][::std::mem::align_of::<cl_char8>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7180:10
|
7180 | [::std::mem::align_of::<cl_char16__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7471:32
|
7471 | ["Alignment of cl_uchar8"][::std::mem::align_of::<cl_uchar8>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7624:10
|
7624 | [::std::mem::align_of::<cl_uchar16__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7809:32
|
7809 | ["Alignment of cl_short4"][::std::mem::align_of::<cl_short4>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7900:10
|
7900 | [::std::mem::align_of::<cl_short8__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:8264:33
|
8264 | ["Alignment of cl_ushort4"][::std::mem::align_of::<cl_ushort4>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:8358:10
|
8358 | [::std::mem::align_of::<cl_ushort8__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9060:30
|
9060 | ["Alignment of cl_int2"][::std::mem::align_of::<cl_int2>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9138:10
|
9138 | [::std::mem::align_of::<cl_int4__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9511:31
|
9511 | ["Alignment of cl_uint2"][::std::mem::align_of::<cl_uint2>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:9589:10
|
9589 | [::std::mem::align_of::<cl_uint4__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:10862:32
|
10862 | ["Alignment of cl_float2"][::std::mem::align_of::<cl_float2>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error[E0080]: evaluation of constant value failed
--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:10940:10
|
10940 | [::std::mem::align_of::<cl_float4__bindgen_ty_3>() - 8usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `4_usize - 8_usize`, which would overflow
error: aborting due to 14 previous errors
For more information about this error, try `rustc --explain E0080`.
Видимо, забыл сказать - Это крик души, это как всегда, это отвечать не надо, сам разберусь
Мне не совсем понятно, а как это собирали раньше? Ошибка явно в коде.
eix -e gcc mesa dev-lang/rust llvm
хотя бы в студию
и
# emerge gcc llvm dev-lang/rust mesa -O1pv
А точно пересборка со всеми сборочными зависимостями? Или просто распаковка скачаных Калько-бинарей и только Меса из сырцов?
После последнего обновления собралась. Но вылезло другое:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/isodate:0
(dev-python/isodate-0.7.2:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12 (-python3_13)" conflicts with
<dev-python/isodate-0.7[python_targets_python3_11(-)] required by (dev-python/rdflib-7.0.0-r2:0/0::gentoo, binary scheduled for merge) USE="sqlite -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12 (-python3_13)"
^ ^^^
Это нормально. Это не error.