Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678300 - app-crypt/dieharder-3.31.1-r2 with CFLAGS="-O0" - ../libdieharder/.libs/libdieharder.so: undefined reference to `insertBit'
Summary: app-crypt/dieharder-3.31.1-r2 with CFLAGS="-O0" - ../libdieharder/.libs/libdi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-18 16:13 UTC by Ben Kohler
Modified: 2019-02-23 22:22 UTC (History)
0 users

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


Attachments
build.log (build.log,75.50 KB, text/plain)
2019-02-18 16:13 UTC, Ben Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2019-02-18 16:13:14 UTC
Created attachment 565722 [details]
build.log

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.
Comment 1 Larry the Git Cow gentoo-dev 2019-02-23 22:22:12 UTC
The bug has been closed via the following commit(s):

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

commit e0851dfe8e3bc56f435fc0a71fdf562794df903d
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2019-02-23 22:20:39 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2019-02-23 22:21:28 +0000

    app-crypt/dieharder: resolve undefined symbols
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=678300
    Thanks: Ben Kohler
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    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(-)