Source: citus Version: 6.0.0.PGDG-1 Severity: important Justification: fails to build from source
The s390x build of citus failed with relocation overflows: utils/ruleutils_96.o: In function `simple_quote_literal': ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:6297:(.text+0x56e): relocation truncated to fit: R_390_GOT12 against undefined symbol `standard_conforming_strings' utils/ruleutils_96.o: In function `set_rtable_names': ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:481:(.text+0x2472): relocation truncated to fit: R_390_GOT12 against undefined symbol `CurrentMemoryContext' ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:509:(.text+0x255e): relocation truncated to fit: R_390_GOT12 against undefined symbol `InterruptPending' utils/ruleutils_96.o: In function `get_query_def_extended': ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:1869:(.text+0x422e): relocation truncated to fit: R_390_GOT12 against undefined symbol `InterruptPending' ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:1888:(.text+0x4290): relocation truncated to fit: R_390_GOT12 against undefined symbol `CurrentMemoryContext' utils/ruleutils_96.o: In function `get_rule_expr': ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:4665:(.text+0x5612): relocation truncated to fit: R_390_GOT12 against undefined symbol `InterruptPending' utils/ruleutils_96.o: In function `get_setop_query': ./build-9.6/src/backend/distributed/./src/backend/distributed/utils/ruleutils_96.c:2498:(.text+0xa988): relocation truncated to fit: R_390_GOT12 against undefined symbol `InterruptPending' worker/worker_partition_protocol.o: In function `InitRowOutputState': ./build-9.6/src/backend/distributed/./src/backend/distributed/worker/worker_partition_protocol.c:944:(.text+0x326): relocation truncated to fit: R_390_GOT12 against symbol `BinaryWorkerCopyFormat' defined in .bss section in worker/worker_partition_protocol.o ./build-9.6/src/backend/distributed/./src/backend/distributed/worker/worker_partition_protocol.c:970:(.text+0x35e): relocation truncated to fit: R_390_GOT12 against undefined symbol `CurrentMemoryContext' worker/worker_partition_protocol.o: In function `FilterAndPartitionTable': ./build-9.6/src/backend/distributed/./src/backend/distributed/worker/worker_partition_protocol.c:799:(.text+0x3a8): relocation truncated to fit: R_390_GOT12 against undefined symbol `SPI_processed' ./build-9.6/src/backend/distributed/./src/backend/distributed/worker/worker_partition_protocol.c:765:(.text+0x3cc): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/../../src/Makefile.shlib:310: recipe for target 'citus.so' failed It looks like compilation wound up using the flags -fPIC -fpie -fpic in that order, and -fpic won; please ensure that the last (and preferably only) such flag is -fPIC with capital letters, which allows for larger offsets. Thanks! -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu