Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708804 - x11-plugins/gkrellmss-2.6-r4 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/gkrellmss-2.6-r4 : 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:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-09 09:43 UTC by Toralf Förster
Modified: 2020-11-27 17:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.47 KB, text/plain)
2020-02-09 09:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,262.02 KB, text/plain)
2020-02-09 09:43 UTC, Toralf Förster
Details
environment (environment,48.85 KB, text/plain)
2020-02-09 09:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.10 KB, application/x-bzip)
2020-02-09 09:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,546 bytes, application/x-bzip)
2020-02-09 09:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.17 KB, application/x-bzip)
2020-02-09 09:43 UTC, Toralf Förster
Details
x11-plugins:gkrellmss-2.6-r4:20200209-093358.log (x11-plugins:gkrellmss-2.6-r4:20200209-093358.log,6.92 KB, text/plain)
2020-02-09 09:43 UTC, Toralf Förster
Details
patch to allow gkrellmss to compile with gcc-10 -fcommon (for-gcc.10.patch,194 bytes, patch)
2020-06-21 22:15 UTC, Jack
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-09 09:43:12 UTC
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`  -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common   -c -o option.o option.c
Makefile:101: Note: could not configure Esound support.
gcc -O2 -Wall -fPIC `pkg-config gtk+-2.0 --cflags`  -DENABLE_NLS -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-common gkrellmss.o oscope.o spectrum.o sdlib.o option.o -o gkrellmss.so -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 `pkg-config gtk+-2.0 --libs` -lasound -lfftw3 -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: oscope.o:(.bss+0x0): multiple definition of `gkrellmss'; gkrellmss.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: spectrum.o:(.bss+0x0): multiple definition of `gkrellmss'; gkrellmss.o:(.bss+0x0): first defined here

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

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

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

  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 *
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 <==
Sun, 09 Feb 2020 08:47:20 +0000

emerge -qpvO x11-plugins/gkrellmss
[ebuild  N    ] x11-plugins/gkrellmss-2.6-r4  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-02-09 09:43:15 UTC
Created attachment 613030 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-09 09:43:18 UTC
Created attachment 613032 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-09 09:43:21 UTC
Created attachment 613034 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-09 09:43:24 UTC
Created attachment 613036 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-09 09:43:26 UTC
Created attachment 613038 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-09 09:43:29 UTC
Created attachment 613040 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-09 09:43:33 UTC
Created attachment 613042 [details]
x11-plugins:gkrellmss-2.6-r4:20200209-093358.log
Comment 8 Jack 2020-05-20 21:16:57 UTC
gkrelmss has migrated it's home page from dslextreme.com to https://github.com/billw2/gkrellmss.  Should I open a separate bug for that, or can it be handled as part of this one?

I have opened an issue upstream:  https://github.com/billw2/gkrellmss/issues/1
Comment 9 Jack 2020-06-21 22:15:05 UTC
Created attachment 645586 [details, diff]
patch to allow gkrellmss to compile with gcc-10 -fcommon

This patch allows the current version to compile with gcc-10.  I will submit this upstream.  Once upstream has a new version, I'll file a separate bug for that, including the new home page for the plugin.
Comment 10 Larry the Git Cow gentoo-dev 2020-11-27 17:37:04 UTC
The bug has been closed via the following commit(s):

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

commit ca6c3228fe0497ccbafef790f2a60b9d5aadff1a
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-27 17:36:43 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-27 17:36:43 +0000

    x11-plugins/gkrellmss: fix build with gcc-10
    
    * Thanks to Jack Ostroff <ostroffjh@users.sourceforge.net> for
      submitting the original patch
    
    Closes: https://bugs.gentoo.org/708804
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 x11-plugins/gkrellmss/files/gkrellmss-2.6-fno-common.patch | 12 ++++++++++++
 x11-plugins/gkrellmss/gkrellmss-2.6-r4.ebuild              |  7 +++++--
 2 files changed, 17 insertions(+), 2 deletions(-)