HomeFreeBSD

graphics/mesa-devel: unbreak build on amd64 after ee821cbdc6f2

Description

graphics/mesa-devel: unbreak build on amd64 after ee821cbdc6f2

error[E0080]: evaluation of constant value failed

--> src/gallium/frontends/rusticl/rusticl_opencl_bindings.rs:7018:31
 |

7018 | ["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:7165:10
 |

7165 | [::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:7443:32
 |

7443 | ["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:7593:10
 |

7593 | [::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:7769:32
 |

7769 | ["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:7857:10
 |

7857 | [::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:8208:33
 |

8208 | ["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:8299:10
 |

8299 | [::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:8976:30
 |

8976 | ["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:9051:10
 |

9051 | [::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:9411:31
 |

9411 | ["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:9486:10
 |

9486 | [::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:10714:32
 |

10714 | ["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:10789:10
 |

10789 | [::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

Reported by: pkg-fallout

Details

Provenance
jbeichAuthored on Aug 20 2024, 4:07 PM
Parents
R11:c80fe7dcaf9b: security/vaultwarden: Security update to 1.32.0
Branches
Unknown
Tags
Unknown