etemesi254 / zune-image

Other
279 stars 26 forks source link

Build fails on the i386 architecture #205

Open yurivict opened 1 month ago

yurivict commented 1 month ago
error[E0425]: cannot find function `defilter_avg_sse2_inner` in this scope
   --> /wrkdirs/usr/ports/graphics/oculante/work/oculante-0.8.22/cargo-crates/zune-png-0.5.0-rc1/src/filters/sse4.rs:332:9
    |
213 | / unsafe fn de_filter_paeth_sse41_inner<const SIZE: usize>(
214 | |     prev_row: &[u8], raw: &[u8], current: &mut [u8]
215 | | ) {
216 | |     let zero = _mm_setzero_si128();
...   |
265 | |     }
266 | | }
    | |_- similarly named function `de_filter_paeth_sse41_inner` defined here
...
332 |           defilter_avg_sse2_inner::<SIZE>(prev_row, raw, current);
    |           ^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `de_filter_paeth_sse41_inner`

FreeBSD 14.0

etemesi254 commented 1 month ago

Hi, is that the only one failing?

yurivict commented 1 month ago

This is the only failure in the log.

etemesi254 commented 1 month ago

Tried to add a fix, can you try cloning the repo and compiling it for that architecture.

And thanks for this, will add a CI to compile to this target to catch such errors in the future