Created attachment 565722 [details]
This package seems to build ok with -O1 or -O2 or -O3 in CFLAGS.
It fails with -O0 or -Os (or with -O param omitted entirely). You can even reproduce failure with just CFLAGS="".
Build log attached.
The bug has been closed via the following commit(s):
Author: Alon Bar-Lev <email@example.com>
AuthorDate: 2019-02-23 22:20:39 +0000
Commit: Alon Bar-Lev <firstname.lastname@example.org>
CommitDate: 2019-02-23 22:21:28 +0000
app-crypt/dieharder: resolve undefined symbols
Thanks: Ben Kohler
Signed-off-by: Alon Bar-Lev <email@example.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
...3.31.1-r2.ebuild => dieharder-3.31.1-r3.ebuild} | 2 +-
.../dieharder/files/dieharder-3.31.1-build.patch | 158 +++++++++++++++++++++
2 files changed, 159 insertions(+), 1 deletion(-)