cryptozeny / sugarchain-v0.16.3

OUTDATED! This repo is moved to:
https://github.com/sugarchain-project/sugarchain
MIT License
0 stars 1 forks source link

Sugarchain: FIX: Travis for Yespower #65

Closed cryptozeny closed 5 years ago

cryptozeny commented 5 years ago

Changes:

Reference:

This looks OK to me.

Alexander


 * `-fPIE` ignore warnings

Can I ignore this warning safely?

Yes.

I used "-fPIE -Wall -O2 -fomit-frame-pointer" for the travis. Should I remove that "-fPIE"?

No. It's needed on other systems.

crypto/yespower-1.0.0/sha256.c:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]

Alexander


 * `--disable-share` on Windows 32/64-Bit

build on Win32

primitives/.libs/libbitcoinconsensus_la-block.o: In function
`ZN25zero_after_free_allocatorIcE10deallocateEPcj':
/home/ubuntu/build/sugarchain/distsrc-i686-w64-mingw32/src/./support/allocators/zeroafterfree.h:40:
undefined reference to `memory_cleanse(void*, unsigned int)'
/home/ubuntu/build/sugarchain/distsrc-i686-w64-mingw32/src/./support/allocators/zeroafterfree.h:40:
undefined reference to `memory_cleanse(void*, unsigned int)'
/home/ubuntu/build/sugarchain/distsrc-i686-w64-mingw32/src/./support/allocators/zeroafterfree.h:40:
undefined reference to `memory_cleanse(void*, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [libbitcoinconsensus.la] Error 1

This one looks similar to what was encountered in:

https://github.com/dashpay/dash/pull/2531

Unfortunately, you won't be able to reuse Dash's fix for it because CVectorWriter is Dash-specific.

cryptozeny commented 5 years ago

Tested ACK https://github.com/cryptozeny/sugarchain-v0.16.3/pull/65/commits/0524a478f67305db36305770b658dfbbc3efbdae