Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710416 - dev-db/slony1-2.2.7 : fails to build with -fno-common or gcc-10
Summary: dev-db/slony1-2.2.7 : 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: PgSQL Bugs
URL: https://github.com/ssinger/slony1-eng...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-02-21 18:16 UTC by Toralf Förster
Modified: 2021-01-06 16:45 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.63 KB, text/plain)
2020-02-21 18:16 UTC, Toralf Förster
Details
dev-db:slony1-2.2.7:20200221-012337.log (dev-db:slony1-2.2.7:20200221-012337.log,43.16 KB, text/plain)
2020-02-21 18:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,206.23 KB, text/plain)
2020-02-21 18:16 UTC, Toralf Förster
Details
environment (environment,112.68 KB, text/plain)
2020-02-21 18:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.18 KB, application/x-bzip)
2020-02-21 18:16 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.38 KB, application/x-bzip)
2020-02-21 18:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.84 KB, application/x-bzip)
2020-02-21 18:16 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-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