Skip to content

Instantly share code, notes, and snippets.

@denniswon
Created March 27, 2020 21:58
Show Gist options
  • Save denniswon/a3934d90c97a1fa6439aa8dd7dbf0592 to your computer and use it in GitHub Desktop.
Save denniswon/a3934d90c97a1fa6439aa8dd7dbf0592 to your computer and use it in GitHub Desktop.
ubuntu@ip-172-31-28-167:~/harmony-one/harmony (master) $ ./scripts/go_executable_build.sh -s
building cmd/harmony/main.go
# command-line-arguments
/home/ubuntu/.gimme/versions/go1.13.6.linux.amd64/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-455659512/000029.o: In function `mygetgrouplist':
getgrouplist_unix.cgo2.c:(.text+0x60): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-455659512/000028.o: In function `mygetgrgid_r':
cgo_lookup_unix.cgo2.c:(.text+0xe1): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-455659512/000028.o: In function `mygetgrnam_r':
cgo_lookup_unix.cgo2.c:(.text+0x11e): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-455659512/000028.o: In function `mygetpwnam_r':
cgo_lookup_unix.cgo2.c:(.text+0xa7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-455659512/000028.o: In function `mygetpwuid_r':
cgo_lookup_unix.cgo2.c:(.text+0x6a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-455659512/000008.o: In function `_cgo_26061493d47f_C2func_getaddrinfo':
cgo_unix.cgo2.c:(.text+0x81): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FrTag, 256ul>::setArrayMask<char>(char const*, unsigned long)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:356: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FrTag, 256ul>::setArray<char>(bool*, char const*, unsigned long, mcl::fp::MaskMode)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FrTag, 256ul>::setArrayMask<unsigned long>(unsigned long const*, unsigned long)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:356: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FrTag, 256ul>::setArrayMask<char>(char const*, unsigned long)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:356: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FpTag, 384ul>::setArrayMask<char>(char const*, unsigned long)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:356: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o):/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: more undefined references to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)' follow
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `mcl::fp::Op::~Op()':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/op.hpp:262: undefined reference to `mcl::fp::Op::destroyFpGenerator(mcl::fp::FpGenerator*)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `mcl::FpT<mcl::bn::local::FpTag, 384ul>::init(bool*, int, __gmp_expr<__mpz_struct [1], __mpz_struct [1]> const&, mcl::fp::Mode)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:133: undefined reference to `mcl::fp::Op::init(__gmp_expr<__mpz_struct [1], __mpz_struct [1]> const&, unsigned long, int, mcl::fp::Mode, unsigned long)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `mcl::FpT<mcl::bn::local::FrTag, 256ul>::init(bool*, int, __gmp_expr<__mpz_struct [1], __mpz_struct [1]> const&, mcl::fp::Mode)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:133: undefined reference to `mcl::fp::Op::init(__gmp_expr<__mpz_struct [1], __mpz_struct [1]> const&, unsigned long, int, mcl::fp::Mode, unsigned long)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FpTag, 384ul>::setArray<unsigned char>(bool*, unsigned char const*, unsigned long, mcl::fp::MaskMode)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o): In function `void mcl::FpT<mcl::bn::local::FpTag, 384ul>::setArray<unsigned long>(bool*, unsigned long const*, unsigned long, mcl::fp::MaskMode)':
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:337: undefined reference to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)'
/home/ubuntu/go/src/github.com/harmony-one/bls/lib/libbls384_256.a(bls_c384_256.o):/home/ubuntu/go/src/github.com/harmony-one/bls/../mcl/include/mcl/fp.hpp:356: more undefined references to `mcl::fp::copyAndMask(unsigned long*, void const*, unsigned long, mcl::fp::Op const&, mcl::fp::MaskMode)' follow
collect2: error: ld returned 1 exit status
ubuntu@ip-172-31-28-167:~/harmony-one/harmony (master) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment