Advertisement
illwieckz

broken rusticl wip_nv

Oct 19th, 2022
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. Build Mesa: [1069/1080] Compiling Rust source ../src/gallium/frontends/rusticl/lib.rs
  2. Build Mesa: FAILED: src/gallium/frontends/rusticl/librusticl.a
  3. Build Mesa: rustc -C linker=cc --color=always --crate-type staticlib --edition=2021 -C opt-level=2 -g -C relocation-model=pic --crate-name rusticl --emit dep-info=src/gallium/frontends/rusticl/rusticl.d --emit link -Dclippy::all -Aclippy::assertions_on_constants -Aclippy::mutable_key_type -Aclippy::not_unsafe_ptr_arg_deref -Aclippy::redundant_field_names -Aclippy::too_many_arguments -Aclippy::type_complexity -o src/gallium/frontends/rusticl/librusticl.a --extern mesa_rust=src/gallium/frontends/rusticl/libmesa_rust.rlib --extern mesa_rust_gen=src/gallium/frontends/rusticl/libmesa_rust_gen.rlib --extern mesa_rust_util=src/gallium/frontends/rusticl/libmesa_rust_util.rlib --extern rusticl_opencl_gen=src/gallium/frontends/rusticl/librusticl_opencl_gen.rlib -L src/gallium/frontends/rusticl ../src/gallium/frontends/rusticl/lib.rs
  4. Build Mesa: error[E0061]: this function takes 3 arguments but 4 arguments were supplied
  5. Build Mesa: --> ../src/gallium/frontends/rusticl/core/kernel.rs:625:9
  6. Build Mesa: |
  7. Build Mesa: 625 | nir.pass2(
  8. Build Mesa: | ^^^^^
  9. Build Mesa: 626 | nir_lower_explicit_io,
  10. Build Mesa: | --------------------- incorrect number of function parameters
  11. Build Mesa: ...
  12. Build Mesa: 629 | global_address_format,
  13. Build Mesa: | --------------------- argument of type `mesa_rust_gen::nir_address_format` unexpected
  14. Build Mesa: |
  15. Build Mesa: = note: expected fn pointer `unsafe extern "C" fn(*mut nir_shader, mesa_rust_gen::nir_variable_mode, bool) -> _`
  16. Build Mesa: found fn item `unsafe extern "C" fn(*mut nir_shader, mesa_rust_gen::nir_variable_mode, bool, mesa_rust_gen::nir_address_format) -> bool {mesa_rust_gen::nir_lower_explicit_io}`
  17. Build Mesa: note: associated function defined here
  18. Build Mesa: --> .cargomesa/build/../src/gallium/frontends/rusticl/mesa/compiler/nir.rs:123:12
  19. Build Mesa: |
  20. Build Mesa: 123 | pub fn pass2<R, A, B>(
  21. Build Mesa: | ^^^^^
  22. Build Mesa: help: remove the extra argument
  23. Build Mesa: |
  24. Build Mesa: 625 | nir.pass2(/* value */, nir_variable_mode::nir_var_mem_global | nir_variable_mode::nir_var_mem_constant, false);
  25. Build Mesa: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  26. Build Mesa:
  27. Build Mesa: error: aborting due to previous error
  28. Build Mesa:
  29. Build Mesa: For more information about this error, try `rustc --explain E0061`.
  30. Build Mesa: [1070/1080] Compiling C object src/gallium/drivers/iris/libiris_per_hw_ver80.a.p/iris_state.c.o
  31. Build Mesa: [1071/1080] Compiling C object src/gallium/drivers/iris/libiris_per_hw_ver90.a.p/iris_state.c.o
  32. Build Mesa: [1072/1080] Compiling C object src/gallium/drivers/iris/libiris_per_hw_ver110.a.p/iris_state.c.o
  33. Build Mesa: [1073/1080] Compiling C object src/gallium/drivers/iris/libiris_per_hw_ver120.a.p/iris_state.c.o
  34. Build Mesa: [1074/1080] Compiling C object src/gallium/drivers/iris/libiris_per_hw_ver125.a.p/iris_state.c.o
  35. Build Mesa: ninja: build stopped: subcommand failed.
  36. Build Mesa: INFO: autodetecting backend as ninja
  37. Build Mesa: INFO: calculating backend command to run: /usr/bin/ninja -C .cargomesa/build -j 28
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement