Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922193 - dev-libs/isa-l-2.30.0-r1 fails to build on x86: raid/raid_multibinary_i32.s:44: error: instruction not supported in 32-bit mode
Summary: dev-libs/isa-l-2.30.0-r1 fails to build on x86: raid/raid_multibinary_i32.s:4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 916521
  Show dependency tree
 
Reported: 2024-01-16 03:14 UTC by matoro
Modified: 2024-01-30 12:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_922193.txt,134.02 KB, text/plain)
2024-01-16 03:15 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-16 03:14:59 UTC
libtool: compile:  ./tools/nasm-filter.sh -f elf64 -I ./include/ -I ./erasure_code -I ./crc -I ./igzip -I ./tests/fuzz -I ./examples/ec -DPACKAGE_NAME=\"libisal\" -DPACKAGE_TARNAME=\"isa-l\" -DPACKAGE_VERSION=\"2.30.0\" "-DPACKAGE_STRING=\"libisal 2.30.0\"" -DPACKAGE_BUGREPORT=\"sg.support.isal@intel.com\" -DPACKAGE_URL=\"http://01.org/storage-acceleration-library\" -DPACKAGE=\"isa-l\" -DVERSION=\"2.30.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DAS_FEATURE_LEVEL=10 -DHAVE_AS_KNOWS_AVX512=1 -DHAVE_LIMITS_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MALLOC=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_GETOPT=1 -O2 -march=i686 -pipe -c raid/raid_multibinary_i32.s  -fPIC -DPIC -o raid/.libs/raid_multibinary_i32.o
raid/raid_multibinary_i32.s:44: error: instruction not supported in 32-bit mode
./include//multibinary.asm:80: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:45: error: instruction not supported in 32-bit mode
./include//multibinary.asm:80: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:46: error: instruction not supported in 32-bit mode
./include//multibinary.asm:80: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:47: error: instruction not supported in 32-bit mode
./include//multibinary.asm:80: ... from macro `mbin_interface' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:237: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:238: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:239: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:240: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:241: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:242: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:248: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:249: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:253: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:255: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:262: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:263: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
./include//multibinary.asm:271: ... from macro `mbin_dispatch_init5' defined here
raid/raid_multibinary_i32.s:49: error: instruction not supported in 32-bit mode
...

Reproducible: Always
Comment 1 matoro archtester 2024-01-16 03:15:50 UTC
Created attachment 882372 [details]
build.log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-01-30 12:04:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d19e0936eca54b068998d96d5c60eb04b0abe5d

commit 4d19e0936eca54b068998d96d5c60eb04b0abe5d
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2024-01-30 11:59:36 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2024-01-30 12:04:33 +0000

    dev-libs/isa-l: add workaround for x86 build errors
    
    x86-specific optimisations are presently broken - they call assembly
    instructions which do not in fact work in 32-bit mode. Until upstream
    has either fixed them or declared end of support for this arch, fall
    back to the generic code.
    
    Closes: https://bugs.gentoo.org/922193
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch | 12 ++++++++++++
 dev-libs/isa-l/isa-l-2.30.0-r1.ebuild                |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)