Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707204 - net-analyzer/suricata-5.0.1 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/suricata-5.0.1 : 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: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:00 UTC by Toralf Förster
Modified: 2020-02-05 15:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.22 KB, text/plain)
2020-01-29 18:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,116.38 KB, text/plain)
2020-01-29 18:00 UTC, Toralf Förster
Details
environment (environment,133.54 KB, text/plain)
2020-01-29 18:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.75 KB, application/x-bzip)
2020-01-29 18:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.27 KB, application/x-bzip)
2020-01-29 18:00 UTC, Toralf Förster
Details
net-analyzer:suricata-5.0.1:20200129-062849.log.bz2 (net-analyzer:suricata-5.0.1:20200129-062849.log.bz2,41.36 KB, application/x-bzip)
2020-01-29 18:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,73.17 KB, application/x-bzip)
2020-01-29 18: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-01-29 18:00:42 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: alert-fastlog.o:(.bss+0x9e0): multiple definition of `tmm_modules'; alert-debuglog.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: alert-fastlog.o:(.bss+0x1760): multiple definition of `sigmatch_table'; alert-debuglog.o:(.bss+0xd80): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 05:26:17 +0000

emerge -qpvO net-analyzer/suricata
[ebuild  N    ] net-analyzer/suricata-5.0.1  USE="af-packet detection hardened lua nfqueue test -bpf -control-socket -cuda -debug -geoip -logrotate -luajit -lz4 -nflog -redis -systemd" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8" PYTHON_TARGETS="python3_6 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:00:45 UTC
Created attachment 607884 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:00:48 UTC
Created attachment 607886 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:00:51 UTC
Created attachment 607888 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:00:55 UTC
Created attachment 607890 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:00:58 UTC
Created attachment 607892 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:01:01 UTC
Created attachment 607894 [details]
net-analyzer:suricata-5.0.1:20200129-062849.log.bz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:01:04 UTC
Created attachment 607896 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-02-05 15:30:50 UTC
The bug has been closed via the following commit(s):

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

commit e079e3cc9126887c71f1cd7130157e17c1ea31ac
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-02-05 15:29:31 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-02-05 15:30:35 +0000

    net-analyzer/suricata: build with -fno-common / gcc-10
    
    Tried fixing the code but it turns out it would require a non-trivial
    amount of changes so let's just force -fcommon. Tested using gcc-9 with
    -fno-common included in CFLAGS.
    
    Closes: https://bugs.gentoo.org/707204
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-analyzer/suricata/suricata-5.0.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)