BUG #16555: Postgresql is not LTO ready

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: kloczko(dot)tomasz(at)gmail(dot)com
Subject: BUG #16555: Postgresql is not LTO ready
Date: 2020-07-26 16:59:36
Message-ID: 16555-de24d39c1e421f14@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16555
Logged by: Tomasz Kłoczko
Email address: kloczko(dot)tomasz(at)gmail(dot)com
PostgreSQL version: 12.3
Operating system: Linux
Description:

Looks like Postgresql is not LTO ready

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -fexcess-precision=standard
-Wno-format-truncation -Wno-stringop-truncation -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-fstack-protector-strong -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-flto=auto -flto-partition=none access/brin/brin.o
access/brin/brin_pageops.o access/brin/brin_revmap.o
access/brin/brin_tuple.o access/brin/brin_xlog.o access/brin/brin_minmax.o
access/brin/brin_inclusion.o access/brin/brin_validate.o
access/common/bufmask.o access/common/heaptuple.o access/common/indextuple.o
access/common/printsimple.o access/common/printtup.o
access/common/relation.o access/common/reloptions.o access/common/scankey.o
access/common/session.o access/common/tupconvert.o access/common/tupdesc.o
access/gin/ginutil.o access/gin/gininsert.o access/gin/ginxlog.o
access/gin/ginentrypage.o access/gin/gindatapage.o access/gin/ginbtree.o
access/gin/ginscan.o access/gin/ginget.o access/gin/ginvacuum.o
access/gin/ginarrayproc.o access/gin/ginbulk.o access/gin/ginfast.o
access/gin/ginpostinglist.o access/gin/ginlogic.o access/gin/ginvalidate.o
access/gist/gist.o access/gist/gistutil.o access/gist/gistxlog.o
access/gist/gistvacuum.o access/gist/gistget.o access/gist/gistscan.o
access/gist/gistproc.o access/gist/gistsplit.o access/gist/gistbuild.o
access/gist/gistbuildbuffers.o access/gist/gistvalidate.o access/hash/hash.o
access/hash/hashfunc.o access/hash/hashinsert.o access/hash/hashovfl.o
access/hash/hashpage.o access/hash/hashsearch.o access/hash/hashsort.o
access/hash/hashutil.o access/hash/hashvalidate.o access/hash/hash_xlog.o
access/heap/heapam.o access/heap/heapam_handler.o
access/heap/heapam_visibility.o access/heap/hio.o access/heap/pruneheap.o
access/heap/rewriteheap.o access/heap/syncscan.o access/heap/tuptoaster.o
access/heap/vacuumlazy.o access/heap/visibilitymap.o access/index/amapi.o
access/index/amvalidate.o access/index/genam.o access/index/indexam.o
access/nbtree/nbtcompare.o access/nbtree/nbtinsert.o access/nbtree/nbtpage.o
access/nbtree/nbtree.o access/nbtree/nbtsearch.o access/nbtree/nbtsplitloc.o
access/nbtree/nbtutils.o access/nbtree/nbtsort.o access/nbtree/nbtvalidate.o
access/nbtree/nbtxlog.o access/rmgrdesc/brindesc.o
access/rmgrdesc/clogdesc.o access/rmgrdesc/committsdesc.o
access/rmgrdesc/dbasedesc.o access/rmgrdesc/genericdesc.o
access/rmgrdesc/gindesc.o access/rmgrdesc/gistdesc.o
access/rmgrdesc/hashdesc.o access/rmgrdesc/heapdesc.o
access/rmgrdesc/logicalmsgdesc.o access/rmgrdesc/mxactdesc.o
access/rmgrdesc/nbtdesc.o access/rmgrdesc/relmapdesc.o
access/rmgrdesc/replorigindesc.o access/rmgrdesc/seqdesc.o
access/rmgrdesc/smgrdesc.o access/rmgrdesc/spgdesc.o
access/rmgrdesc/standbydesc.o access/rmgrdesc/tblspcdesc.o
access/rmgrdesc/xactdesc.o access/rmgrdesc/xlogdesc.o
access/spgist/spgutils.o access/spgist/spginsert.o access/spgist/spgscan.o
access/spgist/spgvacuum.o access/spgist/spgvalidate.o
access/spgist/spgdoinsert.o access/spgist/spgxlog.o
access/spgist/spgtextproc.o access/spgist/spgquadtreeproc.o
access/spgist/spgkdtreeproc.o access/spgist/spgproc.o access/table/table.o
access/table/tableam.o access/table/tableamapi.o
access/tablesample/bernoulli.o access/tablesample/system.o
access/tablesample/tablesample.o access/transam/clog.o
access/transam/commit_ts.o access/transam/generic_xlog.o
access/transam/multixact.o access/transam/parallel.o access/transam/rmgr.o
access/transam/slru.o access/transam/subtrans.o access/transam/timeline.o
access/transam/transam.o access/transam/twophase.o
access/transam/twophase_rmgr.o access/transam/varsup.o access/transam/xact.o
access/transam/xlog.o access/transam/xlogarchive.o
access/transam/xlogfuncs.o access/transam/xloginsert.o
access/transam/xlogreader.o access/transam/xlogutils.o bootstrap/bootparse.o
bootstrap/bootstrap.o catalog/catalog.o catalog/dependency.o catalog/heap.o
catalog/index.o catalog/indexing.o catalog/namespace.o catalog/aclchk.o
catalog/objectaccess.o catalog/objectaddress.o catalog/partition.o
catalog/pg_aggregate.o catalog/pg_collation.o catalog/pg_constraint.o
catalog/pg_conversion.o catalog/pg_depend.o catalog/pg_enum.o
catalog/pg_inherits.o catalog/pg_largeobject.o catalog/pg_namespace.o
catalog/pg_operator.o catalog/pg_proc.o catalog/pg_publication.o
catalog/pg_range.o catalog/pg_db_role_setting.o catalog/pg_shdepend.o
catalog/pg_subscription.o catalog/pg_type.o catalog/storage.o
catalog/toasting.o parser/analyze.o parser/gram.o parser/scan.o
parser/parser.o parser/parse_agg.o parser/parse_clause.o
parser/parse_coerce.o parser/parse_collate.o parser/parse_cte.o
parser/parse_enr.o parser/parse_expr.o parser/parse_func.o
parser/parse_node.o parser/parse_oper.o parser/parse_param.o
parser/parse_relation.o parser/parse_target.o parser/parse_type.o
parser/parse_utilcmd.o parser/scansup.o commands/amcmds.o
commands/aggregatecmds.o commands/alter.o commands/analyze.o
commands/async.o commands/cluster.o commands/comment.o
commands/collationcmds.o commands/constraint.o commands/conversioncmds.o
commands/copy.o commands/createas.o commands/dbcommands.o commands/define.o
commands/discard.o commands/dropcmds.o commands/event_trigger.o
commands/explain.o commands/extension.o commands/foreigncmds.o
commands/functioncmds.o commands/indexcmds.o commands/lockcmds.o
commands/matview.o commands/operatorcmds.o commands/opclasscmds.o
commands/policy.o commands/portalcmds.o commands/prepare.o
commands/proclang.o commands/publicationcmds.o commands/schemacmds.o
commands/seclabel.o commands/sequence.o commands/statscmds.o
commands/subscriptioncmds.o commands/tablecmds.o commands/tablespace.o
commands/trigger.o commands/tsearchcmds.o commands/typecmds.o
commands/user.o commands/vacuum.o commands/variable.o commands/view.o
executor/execAmi.o executor/execCurrent.o executor/execExpr.o
executor/execExprInterp.o executor/execGrouping.o executor/execIndexing.o
executor/execJunk.o executor/execMain.o executor/execParallel.o
executor/execPartition.o executor/execProcnode.o executor/execReplication.o
executor/execScan.o executor/execSRF.o executor/execTuples.o
executor/execUtils.o executor/functions.o executor/instrument.o
executor/nodeAppend.o executor/nodeAgg.o executor/nodeBitmapAnd.o
executor/nodeBitmapOr.o executor/nodeBitmapHeapscan.o
executor/nodeBitmapIndexscan.o executor/nodeCustom.o
executor/nodeFunctionscan.o executor/nodeGather.o executor/nodeHash.o
executor/nodeHashjoin.o executor/nodeIndexscan.o
executor/nodeIndexonlyscan.o executor/nodeLimit.o executor/nodeLockRows.o
executor/nodeGatherMerge.o executor/nodeMaterial.o
executor/nodeMergeAppend.o executor/nodeMergejoin.o
executor/nodeModifyTable.o executor/nodeNestloop.o executor/nodeProjectSet.o
executor/nodeRecursiveunion.o executor/nodeResult.o
executor/nodeSamplescan.o executor/nodeSeqscan.o executor/nodeSetOp.o
executor/nodeSort.o executor/nodeUnique.o executor/nodeValuesscan.o
executor/nodeCtescan.o executor/nodeNamedtuplestorescan.o
executor/nodeWorktablescan.o executor/nodeGroup.o executor/nodeSubplan.o
executor/nodeSubqueryscan.o executor/nodeTidscan.o
executor/nodeForeignscan.o executor/nodeWindowAgg.o
executor/tstoreReceiver.o executor/tqueue.o executor/spi.o
executor/nodeTableFuncscan.o foreign/foreign.o lib/binaryheap.o
lib/bipartite_match.o lib/bloomfilter.o lib/dshash.o lib/hyperloglog.o
lib/ilist.o lib/integerset.o lib/knapsack.o lib/pairingheap.o lib/rbtree.o
lib/stringinfo.o libpq/be-fsstubs.o libpq/be-secure.o
libpq/be-secure-common.o libpq/auth.o libpq/crypt.o libpq/hba.o
libpq/ifaddr.o libpq/pqcomm.o libpq/pqformat.o libpq/pqmq.o libpq/pqsignal.o
libpq/auth-scram.o libpq/be-secure-openssl.o libpq/be-gssapi-common.o
libpq/be-secure-gssapi.o main/main.o nodes/nodeFuncs.o nodes/nodes.o
nodes/list.o nodes/bitmapset.o nodes/tidbitmap.o nodes/copyfuncs.o
nodes/equalfuncs.o nodes/extensible.o nodes/makefuncs.o nodes/outfuncs.o
nodes/readfuncs.o nodes/print.o nodes/read.o nodes/params.o nodes/value.o
optimizer/geqo/geqo_copy.o optimizer/geqo/geqo_eval.o
optimizer/geqo/geqo_main.o optimizer/geqo/geqo_misc.o
optimizer/geqo/geqo_mutation.o optimizer/geqo/geqo_pool.o
optimizer/geqo/geqo_random.o optimizer/geqo/geqo_recombination.o
optimizer/geqo/geqo_selection.o optimizer/geqo/geqo_erx.o
optimizer/geqo/geqo_pmx.o optimizer/geqo/geqo_cx.o optimizer/geqo/geqo_px.o
optimizer/geqo/geqo_ox1.o optimizer/geqo/geqo_ox2.o
optimizer/path/allpaths.o optimizer/path/clausesel.o
optimizer/path/costsize.o optimizer/path/equivclass.o
optimizer/path/indxpath.o optimizer/path/joinpath.o
optimizer/path/joinrels.o optimizer/path/pathkeys.o optimizer/path/tidpath.o
optimizer/plan/analyzejoins.o optimizer/plan/createplan.o
optimizer/plan/initsplan.o optimizer/plan/planagg.o
optimizer/plan/planmain.o optimizer/plan/planner.o optimizer/plan/setrefs.o
optimizer/plan/subselect.o optimizer/prep/prepjointree.o
optimizer/prep/prepqual.o optimizer/prep/preptlist.o
optimizer/prep/prepunion.o optimizer/util/appendinfo.o
optimizer/util/clauses.o optimizer/util/inherit.o optimizer/util/joininfo.o
optimizer/util/orclauses.o optimizer/util/paramassign.o
optimizer/util/pathnode.o optimizer/util/placeholder.o
optimizer/util/plancat.o optimizer/util/predtest.o optimizer/util/relnode.o
optimizer/util/restrictinfo.o optimizer/util/tlist.o optimizer/util/var.o
partitioning/partbounds.o partitioning/partdesc.o partitioning/partprune.o
port/atomics.o port/pg_sema.o port/pg_shmem.o postmaster/autovacuum.o
postmaster/bgworker.o postmaster/bgwriter.o postmaster/checkpointer.o
postmaster/fork_process.o postmaster/pgarch.o postmaster/pgstat.o
postmaster/postmaster.o postmaster/startup.o postmaster/syslogger.o
postmaster/walwriter.o regex/regcomp.o regex/regerror.o regex/regexec.o
regex/regfree.o regex/regprefix.o regex/regexport.o
replication/logical/decode.o replication/logical/launcher.o
replication/logical/logical.o replication/logical/logicalfuncs.o
replication/logical/message.o replication/logical/origin.o
replication/logical/proto.o replication/logical/relation.o
replication/logical/reorderbuffer.o replication/logical/snapbuild.o
replication/logical/tablesync.o replication/logical/worker.o
replication/walsender.o replication/walreceiverfuncs.o
replication/walreceiver.o replication/basebackup.o replication/repl_gram.o
replication/slot.o replication/slotfuncs.o replication/syncrep.o
replication/syncrep_gram.o rewrite/rewriteRemove.o rewrite/rewriteDefine.o
rewrite/rewriteHandler.o rewrite/rewriteManip.o rewrite/rewriteSupport.o
rewrite/rowsecurity.o statistics/extended_stats.o statistics/dependencies.o
statistics/mcv.o statistics/mvdistinct.o storage/buffer/buf_table.o
storage/buffer/buf_init.o storage/buffer/bufmgr.o storage/buffer/freelist.o
storage/buffer/localbuf.o storage/file/fd.o storage/file/buffile.o
storage/file/copydir.o storage/file/reinit.o storage/file/sharedfileset.o
storage/freespace/freespace.o storage/freespace/fsmpage.o
storage/freespace/indexfsm.o storage/ipc/barrier.o storage/ipc/dsm_impl.o
storage/ipc/dsm.o storage/ipc/ipc.o storage/ipc/ipci.o storage/ipc/latch.o
storage/ipc/pmsignal.o storage/ipc/procarray.o storage/ipc/procsignal.o
storage/ipc/shmem.o storage/ipc/shmqueue.o storage/ipc/shm_mq.o
storage/ipc/shm_toc.o storage/ipc/signalfuncs.o storage/ipc/sinval.o
storage/ipc/sinvaladt.o storage/ipc/standby.o storage/large_object/inv_api.o
storage/lmgr/lmgr.o storage/lmgr/lock.o storage/lmgr/proc.o
storage/lmgr/deadlock.o storage/lmgr/lwlock.o storage/lmgr/lwlocknames.o
storage/lmgr/spin.o storage/lmgr/s_lock.o storage/lmgr/predicate.o
storage/lmgr/condition_variable.o storage/page/bufpage.o
storage/page/checksum.o storage/page/itemptr.o storage/smgr/md.o
storage/smgr/smgr.o storage/sync/sync.o tcop/dest.o tcop/fastpath.o
tcop/postgres.o tcop/pquery.o tcop/utility.o tsearch/ts_locale.o
tsearch/ts_parse.o tsearch/wparser.o tsearch/wparser_def.o tsearch/dict.o
tsearch/dict_simple.o tsearch/dict_synonym.o tsearch/dict_thesaurus.o
tsearch/dict_ispell.o tsearch/regis.o tsearch/spell.o tsearch/to_tsany.o
tsearch/ts_selfuncs.o tsearch/ts_typanalyze.o tsearch/ts_utils.o
utils/adt/acl.o utils/adt/amutils.o utils/adt/arrayfuncs.o
utils/adt/array_expanded.o utils/adt/array_selfuncs.o
utils/adt/array_typanalyze.o utils/adt/array_userfuncs.o
utils/adt/arrayutils.o utils/adt/ascii.o utils/adt/bool.o utils/adt/cash.o
utils/adt/char.o utils/adt/cryptohashes.o utils/adt/date.o
utils/adt/datetime.o utils/adt/datum.o utils/adt/dbsize.o
utils/adt/domains.o utils/adt/encode.o utils/adt/enum.o
utils/adt/expandeddatum.o utils/adt/expandedrecord.o utils/adt/float.o
utils/adt/format_type.o utils/adt/formatting.o utils/adt/genfile.o
utils/adt/geo_ops.o utils/adt/geo_selfuncs.o utils/adt/geo_spgist.o
utils/adt/inet_cidr_ntop.o utils/adt/inet_net_pton.o utils/adt/int.o
utils/adt/int8.o utils/adt/json.o utils/adt/jsonb.o utils/adt/jsonb_gin.o
utils/adt/jsonb_op.o utils/adt/jsonb_util.o utils/adt/jsonfuncs.o
utils/adt/jsonpath_gram.o utils/adt/jsonpath.o utils/adt/jsonpath_exec.o
utils/adt/like.o utils/adt/like_support.o utils/adt/lockfuncs.o
utils/adt/mac.o utils/adt/mac8.o utils/adt/misc.o utils/adt/name.o
utils/adt/network.o utils/adt/network_gist.o utils/adt/network_selfuncs.o
utils/adt/network_spgist.o utils/adt/numeric.o utils/adt/numutils.o
utils/adt/oid.o utils/adt/oracle_compat.o utils/adt/orderedsetaggs.o
utils/adt/partitionfuncs.o utils/adt/pg_locale.o utils/adt/pg_lsn.o
utils/adt/pg_upgrade_support.o utils/adt/pgstatfuncs.o
utils/adt/pseudotypes.o utils/adt/quote.o utils/adt/rangetypes.o
utils/adt/rangetypes_gist.o utils/adt/rangetypes_selfuncs.o
utils/adt/rangetypes_spgist.o utils/adt/rangetypes_typanalyze.o
utils/adt/regexp.o utils/adt/regproc.o utils/adt/ri_triggers.o
utils/adt/rowtypes.o utils/adt/ruleutils.o utils/adt/selfuncs.o
utils/adt/tid.o utils/adt/timestamp.o utils/adt/trigfuncs.o
utils/adt/tsginidx.o utils/adt/tsgistidx.o utils/adt/tsquery.o
utils/adt/tsquery_cleanup.o utils/adt/tsquery_gist.o utils/adt/tsquery_op.o
utils/adt/tsquery_rewrite.o utils/adt/tsquery_util.o utils/adt/tsrank.o
utils/adt/tsvector.o utils/adt/tsvector_op.o utils/adt/tsvector_parser.o
utils/adt/txid.o utils/adt/uuid.o utils/adt/varbit.o utils/adt/varchar.o
utils/adt/varlena.o utils/adt/version.o utils/adt/windowfuncs.o
utils/adt/xid.o utils/adt/xml.o utils/cache/attoptcache.o
utils/cache/catcache.o utils/cache/evtcache.o utils/cache/inval.o
utils/cache/lsyscache.o utils/cache/partcache.o utils/cache/plancache.o
utils/cache/relcache.o utils/cache/relmapper.o utils/cache/relfilenodemap.o
utils/cache/spccache.o utils/cache/syscache.o utils/cache/ts_cache.o
utils/cache/typcache.o utils/error/assert.o utils/error/elog.o
utils/fmgr/dfmgr.o utils/fmgr/fmgr.o utils/fmgr/funcapi.o
utils/hash/dynahash.o utils/hash/hashfn.o utils/hash/pg_crc.o
utils/init/globals.o utils/init/miscinit.o utils/init/postinit.o
utils/mb/encnames.o utils/mb/conv.o utils/mb/mbutils.o utils/mb/wchar.o
utils/mb/wstrcmp.o utils/mb/wstrncmp.o utils/misc/guc.o
utils/misc/help_config.o utils/misc/pg_config.o utils/misc/pg_controldata.o
utils/misc/pg_rusage.o utils/misc/ps_status.o utils/misc/queryenvironment.o
utils/misc/rls.o utils/misc/sampling.o utils/misc/superuser.o
utils/misc/timeout.o utils/misc/tzparser.o utils/mmgr/aset.o
utils/mmgr/dsa.o utils/mmgr/freepage.o utils/mmgr/generation.o
utils/mmgr/mcxt.o utils/mmgr/memdebug.o utils/mmgr/portalmem.o
utils/mmgr/slab.o utils/resowner/resowner.o utils/sort/logtape.o
utils/sort/sharedtuplestore.o utils/sort/sortsupport.o
utils/sort/tuplesort.o utils/sort/tuplestore.o utils/time/combocid.o
utils/time/snapmgr.o utils/fmgrtab.o ../../src/timezone/localtime.o
../../src/timezone/strftime.o ../../src/timezone/pgtz.o jit/jit.o
utils/probes.o ../../src/port/libpgport_srv.a
../../src/common/libpgcommon_srv.a -L../../src/port -L../../src/common
-Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto
-flto-partition=none -fuse-linker-plugin -L/usr/lib64 -Wl,--as-needed
-Wl,-E -lpthread -lselinux -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5
-lrt -lcrypt -ldl -lm -lldap -licui18n -licuuc -licudata -lsystemd -o
postgres
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x24): undefined reference to
`postgresql_statement__status_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x74): undefined reference to
`postgresql_deadlock__found_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xbc): undefined reference to
`postgresql_lwlock__condacquire_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x120): undefined reference to
`postgresql_lwlock__condacquire__fail_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x188): undefined reference to
`postgresql_lwlock__release_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1e0): undefined reference to
`postgresql_lwlock__wait__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x244): undefined reference to
`postgresql_lwlock__wait__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x2a8): undefined reference to
`postgresql_lwlock__acquire_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x308): undefined reference to
`postgresql_lwlock__acquire__or__wait_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x374): undefined reference to
`postgresql_lwlock__wait__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x3d8): undefined reference to
`postgresql_lwlock__wait__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x43c): undefined reference to
`postgresql_lwlock__acquire__or__wait__fail_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x4ac): undefined reference to
`postgresql_lwlock__acquire_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x50c): undefined reference to
`postgresql_lwlock__wait__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x570): undefined reference to
`postgresql_lwlock__wait__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x5d0): undefined reference to
`postgresql_sort__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x624): undefined reference to
`postgresql_transaction__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x678): undefined reference to
`postgresql_twophase__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x6cc): undefined reference to
`postgresql_twophase__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x720): undefined reference to
`postgresql_query__parse__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x774): undefined reference to
`postgresql_query__parse__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x7c8): undefined reference to
`postgresql_wal__buffer__write__dirty__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x824): undefined reference to
`postgresql_wal__buffer__write__dirty__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x87c): undefined reference to
`postgresql_wal__switch_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x8c0): undefined reference to
`postgresql_wal__insert_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x914): undefined reference to
`postgresql_lock__wait__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x99c): undefined reference to
`postgresql_lock__wait__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xa20): undefined reference to
`postgresql_sort__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xa90): undefined reference to
`postgresql_sort__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xb04): undefined reference to
`postgresql_clog__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xb5c): undefined reference to
`postgresql_clog__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xbb0): undefined reference to
`postgresql_clog__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xc08): undefined reference to
`postgresql_clog__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xc5c): undefined reference to
`postgresql_multixact__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xcb8): undefined reference to
`postgresql_multixact__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xd14): undefined reference to
`postgresql_multixact__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xd70): undefined reference to
`postgresql_multixact__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xdcc): undefined reference to
`postgresql_subtrans__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xe28): undefined reference to
`postgresql_subtrans__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xe80): undefined reference to
`postgresql_subtrans__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xedc): undefined reference to
`postgresql_subtrans__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xf34): undefined reference to
`postgresql_buffer__flush__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0xfb8): undefined reference to
`postgresql_buffer__flush__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1038): undefined reference to
`postgresql_buffer__read__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x10c4): undefined reference to
`postgresql_buffer__read__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1164): undefined reference to
`postgresql_buffer__read__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x11fc): undefined reference to
`postgresql_buffer__write__dirty__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1280): undefined reference to
`postgresql_buffer__write__dirty__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1304): undefined reference to
`postgresql_sort__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1378): undefined reference to
`postgresql_sort__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x13e8): undefined reference to
`postgresql_buffer__sync__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1444): undefined reference to
`postgresql_buffer__sync__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x14b4): undefined reference to
`postgresql_buffer__sync__written_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x150c): undefined reference to
`postgresql_buffer__checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1568): undefined reference to
`postgresql_buffer__checkpoint__sync__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x15c0): undefined reference to
`postgresql_buffer__checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1614): undefined reference to
`postgresql_checkpoint__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1668): undefined reference to
`postgresql_checkpoint__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1734): undefined reference to
`postgresql_transaction__abort_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x178c): undefined reference to
`postgresql_query__rewrite__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x17e0): undefined reference to
`postgresql_query__rewrite__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1834): undefined reference to
`postgresql_query__rewrite__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1888): undefined reference to
`postgresql_query__rewrite__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x18dc): undefined reference to
`postgresql_transaction__commit_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1934): undefined reference to
`postgresql_query__plan__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1980): undefined reference to
`postgresql_query__plan__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x19cc): undefined reference to
`postgresql_smgr__md__read__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1a54): undefined reference to
`postgresql_smgr__md__read__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1aec): undefined reference to
`postgresql_smgr__md__write__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1b74): undefined reference to
`postgresql_smgr__md__write__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1c10): undefined reference to
`postgresql_query__execute__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1c60): undefined reference to
`postgresql_query__execute__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1cb0): undefined reference to
`postgresql_query__execute__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1d00): undefined reference to
`postgresql_query__execute__done_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1d50): undefined reference to
`postgresql_query__start_semaphore'
/usr/bin/ld: postgres.lto.o:(.note.stapsdt+0x1d9c): undefined reference to
`postgresql_query__done_semaphore'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:63: postgres] Error 1
make[2]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/postgresql-12.3/src/backend'
make[1]: *** [Makefile:41: all-backend-recurse] Error 2
make[1]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/postgresql-12.3/src'
make: *** [GNUmakefile:11: all-src-recurse] Error 2

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-07-26 21:57:33 Re: BUG #16555: Postgresql is not LTO ready
Previous Message Juan José Santamaría Flecha 2020-07-26 14:18:16 Re: pg_dump seems to be broken in regards to the "--exclude-table-data" option on Windows.