Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738186 - net-analyzer/flowgrind-0.8.0 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/flowgrind-0.8.0 : 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: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-08-20 12:01 UTC by Toralf Förster
Modified: 2023-04-19 06:14 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.84 KB, text/plain)
2020-08-20 12:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,240.51 KB, text/plain)
2020-08-20 12:01 UTC, Toralf Förster
Details
environment (environment,15.42 KB, text/plain)
2020-08-20 12:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.68 KB, application/x-bzip)
2020-08-20 12:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.60 KB, application/x-bzip)
2020-08-20 12:01 UTC, Toralf Förster
Details
net-analyzer:flowgrind-0.8.0:20200820-115009.log (net-analyzer:flowgrind-0.8.0:20200820-115009.log,25.54 KB, text/plain)
2020-08-20 12:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.79 KB, application/x-bzip)
2020-08-20 12:01 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-08-20 12:01:08 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/flowgrindd-destination.o:(.bss+0x0): multiple definition of `dump_dir'; src/flowgrindd-daemon.o:(.bss+0x230): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/flowgrindd-destination.o:(.bss+0x8): multiple definition of `dump_prefix'; src/flowgrindd-daemon.o:(.bss+0x238): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200815-181803

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Aug 20 11:05:40 AM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO net-analyzer/flowgrind
[ebuild  N    ] net-analyzer/flowgrind-0.8.0  USE="-debug -doc -gsl -pcap"
Comment 1 Toralf Förster gentoo-dev 2020-08-20 12:01:10 UTC
Created attachment 655700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-20 12:01:12 UTC
Created attachment 655702 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-20 12:01:13 UTC
Created attachment 655704 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-20 12:01:15 UTC
Created attachment 655706 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-20 12:01:17 UTC
Created attachment 655708 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-20 12:01:18 UTC
Created attachment 655710 [details]
net-analyzer:flowgrind-0.8.0:20200820-115009.log
Comment 7 Toralf Förster gentoo-dev 2020-08-20 12:01:20 UTC
Created attachment 655712 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-20 13:06:20 UTC
The bug has been closed via the following commit(s):

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

commit 09820b316c5ffe7ca4ef801fd1481fe967bef5b3
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-08-20 13:04:08 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-08-20 13:06:18 +0000

    net-analyzer/flowgrind: Fix building with CFLAGS=-fno-common
    
    https://github.com/flowgrind/flowgrind/pull/227
    
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Closes: https://bugs.gentoo.org/738186
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/flowgrind-0.8.0-fno-common.patch         | 36 ++++++++++++++++
 net-analyzer/flowgrind/flowgrind-0.8.0-r1.ebuild   | 49 ++++++++++++++++++++++
 2 files changed, 85 insertions(+)