Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708538 - app-crypt/dieharder-3.31.1-r3 : fails to build with -fno-common or gcc-10
Summary: app-crypt/dieharder-3.31.1-r3 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:26 UTC by Toralf Förster
Modified: 2021-02-12 13:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
app-crypt:dieharder-3.31.1-r3:20200206-132724.log.bz2 (app-crypt:dieharder-3.31.1-r3:20200206-132724.log.bz2,18.66 KB, application/x-bzip)
2020-02-06 22:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,156.79 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
environment (environment,20.53 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.59 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.82 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.14 KB, application/x-bzip)
2020-02-06 22:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-06 22:26:46 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/libdieharder_la-bits.o .libs/libdieharder_la-chisq.o .libs/libdieharder_la-countx.o .libs/libdieharder_la-dab_bytedistrib.o .libs/libdieharder_la-dab_dct.o .libs/libdieharder_la-dab_filltree.o .libs/libdieharder_la-dab_filltree2.o .libs/libdieharder_la-dab_monobit2.o .libs/libdieharder_la-diehard_2dsphere.o .libs/libdieharder_la-diehard_3dsphere.o .libs/libdieharder_la-diehard_birthdays.o .libs/libdieharder_la-diehard_bitstream.o .libs/libdieharder_la-diehard_count_1s_byte.o .libs/libdieharder_la-diehard_count_1s_stream.o .libs/libdieharder_la-diehard_craps.o .libs/libdieharder_la-diehard_dna.o .libs/libdieharder_la-diehard_operm5.o .libs/libdieharder_la-diehard_opso.o .libs/libdieharder_la-diehard_oqso.o .libs/libdieharder_la-diehard_parking_lot.o .libs/libdieharder_la-diehard_rank_32x32.o .libs/libdieharder_la-diehard_rank_6x8.o .libs/libdieharder_la-diehard_runs.o .libs/libdieharder_la-diehard_squeeze.o .libs/libdieharder_la-diehard_sums.o .libs/libdieharder_la-dieharder_rng_types.o .libs/libdieharder_la-dieharder_test_types.o .libs/libdieharder_la-histogram.o .libs/libdieharder_la-kstest.o .libs/libdieharder_la-marsaglia_tsang_gcd.o .libs/libdieharder_la-marsaglia_tsang_gorilla.o .libs/libdieharder_la-parse.o .libs/libdieharder_la-prob.o .libs/libdieharder_la-random_seed.o .libs/libdieharder_la-rank.o .libs/libdieharder_la-rgb_bitdist.o .libs/libdieharder_la-rgb_kstest_test.o .libs/libdieharder_la-rgb_lagged_sums.o .libs/libdieharder_la-rgb_minimum_distance.o .libs/libdieharder_la-rgb_permutations.o .libs/libdieharder_la-rgb_persist.o .libs/libdieharder_la-rgb_timing.o .libs/libdieharder_la-rngav.o .libs/libdieharder_la-rng_aes.o .libs/libdieharder_la-rijndael-alg-fst.o .libs/libdieharder_la-rng_ca.o .libs/libdieharder_la-rng_dev_random.o .libs/libdieharder_la-rng_dev_arandom.o .libs/libdieharder_la-rng_dev_urandom.o .libs/libdieharder_la-rng_file_input.o .libs/libdieharder_la-rng_file_input_raw.o .libs/libdieharder_la-rngs_gnu_r.o .libs/libdieharder_la-rng_kiss.o .libs/libdieharder_la-rng_jenkins.o .libs/libdieharder_la-rng_superkiss.o .libs/libdieharder_la-rng_stdin_input_raw.o .libs/libdieharder_la-rng_threefish.o .libs/libdieharder_la-rng_uvag.o .libs/libdieharder_la-rng_XOR.o .libs/libdieharder_la-sample.o .libs/libdieharder_la-skein_block64.o .libs/libdieharder_la-skein_block_ref.o .libs/libdieharder_la-std_test.o .libs/libdieharder_la-sts_monobit.o .libs/libdieharder_la-sts_runs.o .libs/libdieharder_la-sts_serial.o .libs/libdieharder_la-timing.o .libs/libdieharder_la-Vtest.o .libs/libdieharder_la-version.o .libs/libdieharder_la-Xtest.o   -lm -lgsl -lgslcblas  -march=native -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libdieharder.so.3 -o .libs/libdieharder.so.3.31.1
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libdieharder_la-chisq.o:(.bss+0x4f0): multiple definition of `verbose'; .libs/libdieharder_la-bits.o:(.bss+0x4f0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libdieharder_la-chisq.o:(.bss+0x0): multiple definition of `rmax_mask'; .libs/libdieharder_la-bits.o:(.bss+0x0): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200203-131554

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 12:49:08 +0000

emerge -qpvO app-crypt/dieharder
[ebuild  N    ] app-crypt/dieharder-3.31.1-r3  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:26:49 UTC
Created attachment 612314 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:26:52 UTC
Created attachment 612316 [details]
app-crypt:dieharder-3.31.1-r3:20200206-132724.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:26:55 UTC
Created attachment 612318 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:26:58 UTC
Created attachment 612320 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:27:00 UTC
Created attachment 612322 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:27:03 UTC
Created attachment 612324 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:27:06 UTC
Created attachment 612326 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-12 13:44:54 UTC
The bug has been closed via the following commit(s):

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

commit 58e4239da7523f1889ad080a5d484d133faba8dc
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-11 19:53:21 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-12 13:44:32 +0000

    app-crypt/dieharder: Apply gcc-10 workaround and cross-compile patch
    
    Closes: https://bugs.gentoo.org/708538
    Closes: https://github.com/gentoo/gentoo/pull/12544
    
    Co-authored-by: Tom Hughes <tomhughes@chromium.org>
    Signed-off-by: Tom Hughes <tomhughes@chromium.org>
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-crypt/dieharder/dieharder-3.31.1-r3.ebuild     | 51 +++++++++----------
 .../dieharder/files/dieharder-3.31.1-build.patch   |  8 ---
 .../files/dieharder-3.31.1-cross-compile.patch     | 57 ++++++++++++++++++++++
 .../files/dieharder-3.31.1-urandom-64bit.patch     | 15 +++---
 4 files changed, 86 insertions(+), 45 deletions(-)