Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706700 - dev-db/pgpool2-4.0.5 : fails to build with -fno-common or gcc-10
Summary: dev-db/pgpool2-4.0.5 : 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: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 17:36 UTC by Toralf Förster
Modified: 2020-01-27 17:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.80 KB, text/plain)
2020-01-27 17:36 UTC, Toralf Förster
Details
dev-db:pgpool2-4.0.5:20200127-105811.log (dev-db:pgpool2-4.0.5:20200127-105811.log,73.36 KB, text/plain)
2020-01-27 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,44.99 KB, text/plain)
2020-01-27 17:36 UTC, Toralf Förster
Details
environment (environment,85.00 KB, text/plain)
2020-01-27 17:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.93 KB, application/x-bzip)
2020-01-27 17:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,29.51 KB, application/x-bzip)
2020-01-27 17:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.90 KB, application/x-bzip)
2020-01-27 17:36 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-27 17:36:16 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/etc/pgpool2\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include  -D_GNU_SOURCE -I /usr/include/postgresql-11   -O2 -pipe -march=native -fno-common -pthread -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -fno-strict-aliasing -c -o utils/statistics.o utils/statistics.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -pthread -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -o pgpool main/main.o main/pool_globals.o main/pgpool_main.o main/health_check.o config/pool_config.o config/pool_config_variables.o pcp_con/pcp_child.o pcp_con/pcp_worker.o pcp_con/recovery.o auth/md5.o auth/pool_auth.o auth/pool_passwd.o auth/pool_hba.o auth/auth-scram.o protocol/pool_proto2.o protocol/child.o protocol/pool_process_query.o protocol/pool_connection_pool.o protocol/pool_proto_modules.o query_cache/pool_memqcache.o protocol/CommandComplete.o context/pool_session_context.o context/pool_process_context.o context/pool_query_context.o streaming_replication/pool_worker_child.o rewrite/pool_timestamp.o rewrite/pool_lobj.o utils/pool_select_walker.o utils/strlcpy.o utils/psprintf.o utils/pool_params.o utils/ps_status.o utils/pool_shmem.o utils/pool_sema.o utils/pool_signal.o utils/pool_path.o utils/pool_ip.o utils/pool_relcache.o utils/pool_process_reporting.o utils/pool_ssl.o utils/pool_stream.o utils/getopt_long.o utils/mmgr/mcxt.o utils/mmgr/aset.o utils/error/elog.o utils/error/assert.o utils/pcp/pcp_stream.o utils/regex_array.o utils/json_writer.o utils/json.o utils/scram-common.o utils/base64.o utils/sha2.o utils/ssl_utils.o utils/statistics.o -L/usr/lib64/postgresql-11/lib64 -lpq parser/libsql-parser.a parser/nodes.o watchdog/lib-watchdog.a -lpthread -lpam -lssl -lcrypto -lcrypt -lresolv -lnsl -lm  
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -pthread -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -fno-strict-aliasing -Wl,-O1 -o pgpool main/main.o main/pool_globals.o main/pgpool_main.o main/health_check.o config/pool_config.o config/pool_config_variables.o pcp_con/pcp_child.o pcp_con/pcp_worker.o pcp_con/recovery.o auth/md5.o auth/pool_auth.o auth/pool_passwd.o auth/pool_hba.o auth/auth-scram.o protocol/pool_proto2.o protocol/child.o protocol/pool_process_query.o protocol/pool_connection_pool.o protocol/pool_proto_modules.o query_cache/pool_memqcache.o protocol/CommandComplete.o context/pool_session_context.o context/pool_process_context.o context/pool_query_context.o streaming_replication/pool_worker_child.o rewrite/pool_timestamp.o rewrite/pool_lobj.o utils/pool_select_walker.o utils/strlcpy.o utils/psprintf.o utils/pool_params.o utils/ps_status.o utils/pool_shmem.o utils/pool_sema.o utils/pool_signal.o utils/pool_path.o utils/pool_ip.o utils/pool_relcache.o utils/pool_process_reporting.o utils/pool_ssl.o utils/pool_stream.o utils/getopt_long.o utils/mmgr/mcxt.o utils/mmgr/aset.o utils/error/elog.o utils/error/assert.o utils/pcp/pcp_stream.o utils/regex_array.o utils/json_writer.o utils/json.o utils/scram-common.o utils/base64.o utils/sha2.o utils/ssl_utils.o utils/statistics.o parser/nodes.o  -Wl,--as-needed -L/usr/lib64/postgresql-11/lib64 -lpq parser/libsql-parser.a watchdog/lib-watchdog.a -lpthread -lpam -lssl -lcrypto -lcrypt -lresolv -lnsl -lm -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: protocol/child.o:(.bss+0x460): multiple definition of `remote_ps_data'; main/health_check.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: streaming_replication/pool_worker_child.o:(.bss+0x0): multiple definition of `remote_ps_data'; main/health_check.o:(.bss+0x0): 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 *


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



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 09:48:50 +0000

emerge -qpvO dev-db/pgpool2
[ebuild  N    ] dev-db/pgpool2-4.0.5  USE="libressl pam ssl -doc -memcached -static-libs" POSTGRES_TARGETS="postgres10 postgres11 -postgres9_4 -postgres9_5 -postgres9_6"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:36:19 UTC
Created attachment 605432 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:36:22 UTC
Created attachment 605434 [details]
dev-db:pgpool2-4.0.5:20200127-105811.log
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:36:24 UTC
Created attachment 605436 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:36:27 UTC
Created attachment 605438 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:36:30 UTC
Created attachment 605440 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:36:32 UTC
Created attachment 605442 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:36:35 UTC
Created attachment 605444 [details]
temp.tbz2