yugabyte/yugabyte-db

build: gcc11 debug/release centos7 compilation failure

Open

#22,059 opened on Apr 18, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C (1,003 forks)batch import
help wantedstatus/awaiting-triage

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

centos7 (docker), gcc11, debug build on recent master commit 42add04f180858aec8dad95315169f2c19697239 gets compilation failure

/-------------------------------------------------------------------------------
| COMPILATION FAILED
|-------------------------------------------------------------------------------
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: pgbench.o: in function `threadRun':
/home/yugabyte/yugabyte-db/src/postgres/src/bin/pgbench/../../../../../../src/postgres/src/bin/pgbench/pgbench.c:6997: undefined reference to `__atomic_feraiseexcept'
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: /home/yugabyte/yugabyte-db/src/postgres/src/bin/pgbench/../../../../../../src/postgres/src/bin/pgbench/pgbench.c:6998: undefined reference to `__atomic_feraiseexcept'
collect2: error: ld returned 1 exit status

Did not try other build types such as release.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.

Contributor guide