intel / intel/isa-l

Fails to build on i386 and s390x

Open
#188 11 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
1.1k
Forks
346
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thanks for your work on isal.
The corresponding debian package (version 2.30) does not build on i386 and s390x

In `i386`, there's a number of:
```
raid/raid_multibinary_i32.s:44: error: instruction not supported in 32-bit mode
raid/raid_multibinary_i32.s:111: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:45: error: instruction not supported in 32-bit mode
raid/raid_multibinary_i32.s:111: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:46: error: instruction not supported in 32-bit mode
raid/raid_multibinary_i32.s:111: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:47: error: instruction not supported in 32-bit mode
raid/raid_multibinary_i32.s:111: ... from macro `mbin_interface' defined here
```

Full log [here](https://buildd.debian.org/status/fetch.php?pkg=libisal&arch=i386&ver=2.30.0-4&stamp=1635477973&raw=0)

In `s390x`, tests segfault.
```
/usr/bin/make --no-print-directory check-TESTS
FAIL: erasure_code/gf_vect_mul_test
FAIL: erasure_code/erasure_code_test
PASS: erasure_code/gf_inverse_test
FAIL: erasure_code/erasure_code_update_test
PASS: raid/xor_gen_test
PASS: raid/pq_gen_test
PASS: raid/xor_check_test
PASS: raid/pq_check_test
PASS: crc/crc16_t10dif_test
PASS: crc/crc16_t10dif_copy_test
PASS: crc/crc64_funcs_test
PASS: crc/crc32_funcs_test
./build-aux/test-driver: line 112: 2937012 Segmentation fault "$@" >> "$log_file" 2>&1
FAIL: igzip/igzip_rand_test
PASS: igzip/igzip_wrapper_hdr_test
PASS: igzip/checksum32_funcs_test
PASS: mem/mem_zero_detect_test
============================================================================
Testsuite summary for libisal 2.30.0
============================================================================
# TOTAL: 16
# PASS: 12
# SKIP: 0
# XFAIL: 0
# FAIL: 4
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to sg.support.isal@intel.com
```

Full log [here](https://buildd.debian.org/status/fetch.php?pkg=libisal&arch=s390x&ver=2.30.0-4&stamp=1635471504&raw=0)

Would you please consider fixing these?
Thanks,
Nilesh

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.