Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706882 - app-admin/sagan-1.0.0_rc3-r1 : fails to build with -fno-common or gcc-10
Summary: app-admin/sagan-1.0.0_rc3-r1 : 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: Maxim Koltsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:30 UTC by Toralf Förster
Modified: 2020-01-28 18:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.79 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
app-admin:sagan-1.0.0_rc3-r1:20200128-061904.log (app-admin:sagan-1.0.0_rc3-r1:20200128-061904.log,42.39 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,89.20 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
environment (environment,108.56 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.84 KB, application/x-bzip)
2020-01-28 18:30 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.84 KB, application/x-bzip)
2020-01-28 18:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.14 KB, application/x-bzip)
2020-01-28 18:30 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:30:36 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/json-c   -I/usr/include/libfastjson  -O2 -pipe -march=native -fno-common -c -o sagan-sagan-websense.o `test -f 'processors/sagan-websense.c' || echo './'`processors/sagan-websense.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/json-c   -I/usr/include/libfastjson  -O2 -pipe -march=native -fno-common -c -o sagan-sagan-blacklist.o `test -f 'processors/sagan-blacklist.c' || echo './'`processors/sagan-blacklist.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/json-c   -I/usr/include/libfastjson  -O2 -pipe -march=native -fno-common -c -o sagan-sagan-search.o `test -f 'processors/sagan-search.c' || echo './'`processors/sagan-search.c
x86_64-pc-linux-gnu-gcc -I/usr/include/json-c   -I/usr/include/libfastjson  -O2 -pipe -march=native -fno-common -ljson-c  -lestr  -llognorm -lfastjson  -Wl,-O1 -Wl,--as-needed -o sagan sagan-sagan.o sagan-sagan-classifications.o sagan-sagan-config.o sagan-sagan-lockfile.o sagan-sagan-references.o sagan-sagan-rules.o sagan-sagan-signal.o sagan-sagan-key.o sagan-sagan-stats.o sagan-sagan-strlcat.o sagan-sagan-strlcpy.o sagan-sagan-usage.o sagan-sagan-util.o sagan-sagan-plog.o sagan-sagan-output.o sagan-sagan-processor.o sagan-sagan-gen-msg.o sagan-sagan-liblognorm.o sagan-sagan-ignore-list.o sagan-sagan-send-alert.o sagan-sagan-credits.o sagan-sagan-protocol-map.o sagan-sagan-geoip.o sagan-sagan-meta-content.o sagan-sagan-flowbit.o sagan-sagan-alert-time.o sagan-parse-ip.o sagan-parse-port.o sagan-parse-proto.o sagan-sagan-alert.o sagan-sagan-esmtp.o sagan-sagan-external.o sagan-sagan-unified2.o sagan-sagan-twofish.o sagan-sagan-snortsam.o sagan-sagan-engine.o sagan-sagan-track-clients.o sagan-sagan-websense.o sagan-sagan-blacklist.o sagan-sagan-search.o  -ldnet -lpcap -lm -lpthread -lpcre 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sagan-sagan-classifications.o:(.bss+0x18): multiple definition of `counters'; sagan-sagan.o:(.bss+0xb8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sagan-sagan-classifications.o:(.bss+0x10): multiple definition of `classstruct'; sagan-sagan.o:(.bss+0xa8): first defined here

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

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

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

  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:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

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

emerge -qpvO app-admin/sagan
[ebuild  N    ] app-admin/sagan-1.0.0_rc3-r1  USE="libdnet lognorm pcap -geoip -mysql -smtp -snort"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:30:39 UTC
Created attachment 606324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:30:42 UTC
Created attachment 606326 [details]
app-admin:sagan-1.0.0_rc3-r1:20200128-061904.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:30:46 UTC
Created attachment 606328 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:30:49 UTC
Created attachment 606330 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:30:52 UTC
Created attachment 606332 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:30:55 UTC
Created attachment 606334 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:30:57 UTC
Created attachment 606336 [details]
temp.tbz2