Is GPDB compilation failure related to ORCA?

47 views
Skip to first unread message

seth qiang

unread,
Feb 26, 2022, 4:00:49 AM2/26/22
to Greenplum Users
hi, all 

I tried to compile GPDB6.18.2 in CENtos7 of AWS ARM architecture and got an error as follows;
Make [3] : brigade directory '/ root/GPDB 6.18.2 / SRC/backend/utils'
Make [2] : brigade directory '/ root/GPDB 6.18.2 / SRC/backend'
make[1]: *** [Makefile:34: all-backend-recurse] Error 2
Make [1] : brigade directory '/ root/GPDB - 6.18.2 / SRC'
make: *** [GNUmakefile:12: all-src-recurse] Error 2

When I turn off the ORCA option to compile, it looks like it's relevant
Please help me. How do I get there?

The version of GCC
$ gcc --version
GCC (GCC) 7.3.1 20180712 (Red Hat 7.3.1-13)
Copyright © 2017 Free Software Foundation, Inc.

Zhenghua Lyu

unread,
Feb 26, 2022, 4:02:34 AM2/26/22
to seth qiang, Greenplum Users
Hi, the error message is not enough to have an answer.
Can you post the full error message by makewithout -j

From: seth qiang <seth....@gmail.com>
Sent: Saturday, February 26, 2022 5:00 PM
To: Greenplum Users <gpdb-...@greenplum.org>
Subject: [gpdb-users] Is GPDB compilation failure related to ORCA?
 
--
You received this message because you are subscribed to the Google Groups "Greenplum Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gpdb-users+...@greenplum.org.
To view this discussion on the web visit https://groups.google.com/a/greenplum.org/d/msgid/gpdb-users/e0f4a6c8-82b9-4f3b-a555-fed434343774n%40greenplum.org.

seth qiang

unread,
Feb 26, 2022, 4:15:25 AM2/26/22
to Greenplum Users, zlyu
Thanks for your reply, does it look like it has something to do with cross-compilation?
“ Unknown mnemonic 'movq' --' movq % RBP,x19' “

Make [6] : enter the directory "/ home/user/build - gp6 / GPDB - release/GPDB/SRC/backend/gporca/libgpos/SRC/common"
g++ -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations -Wno-unused-but-set-variable -Wno-address -Werror=implicit-fallthrough=3 -Wno-format-truncation -O3 -fargument-noalias-global -fno-omit-frame-pointer -g -std=gnu++98 -Wno-variadic-macros -fno-omit-frame-pointer -I.. /.. /.. /.. /.. /.. /src/backend/gporca/libgpdbcost/include -I.. /.. /.. /.. /.. /.. /src/backend/gporca/libnaucrates/include -I.. /.. /.. /.. /.. /.. /src/backend/gporca/libgpopt/include -I.. /.. /.. /.. /.. /.. /src/backend/gporca/libgpos/include -I.. /.. /.. /.. /.. /.. /src/include -D_GNU_SOURCE -I/usr/include/libxml2   -c -o CStackDescriptor.o CStackDescriptor.cpp
/tmp/ccC9tZfe.s: Assembler messages:
/ TMP/ccc9tzfe. s:33: error: unknown mnemonic 'movq' --' movq % RBP,x19'
Make [6]: *** [cStackDescription. o] Error 1
Make [6] : leave the directory "/ home/user/build - gp6 / GPDB - release/GPDB/SRC/backend/gporca/libgpos/SRC/common"
Make [5]: leaving directory '***' [common-recursive
Make [5] : leave the directory "/ home/user/build - gp6 / GPDB - release/GPDB/SRC/backend/gporca/libgpos/SRC"
Make [4]: leaving directory '***' [src-recursive
Make [4] : leave the directory "/ home/user/build - gp6 / GPDB - release/GPDB/SRC/backend/gporca libgpos"
Make [3]: leaving directory '/ usr/mysql-2.32.2
Make [3] : leave the directory "/ home/user/build - gp6 / GPDB - release/GPDB/SRC/backend/gporca"
Make [2]: leaving directory '***' [gporca-recursive] error 2
Make [2]: Leave directory /home/user/build-gp6/gpdb-release/gpdb/src/backend
Make [1]: *** [all-backend-recurse] error 2
Make [1]: leave directory /home/user/build-gp6/gpdb-release/gpdb/src
Make: *** [all-src-recurse] error 2

Soumyadeep Chakraborty

unread,
Feb 26, 2022, 1:40:11 PM2/26/22
to seth qiang, Greenplum Users, zlyu
Hi Seth,

Thank you for reporting the issue and trying out GPDB on ARM.
This issue was raised before [1] and it was fixed in the master branch [2].
At the time, we didn't have any plans to backport it.

Regards,
Soumyadeep (VMware)

[1] https://github.com/greenplum-db/gpdb/issues/9994
[2] https://github.com/greenplum-db/gpdb/commit/7c1891fb1a827542c0aa7a60e99e14086a6663ce
Reply all
Reply to author
Forward
0 new messages