Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 710416

Summary: dev-db/slony1-2.2.7 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/ssinger/slony1-engine/commit/d31094f0ab5df9504847c7c0f4085f86b417321c
See Also: https://bugs.gentoo.org/show_bug.cgi?id=762943
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
dev-db:slony1-2.2.7:20200221-012337.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-21 18:16:32 UTC
      |                ^~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wmissing-declarations -pthread -I../.. -I../../src/slon -I/usr/include/postgresql-11/ -c -o confoptions.o confoptions.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wmissing-declarations -pthread -I../.. -I../../src/slon -I/usr/include/postgresql-11/ -c -o misc.o misc.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wmissing-declarations -pthread -I../.. -I../../src/slon -o slon slon.o runtime_config.o local_listen.o remote_listen.o remote_worker.o sync_thread.o monitor_thread.o cleanup_thread.o scheduler.o dbutils.o conf-file.o confoptions.o misc.o ../parsestatements/scanner.o -pthread -Wl,-O1 -Wl,--as-needed -L/usr/lib64/postgresql-11/lib64/ -lpq  -Wl,-rpath,/usr/lib64/postgresql-11/lib64/  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: runtime_config.o:(.bss+0xd0): multiple definition of `command_on_logarchive'; slon.o:(.bss+0xb0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: runtime_config.o:(.bss+0xd8): multiple definition of `lag_interval'; slon.o:(.bss+0xb8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20200216-141645

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

  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) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 20 Feb 2020 23:37:37 +0000

emerge -qpvO dev-db/slony1
[ebuild  N    ] dev-db/slony1-2.2.7  USE="-doc -perl" POSTGRES_TARGETS="postgres10 postgres11 -postgres9_4 -postgres9_5 -postgres9_6"
Comment 1 Toralf Förster gentoo-dev 2020-02-21 18:16:35 UTC
Created attachment 614858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-21 18:16:37 UTC
Created attachment 614860 [details]
dev-db:slony1-2.2.7:20200221-012337.log
Comment 3 Toralf Förster gentoo-dev 2020-02-21 18:16:40 UTC
Created attachment 614862 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-21 18:16:43 UTC
Created attachment 614864 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-21 18:16:45 UTC
Created attachment 614866 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-21 18:16:48 UTC
Created attachment 614868 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-21 18:16:51 UTC
Created attachment 614870 [details]
temp.tbz2
Comment 8 Jakov Smolić archtester gentoo-dev 2021-01-01 18:03:58 UTC
Fixed in 2.2.9