Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721048 - sci-libs/vtk-8.2.0 : fails to build with -fno-common or gcc-10
Summary: sci-libs/vtk-8.2.0 : 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:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-05 07:50 UTC by Toralf Förster
Modified: 2020-05-24 21:15 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.49 KB, text/plain)
2020-05-05 07:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,260.83 KB, text/plain)
2020-05-05 07:50 UTC, Toralf Förster
Details
environment (environment,211.79 KB, text/plain)
2020-05-05 07:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,41.48 KB, application/x-bzip)
2020-05-05 07:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.49 KB, application/x-bzip)
2020-05-05 07:50 UTC, Toralf Förster
Details
sci-libs:vtk-8.2.0:20200504-210844.log.bz2 (sci-libs:vtk-8.2.0:20200504-210844.log.bz2,60.45 KB, application/x-bzip)
2020-05-05 07:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,104.10 KB, application/x-bzip)
2020-05-05 07:50 UTC, Toralf Förster
Details
Fix build with -fcommon or GCC 10 (exodus-gcc10.patch,1.04 KB, patch)
2020-05-24 21:15 UTC, Tiernan Hubble
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-05-05 07:50:11 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ThirdParty/exodusII/vtkexodusII/CMakeFiles/vtkexodusII.dir/src/ex_open_par.c.o:(.rodata+0x0): multiple definition of `exodus_unused_symbol_dummy_1'; ThirdParty/exodusII/vtkexodusII/CMakeFiles/vtkexodusII.dir/src/ex_create_par.c.o:(.rodata+0x0): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200426-201443

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8
  [3]   python3.7
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 04 May 2020 07:56:22 PM UTC

emerge -qpvO sci-libs/vtk
[ebuild  N    ] sci-libs/vtk-8.2.0  USE="X qt5 -R -all-modules (-aqua) -boost -doc (-examples) -ffmpeg -gdal -imaging -java -json -mpi -odbc -offscreen -postgres -python -rendering -tbb -tcl -test -theora -tk -views -web -xdmf2" PYTHON_SINGLE_TARGET="python3_6" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2020-05-05 07:50:14 UTC
Created attachment 636120 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-05 07:50:18 UTC
Created attachment 636122 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-05 07:50:21 UTC
Created attachment 636124 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-05 07:50:23 UTC
Created attachment 636126 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-05 07:50:26 UTC
Created attachment 636128 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-05 07:50:30 UTC
Created attachment 636130 [details]
sci-libs:vtk-8.2.0:20200504-210844.log.bz2
Comment 7 Toralf Förster gentoo-dev 2020-05-05 07:50:33 UTC
Created attachment 636132 [details]
temp.tbz2
Comment 8 Tiernan Hubble 2020-05-24 21:15:19 UTC
Created attachment 641478 [details, diff]
Fix build with -fcommon or GCC 10

Looks like upstream bug https://gitlab.kitware.com/vtk/vtk/issues/17774

The attached patch fixes it for me.