Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709722 - sci-calculators/hcalc-1.2-r1 : fails to build with -fno-common or gcc-10
Summary: sci-calculators/hcalc-1.2-r1 : 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: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-15 11:13 UTC by Toralf Förster
Modified: 2020-02-15 11:23 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.41 KB, text/plain)
2020-02-15 11:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,242.03 KB, text/plain)
2020-02-15 11:13 UTC, Toralf Förster
Details
environment (environment,110.73 KB, text/plain)
2020-02-15 11:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.23 KB, application/x-bzip)
2020-02-15 11:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.39 KB, application/x-bzip)
2020-02-15 11:13 UTC, Toralf Förster
Details
sci-calculators:hcalc-1.2-r1:20200215-102345.log (sci-calculators:hcalc-1.2-r1:20200215-102345.log,12.00 KB, text/plain)
2020-02-15 11:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.53 KB, application/x-bzip)
2020-02-15 11:13 UTC, Toralf Förster
Details
files/hcalc-1.2-fno-common.patch (hcalc-1.2-fno-common.patch,213 bytes, patch)
2020-02-15 11:23 UTC, Jeroen Roovers
Details | Diff

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-15 11:13:03 UTC
      |    ^~~~~~~~~~~~~~
[100%] Linking C executable hcalc
/usr/bin/cmake -E cmake_link_script CMakeFiles/hcalc.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include  -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/hcalc.dir/draw.c.o CMakeFiles/hcalc.dir/hcalc.c.o CMakeFiles/hcalc.dir/images.c.o CMakeFiles/hcalc.dir/input.c.o CMakeFiles/hcalc.dir/setupx.c.o  -o hcalc  -lX11 -lXpm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/hcalc.dir/hcalc.c.o:(.bss+0x0): multiple definition of `bit_off'; CMakeFiles/hcalc.dir/draw.c.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/hcalc.dir/hcalc.c.o:(.bss+0x4): multiple definition of `bit_on'; CMakeFiles/hcalc.dir/draw.c.o:(.bss+0x4): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200210-071618

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

  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.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 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 15 Feb 2020 09:37:28 +0000

emerge -qpvO sci-calculators/hcalc
[ebuild  N    ] sci-calculators/hcalc-1.2-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-15 11:13:05 UTC
Created attachment 613908 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-15 11:13:08 UTC
Created attachment 613910 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-15 11:13:11 UTC
Created attachment 613912 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-15 11:13:14 UTC
Created attachment 613914 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-15 11:13:16 UTC
Created attachment 613916 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-15 11:13:19 UTC
Created attachment 613918 [details]
sci-calculators:hcalc-1.2-r1:20200215-102345.log
Comment 7 Toralf Förster gentoo-dev 2020-02-15 11:13:22 UTC
Created attachment 613920 [details]
temp.tbz2
Comment 8 Jeroen Roovers gentoo-dev 2020-02-15 11:23:01 UTC
Created attachment 613922 [details, diff]
files/hcalc-1.2-fno-common.patch