Created attachment 657674 [details] build log, emerge.info, emerge.pqv stress-cpu.c: In function ‘stress_cpu_int128_decimal128.arch_skylake_avx512.104’: stress-cpu.c:1035:27: error: SSE register return with SSE disabled _ftype flt_a = 0.18728L, flt_b = stress_mwc32(), \ ^~~~~ stress-cpu.c:1105:1: note: in expansion of macro ‘stress_cpu_int_fp’ stress_cpu_int_fp(__uint128_t, 128, _Decimal128, decimal128, ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:363: stress-cpu.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/app-benchmarks/stress-ng-0.11.19/work/stress-ng-0.11.19' make: *** [Makefile:348: all] Error 2 * ERROR: app-benchmarks/stress-ng-0.11.19::gentoo failed (compile phase): * emake failed
Could you also attach an emerge --info for stress-ng?
I will talk to upstream and report back. At least I can't reproduce here, but's it's likely, that this is some rare case, as some compile errors before.
Could you please paste me the output of "gcc -march=native -Q --help=target"? Thanks!
Despite of my questions, could you test the following patch?: https://github.com/ColinIanKing/stress-ng/commit/70acc386b6afb726d4576a3d4368b51114e92530.patch
Created attachment 657786 [details] stress-ng gcc details This is the output of gcc -march=native -Q --help=target
(In reply to Conrad Kostecki from comment #4) > Despite of my questions, could you test the following patch?: > https://github.com/ColinIanKing/stress-ng/commit/ > 70acc386b6afb726d4576a3d4368b51114e92530.patch After applying the patch compiled and installed as expected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=285d1df0bf8f3e4208def7b36974e72b9b929f7e commit 285d1df0bf8f3e4208def7b36974e72b9b929f7e Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-09-02 12:38:17 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-09-02 12:38:17 +0000 app-benchmarks/stress-ng: fix compilation due optimization Closes: https://bugs.gentoo.org/739830 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../stress-ng-0.11.19-optimization-checks.patch | 87 ++++++++++++++++++++++ app-benchmarks/stress-ng/stress-ng-0.11.19.ebuild | 5 +- 2 files changed, 91 insertions(+), 1 deletion(-)