Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: gcc11 debug/release centos7 compilation failure #22059

Open
1 task done
jasonyb opened this issue Apr 18, 2024 · 1 comment
Open
1 task done

build: gcc11 debug/release centos7 compilation failure #22059

jasonyb opened this issue Apr 18, 2024 · 1 comment
Labels
help wanted We welcome your contributions for this issue! status/awaiting-triage Issue awaiting triage

Comments

@jasonyb
Copy link
Contributor

jasonyb commented Apr 18, 2024

centos7 (docker), gcc11, debug build on recent master commit 42add04 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.
@jasonyb jasonyb added help wanted We welcome your contributions for this issue! status/awaiting-triage Issue awaiting triage labels Apr 18, 2024
@jasonyb
Copy link
Contributor Author

jasonyb commented Apr 19, 2024

release build compilation failure

/-------------------------------------------------------------------------------
| COMPILATION FAILED
|-------------------------------------------------------------------------------
In file included from ../../../../../../../src/postgres/src/include/nodes/tidbitmap.h:25,
                 from ../../../../../../../src/postgres/src/include/access/genam.h:19,
                 from ../../../../../../../src/postgres/src/include/access/amapi.h:15,
                 from ../../../../../../../src/postgres/src/include/access/gin_private.h:13,
                 from ../../../../../../../src/postgres/src/backend/access/gin/ginutil.c:17:
../../../../../../../src/postgres/src/include/nodes/ybtidbitmap.h:50:9: error: 'unused' attribute ignored [-Werror=attributes]
   50 |         YbTBMIteratingState iterating PG_USED_FOR_ASSERTS_ONLY;
      |         ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

@jasonyb jasonyb changed the title build: gcc11 debug centos7 compilation failure build: gcc11 debug/release centos7 compilation failure Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We welcome your contributions for this issue! status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

1 participant