Masatake Iwasaki created BIGTOP-4111:
----------------------------------------

             Summary: Fix compilation error of GPDB on CentOS 7 aarch64
                 Key: BIGTOP-4111
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4111
             Project: Bigtop
          Issue Type: Bug
            Reporter: Masatake Iwasaki
            Assignee: Masatake Iwasaki


{noformat}
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Werror=vla 
-Wendif-labels -Wmissing-format-attribute -Wformat-security 
-fno-strict-aliasing -fwrapv -fexcess-precision=standard 
-Wno-unused-but-set-variable -fcommon -Wno-implicit-fallthrough  
-Werror=uninitialized -Werror=implicit-function-declaration -I. -I. 
-I../../../../src/interfaces/libpq -I../../../../src/include   -D_GNU_SOURCE 
-I/usr/include/libxml2   -c -o timestamp.o timestamp.c
timestamp.c: In function 'interval_div_internal':
timestamp.c:2753:21: error: incompatible types when initializing type 
'TimeOffset' using type 'INT128'
  TimeOffset span1 = interval_cmp_value(interval1);
                     ^
timestamp.c:2754:21: error: incompatible types when initializing type 
'TimeOffset' using type 'INT128'
  TimeOffset span2 = interval_cmp_value(interval2);
                     ^
timestamp.c: At top level:
cc1: warning: unrecognized command line option "-Wno-implicit-fallthrough" 
[enabled by default]
make: *** [timestamp.o] Error 1
make: *** [adt-recursive] Error 2
make: *** [utils-recursive] Error 2
make: *** [all-backend-recurse] Error 2
make: *** [all-src-recurse] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.rsGOoz (%build)
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to