Created attachment 915351 [details] build.log checking if x86_64-pc-linux-gnu-gcc supports -mavx... yes checking if x86_64-pc-linux-gnu-gcc supports -mrdrnd... yes checking if x86_64-pc-linux-gnu-gcc supports -maes... yes checking whether asm rep nop is supported... yes checking whether asm lfence is supported... yes checking whether we support __attribute__((aligned))... yes checking the need for android min SDK setting... no checking whether aligned_alloc works... yes checking whether valloc has been declared... no checking whether unaligned int reads are handled... yes checking if we can link fallocate64... yes checking if we can link open64... yes checking if we can link pread64... yes checking if we can link pwrite64... yes checking if we can link lseek64... yes checking if we can link stat64... yes checking if we can link posix_fadvise64... yes checking if we can link 0; __builtin_prefetch... yes checking if we can link __builtin_cpu_supports... yes configure: creating ./config.status config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/dd-rescue-1.99.17/work/dd_rescue-1.99.17 ... make -j2 MACH=x86_64 OS=Linux HAVE_SSE42=0 HAVE_AES=0 HAVE_AVX2=0 HAVE_SHA=0 HAVE_RDRND=0 HAVE_LZMA=1 HAVE_LZO=1 HAVE_OPENSSL=0 'RPM_OPT_FLAGS=-march=native -O2 -pipe ' CFLAGS_OPT=$(CFLAGS) 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-rpath,/usr/lib64/dd-rescue' CC=x86_64-pc-linux-gnu-gcc #x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DGEN_DEP -mvaes -mavx2 -MM ./*.c >.dep x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DGEN_DEP -D__AES__ -D__SSE4_1__ -D__SSSE3__ -D__SSE3__ -D__SSE2__ -D__SSE__ -D__MMX__ -DNO_WARN_X86_INTRINSICS -I . -MM ./*.c >.dep sed 's/\.o:/\.po:/' <.dep >.dep2 cat .dep2 >> .dep rm .dep2 fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIE -c random.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIE -c frandom.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIE -c fmt_no.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIE -c find_nonzero.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -mvaes -mavx2 -fPIE -c archdep.c archdep.c:175:3: warning: #warning please compile rdrand with -maes [-Wcpp] 175 | # warning please compile rdrand with -maes | ^~~~~~~ fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIE -c fstrim.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIE -msse2 -c find_nonzero_sse2.c fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIC -o libddr_hash.po -c libddr_hash.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIC -o md5.po -c md5.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIC -o sha256.po -c sha256.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIC -o sha512.po -c sha512.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIC -o sha1.po -c sha1.c fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIC -o pbkdf2.po -c pbkdf2.c fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIC -o checksum_file.po -c checksum_file.c fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIC -o libddr_null.po -c libddr_null.c fatal: not a git repository (or any of the parent directories): .git x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -DVERSION=\"1.99.17\" -D__COMPILER__="\"x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p6) 14.2.1 20241221\"" -DID=\"DD_RESCUE_1_99_17\" -fPIC -o libddr_crypt.po -c libddr_crypt.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -O2 -fPIC -o aes.po -c aes.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -DHAVE_CONFIG_H -I . -DNO_SSE42 -DNO_AES -DNO_AVX2 -DNO_RDRND -DNO_SHA -fPIC -o aes_c.po -c aes_c.c fatal: not a git repository (or any of the parent directories): .git libddr_crypt.c: In function ‘crypt_plug_init’: libddr_crypt.c:207:33: error: ‘SAESNI_Methods’ undeclared (first use in this function); did you mean ‘AES_C_Methods’? 207 | state->engine = SAESNI_Methods; | ^~~~~~~~~~~~~~ | AES_C_Methods libddr_crypt.c:207:33: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:323: libddr_crypt.po] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: sys-fs/dd-rescue-1.99.17::gentoo failed (compile phase): * emake failed
Created attachment 915352 [details] emerge --info [ebuild U ] sys-fs/dd-rescue-1.99.17::gentoo [1.99.16_pre::poly-c] USE="lzma%* lzo xattr -static -test%" CPU_FLAGS_X86="-aes% -avx2 -rdrand% -sha% -sse4_2" 0 KiB
same error [ebuild U ] sys-fs/dd-rescue-1.99.18_pre::poly-c [1.99.16_pre::poly-c] USE="lzma%* lzo xattr -static -test%" CPU_FLAGS_X86="-aes% -avx2 -rdrand% -sha% -sse4_2" 195 KiB
(In reply to jospezial from comment #2) > same error > > [ebuild U ] sys-fs/dd-rescue-1.99.18_pre::poly-c [1.99.16_pre::poly-c] > USE="lzma%* lzo xattr -static -test%" CPU_FLAGS_X86="-aes% -avx2 -rdrand% > -sha% -sse4_2" 195 KiB Well, I can't say much about their ebuild, of course. Not least because the README of that overlay makes clear I'm not welcome. Anyway, I'll have a look today -- the bump to .18 is already on my list and plan was/is to handle this bug at the same time.
Not forgot about this, sorry for the wait
same with local dd_rescue-1.99.20
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5aedb5562eb6ae4d7725a528cead5f558e0c55 commit dd5aedb5562eb6ae4d7725a528cead5f558e0c55 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-01-14 12:14:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-14 12:14:39 +0000 sys-fs/dd-rescue: drop rdrnd and friends changes from 1.99.17 Undo the CPU_FLAGS_X86 changes from ec703e4ce5de46e4f427836d18988786190e5d2b which are clearly too brittle. Closes: https://bugs.gentoo.org/947105 Signed-off-by: Sam James <sam@gentoo.org> sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=781a413294eb668122e55054e2dbeb6304d54345 commit 781a413294eb668122e55054e2dbeb6304d54345 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-01-14 12:16:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-14 12:16:55 +0000 sys-fs/dd-rescue: add 1.99.20 Bug: https://bugs.gentoo.org/947105 Signed-off-by: Sam James <sam@gentoo.org> sys-fs/dd-rescue/Manifest | 1 + sys-fs/dd-rescue/dd-rescue-1.99.20.ebuild | 124 ++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+)