iwasakims commented on pull request #773:
URL: https://github.com/apache/bigtop/pull/773#issuecomment-841966078


   ```
   /usr/bin/ld: cdb/SUBSYS.o:(.data+0x3bac): multiple definition of 
`gp_encoding_check_locale_compatibility'; utils/SUBSYS.o:(.bss+0x4915c): first 
defined here
   /usr/bin/ld: cdb/SUBSYS.o:(.bss+0x1207f): multiple definition of 
`Debug_resource_group'; utils/SUBSYS.o:(.bss+0x491dd): first defined here
   ```
   
   @sekikn The cause seems to be the default value change from `-fcommon` to 
`-fno-common`. I think just adding `-fcommon` to CFLAGS could be safer than 
modifying code on our own.
   
   ```
   $ git diff
   diff --git a/bigtop-packages/src/common/gpdb/do-component-configure 
b/bigtop-packages/src/common/gpdb/do-component-configure
   index dc362bb7..93b7b10d 100644
   --- a/bigtop-packages/src/common/gpdb/do-component-configure
   +++ b/bigtop-packages/src/common/gpdb/do-component-configure
   @@ -16,4 +16,4 @@
   
    set -ex
   
   -./configure --prefix=$1 --disable-orca
   +./configure --prefix=$1 --disable-orca CFLAGS=-fcommon
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to