Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709304 - sci-mathematics/yafu-1.34.3 : fails to build with -fno-common or gcc-10
Summary: sci-mathematics/yafu-1.34.3 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-11 17:55 UTC by Toralf Förster
Modified: 2020-02-11 17:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.31 KB, text/plain)
2020-02-11 17:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.64 KB, text/plain)
2020-02-11 17:55 UTC, Toralf Förster
Details
environment (environment,83.16 KB, text/plain)
2020-02-11 17:55 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.57 KB, application/x-bzip)
2020-02-11 17:55 UTC, Toralf Förster
Details
sci-mathematics:yafu-1.34.3:20200211-085132.log (sci-mathematics:yafu-1.34.3:20200211-085132.log,677.57 KB, text/plain)
2020-02-11 17:55 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.50 KB, application/x-bzip)
2020-02-11 17:55 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-11 17:55:19 UTC
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -pipe -march=native -fno-common -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/nfs/nfs_threading.o factor/nfs/nfs_threading.c
gcc -O2 -pipe -march=native -fno-common -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm -c -o factor/nfs/snfs.o factor/nfs/snfs.c
gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-common -DUSE_NFS -O3 -fomit-frame-pointer -Wall  -I. -Iinclude -Igmp -Igmp-ecm factor/qs/msieve/lanczos.o factor/qs/msieve/lanczos_matmul0.o factor/qs/msieve/lanczos_matmul1.o factor/qs/msieve/lanczos_matmul2.o factor/qs/msieve/lanczos_pre.o factor/qs/msieve/sqrt.o factor/qs/msieve/savefile.o factor/qs/msieve/gf2.o top/driver.o top/utils.o top/stack.o top/calc.o top/test.o top/mpz_prp_prime.o factor/factor_common.o factor/rho.o factor/squfof.o factor/trialdiv.o factor/tune.o factor/qs/filter.o factor/qs/tdiv.o factor/qs/tdiv_small.o factor/qs/tdiv_med_32k.o factor/qs/tdiv_med_64k.o factor/qs/tdiv_resieve_32k.o factor/qs/tdiv_resieve_64k.o factor/qs/tdiv_large.o factor/qs/tdiv_scan.o factor/qs/large_sieve.o factor/qs/med_sieve_32k.o factor/qs/med_sieve_64k.o factor/qs/new_poly.o factor/qs/poly_roots_32k.o factor/qs/poly_roots_64k.o factor/qs/update_poly_roots_32k.o factor/qs/update_poly_roots_64k.o factor/qs/siqs_test.o factor/tinyqs/tinySIQS.o factor/qs/siqs_aux.o factor/qs/smallmpqs.o factor/qs/SIQS.o factor/gmp-ecm/ecm.o factor/gmp-ecm/pp1.o factor/gmp-ecm/pm1.o factor/nfs/nfs.o arith/arith0.o arith/arith1.o arith/arith2.o arith/arith3.o top/eratosthenes/count.o top/eratosthenes/offsets.o top/eratosthenes/primes.o top/eratosthenes/roots.o top/eratosthenes/linesieve.o top/eratosthenes/soe.o top/eratosthenes/tiny.o top/eratosthenes/worker.o top/eratosthenes/soe_util.o top/eratosthenes/wrapper.o factor/nfs/nfs_sieving.o factor/nfs/nfs_poly.o factor/nfs/nfs_postproc.o factor/nfs/nfs_filemanip.o factor/nfs/nfs_threading.o factor/nfs/snfs.o -o yafu -lmsieve -lz -ldl  -lmsieve -ldl -lm -lpthread -lecm -lgmp -lgomp
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: factor/qs/msieve/lanczos_matmul0.o:(.bss+0xcf4): multiple definition of `VFLAG'; factor/qs/msieve/lanczos.o:(.bss+0x1594): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: factor/qs/msieve/lanczos_matmul0.o:(.bss+0x0): multiple definition of `test_qn_res'; factor/qs/msieve/lanczos.o:(.bss+0x8a0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200208-141802

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

  Please see the tracker bug for details.

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


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (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 <==
Tue, 11 Feb 2020 00:11:22 +0000

emerge -qpvO sci-mathematics/yafu
[ebuild  N    ] sci-mathematics/yafu-1.34.3  USE="sieve"
Comment 1 Toralf Förster gentoo-dev 2020-02-11 17:55:22 UTC
Created attachment 613336 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-11 17:55:24 UTC
Created attachment 613338 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-11 17:55:27 UTC
Created attachment 613340 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-11 17:55:30 UTC
Created attachment 613342 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-11 17:55:33 UTC
Created attachment 613344 [details]
sci-mathematics:yafu-1.34.3:20200211-085132.log
Comment 6 Toralf Förster gentoo-dev 2020-02-11 17:55:35 UTC
Created attachment 613346 [details]
temp.tbz2