Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706970 - media-sound/cvoicecontrol-0.9_alpha-r1 : fails to build with -fno-common or gcc-10
Summary: media-sound/cvoicecontrol-0.9_alpha-r1 : fails to build with -fno-common or g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:51 UTC by Toralf Förster
Modified: 2020-08-08 16:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-28 18:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,197.60 KB, text/plain)
2020-01-28 18:51 UTC, Toralf Förster
Details
environment (environment,62.98 KB, text/plain)
2020-01-28 18:51 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.74 KB, application/x-bzip)
2020-01-28 18:51 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.26 KB, application/x-bzip)
2020-01-28 18:51 UTC, Toralf Förster
Details
media-sound:cvoicecontrol-0.9_alpha-r1:20200128-150415.log (media-sound:cvoicecontrol-0.9_alpha-r1:20200128-150415.log,20.46 KB, text/plain)
2020-01-28 18:51 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.84 KB, application/x-bzip)
2020-01-28 18:51 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-01-28 18:51:35 UTC
cvoicecontrol.c:494:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
  494 |      system((getModelItem(model, id))->command);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o cvoicecontrol audio.o bb_queue.o configuration.o keypressed.o mixer.o model.o preprocess.o realfftf.o score.o semaphore.o cvoicecontrol.o -lm -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: configuration.o:(.bss+0x6cc): multiple definition of `silence_level'; audio.o:(.bss+0x6c4): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: configuration.o:(.bss+0x20): multiple definition of `channel_mean'; audio.o:(.bss+0x20): first defined here

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

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

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

  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.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 13:26:22 +0000

emerge -qpvO media-sound/cvoicecontrol
[ebuild  N    ] media-sound/cvoicecontrol-0.9_alpha-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:51:38 UTC
Created attachment 606914 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:51:40 UTC
Created attachment 606916 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:51:43 UTC
Created attachment 606918 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:51:46 UTC
Created attachment 606920 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:51:49 UTC
Created attachment 606922 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:51:51 UTC
Created attachment 606924 [details]
media-sound:cvoicecontrol-0.9_alpha-r1:20200128-150415.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:51:54 UTC
Created attachment 606926 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-08 16:54:36 UTC
The bug has been closed via the following commit(s):

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

commit 61e8a007fd7e45537965ba515faca3611806bb94
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-08 16:53:42 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-08 16:53:42 +0000

    media-sound/cvoicecontrol: Fix building under -fno-common
    
    Closes: https://bugs.gentoo.org/706970
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../cvoicecontrol-0.9_alpha-r1.ebuild              |  19 +--
 .../files/cvoicecontrol-0.9_alpha-automake.patch   |  33 ++++
 .../files/cvoicecontrol-0.9_alpha-gentoo-2.patch   | 180 +++++++++++++++++++--
 3 files changed, 210 insertions(+), 22 deletions(-)