Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710088 - sci-geosciences/gmt-5.4.4 : fails to build with -fno-common or gcc-10
Summary: sci-geosciences/gmt-5.4.4 : 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: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-18 18:54 UTC by Toralf Förster
Modified: 2020-02-18 18:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.60 KB, text/plain)
2020-02-18 18:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,43.98 KB, text/plain)
2020-02-18 18:54 UTC, Toralf Förster
Details
environment (environment,87.40 KB, text/plain)
2020-02-18 18:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.79 KB, application/x-bzip)
2020-02-18 18:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.83 KB, application/x-bzip)
2020-02-18 18:54 UTC, Toralf Förster
Details
sci-geosciences:gmt-5.4.4:20200218-051014.log (sci-geosciences:gmt-5.4.4:20200218-051014.log,142.19 KB, text/plain)
2020-02-18 18:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.88 KB, application/x-bzip)
2020-02-18 18:54 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-18 18:54:16 UTC
FAILED: src/plugins/supplements.so 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -std=gnu99 -O2 -pipe -march=native -fno-common -fopenmp  -Wl,-O1 -Wl,--as-needed -shared  -o src/plugins/supplements.so src/CMakeFiles/supplib.dir/gmt_supplements_module.c.o src/CMakeFiles/supplib.dir/gshhg/gshhg.c.o src/CMakeFiles/supplib.dir/img/img2grd.c.o src/CMakeFiles/supplib.dir/meca/utilmeca.c.o src/CMakeFiles/supplib.dir/meca/sacio.c.o src/CMakeFiles/supplib.dir/meca/psmeca.c.o src/CMakeFiles/supplib.dir/meca/pspolar.c.o src/CMakeFiles/supplib.dir/meca/psvelo.c.o src/CMakeFiles/supplib.dir/meca/pscoupe.c.o src/CMakeFiles/supplib.dir/meca/pssac.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77_functions.c.o src/CMakeFiles/supplib.dir/mgd77/cm4_functions.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77convert.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77header.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77info.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77list.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77magref.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77manage.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77path.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77sniffer.c.o src/CMakeFiles/supplib.dir/mgd77/mgd77track.c.o src/CMakeFiles/supplib.dir/misc/dimfilter.c.o src/CMakeFiles/supplib.dir/potential/okbfuns.c.o src/CMakeFiles/supplib.dir/potential/grdredpol.c.o src/CMakeFiles/supplib.dir/potential/gmtgravmag3d.c.o src/CMakeFiles/supplib.dir/potential/gmtflexure.c.o src/CMakeFiles/supplib.dir/potential/gravfft.c.o src/CMakeFiles/supplib.dir/potential/gpsgridder.c.o src/CMakeFiles/supplib.dir/potential/grdflexure.c.o src/CMakeFiles/supplib.dir/potential/grdgravmag3d.c.o src/CMakeFiles/supplib.dir/potential/grdseamount.c.o src/CMakeFiles/supplib.dir/potential/talwani2d.c.o src/CMakeFiles/supplib.dir/potential/talwani3d.c.o src/CMakeFiles/supplib.dir/segy/segy_io.c.o src/CMakeFiles/supplib.dir/segy/segy2grd.c.o src/CMakeFiles/supplib.dir/segy/pssegy.c.o src/CMakeFiles/supplib.dir/segy/pssegyz.c.o src/CMakeFiles/supplib.dir/spotter/libspotter.c.o src/CMakeFiles/supplib.dir/spotter/backtracker.c.o src/CMakeFiles/supplib.dir/spotter/gmtpmodeler.c.o src/CMakeFiles/supplib.dir/spotter/grdpmodeler.c.o src/CMakeFiles/supplib.dir/spotter/grdrotater.c.o src/CMakeFiles/supplib.dir/spotter/grdspotter.c.o src/CMakeFiles/supplib.dir/spotter/hotspotter.c.o src/CMakeFiles/supplib.dir/spotter/originator.c.o src/CMakeFiles/supplib.dir/spotter/rotconverter.c.o src/CMakeFiles/supplib.dir/spotter/rotsmoother.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_init.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_put.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_get.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_binlist.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_datalist.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_cross.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_list.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_report.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_solve.c.o src/CMakeFiles/supplib.dir/x2sys/x2sys_merge.c.o  -Wl,-rpath,/var/tmp/portage/sci-geosciences/gmt-5.4.4/work/gmt-5.4.4_build/src:  src/libgmt.so.5.4.4  src/libpostscriptlight.so.5.4.4  -ldl  -lm  -lz  -lnetcdf  -lcurl  -lgdal  -lpcre  -lfftw3f  -ldl  -lm && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/supplib.dir/potential/gmtgravmag3d.c.o:(.bss+0x8): multiple definition of `okabe_mag_param'; src/CMakeFiles/supplib.dir/potential/okbfuns.c.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/CMakeFiles/supplib.dir/potential/gmtgravmag3d.c.o:(.bss+0x0): multiple definition of `okabe_mag_var'; src/CMakeFiles/supplib.dir/potential/okbfuns.c.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200216-164747

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

  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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 18 Feb 2020 03:37:42 +0000

emerge -qpvO sci-geosciences/gmt
[ebuild  N    ] sci-geosciences/gmt-5.4.4  USE="fftw gdal openmp pcre -doc -examples -gmttria -htmldoc -lapack -pcre2 -threads -tutorial"
Comment 1 Toralf Förster gentoo-dev 2020-02-18 18:54:19 UTC
Created attachment 614290 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-18 18:54:22 UTC
Created attachment 614292 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-18 18:54:24 UTC
Created attachment 614294 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-18 18:54:27 UTC
Created attachment 614296 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-18 18:54:30 UTC
Created attachment 614298 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-18 18:54:33 UTC
Created attachment 614300 [details]
sci-geosciences:gmt-5.4.4:20200218-051014.log
Comment 7 Toralf Förster gentoo-dev 2020-02-18 18:54:36 UTC
Created attachment 614302 [details]
temp.tbz2