Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708532 - sys-apps/the_silver_searcher-2.2.0 : fails to build with -fno-common or gcc-10
Summary: sys-apps/the_silver_searcher-2.2.0 : 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: Sam Jorna (wraeth)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:25 UTC by Toralf Förster
Modified: 2020-05-15 04:34 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,126.78 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
environment (environment,63.95 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.21 KB, application/x-bzip)
2020-02-06 22:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.96 KB, application/x-bzip)
2020-02-06 22:25 UTC, Toralf Förster
Details
sys-apps:the_silver_searcher-2.2.0:20200206-083103.log (sys-apps:the_silver_searcher-2.2.0:20200206-083103.log,22.25 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.67 KB, application/x-bzip)
2020-02-06 22:25 UTC, Toralf Förster
Details
files/the_silver_searcher-2.2.0-fno-common.patch (the_silver_searcher-2.2.0-fno-common.patch,3.70 KB, patch)
2020-04-15 17:18 UTC, Jeroen Roovers
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-06 22:25:16 UTC
      |                      ^
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src     -O2 -pipe -march=native -fno-common -pthread  -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -c -o src/main.o src/main.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src     -O2 -pipe -march=native -fno-common -pthread  -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE -c -o src/zfile.o src/zfile.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -pthread  -Wall -Wextra -Wformat=2 -Wno-format-nonliteral -Wshadow -Wpointer-arith -Wcast-qual -Wmissing-prototypes -Wno-missing-braces -std=gnu89 -D_GNU_SOURCE  -Wl,-O1 -Wl,--as-needed -o ag src/ignore.o src/log.o src/options.o src/print.o src/print_w32.o src/scandir.o src/search.o src/lang.o src/util.o src/decompress.o src/main.o src/zfile.o -lpcre     -lz  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/log.o:(.bss+0x1c0): multiple definition of `print_mtx'; src/ignore.o:(.bss+0x1c0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/log.o:(.bss+0x40): multiple definition of `out_fd'; src/ignore.o:(.bss+0x40): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

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 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 07:48:50 +0000

emerge -qpvO sys-apps/the_silver_searcher
[ebuild  N    ] sys-apps/the_silver_searcher-2.2.0  USE="zlib -lzma -test"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:25:19 UTC
Created attachment 612272 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:25:22 UTC
Created attachment 612274 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:25:25 UTC
Created attachment 612276 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:25:28 UTC
Created attachment 612278 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:25:31 UTC
Created attachment 612280 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:25:34 UTC
Created attachment 612282 [details]
sys-apps:the_silver_searcher-2.2.0:20200206-083103.log
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:25:37 UTC
Created attachment 612284 [details]
temp.tbz2
Comment 8 Jeroen Roovers gentoo-dev 2020-04-15 17:18:22 UTC
Created attachment 633104 [details, diff]
files/the_silver_searcher-2.2.0-fno-common.patch
Comment 9 Philippe Michaud-Boudreault 2020-05-15 04:34:58 UTC
Getting this bug, please add fix.