Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739830 - app-benchmarks/stress-ng-0.11.19 - stress-cpu.c:1035:27: error: SSE register return with SSE disabled
Summary: app-benchmarks/stress-ng-0.11.19 - stress-cpu.c:1035:27: error: SSE register ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-01 06:58 UTC by Samuel Bernardo
Modified: 2020-09-02 12:39 UTC (History)
0 users

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


Attachments
build log, emerge.info, emerge.pqv (stress-ng.zip,18.25 KB, application/zip)
2020-09-01 06:58 UTC, Samuel Bernardo
Details
stress-ng gcc details (stress-ng.gcc,9.83 KB, text/plain)
2020-09-01 21:17 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2020-09-01 06:58:08 UTC
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
Comment 1 Conrad Kostecki gentoo-dev 2020-09-01 08:34:39 UTC Comment hidden (obsolete)
Comment 2 Conrad Kostecki gentoo-dev 2020-09-01 08:39:57 UTC
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.
Comment 3 Conrad Kostecki gentoo-dev 2020-09-01 09:03:24 UTC
Could you please paste me the output of "gcc -march=native -Q --help=target"? Thanks!
Comment 4 Conrad Kostecki gentoo-dev 2020-09-01 12:01:42 UTC
Despite of my questions, could you test the following patch?: https://github.com/ColinIanKing/stress-ng/commit/70acc386b6afb726d4576a3d4368b51114e92530.patch
Comment 5 Samuel Bernardo 2020-09-01 21:17:45 UTC
Created attachment 657786 [details]
stress-ng gcc details

This is the output of
gcc -march=native -Q --help=target
Comment 6 Samuel Bernardo 2020-09-01 21:26:48 UTC
(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.
Comment 7 Larry the Git Cow gentoo-dev 2020-09-02 12:39:28 UTC
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(-)