Giter VIP home page Giter VIP logo

secp256k1's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

secp256k1's Issues

Build warnings

https://travis-ci.org/github/libbitcoin/libbitcoin-system/jobs/760927790#L2485

********************** Download libbitcoin/secp256k1/version6 **********************
Cloning into 'secp256k1'...
remote: Enumerating objects: 184, done.
remote: Counting objects: 100% (184/184), done.
remote: Compressing objects: 100% (138/138), done.
remote: Total 184 (delta 51), reused 99 (delta 39), pack-reused 0
Receiving objects: 100% (184/184), 215.36 KiB | 3.03 MiB/s, done.
Resolving deltas: 100% (51/51), done.
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
configure options:
--disable-tests
--enable-module-recovery
--enable-endomorphism
--enable-isystem
--with-icu
--with-png
--with-qrencode
--disable-shared
--prefix=/home/travis/build/libbitcoin/libbitcoin-system/my-prefix
CFLAGS=-Os
CXXFLAGS=-Os
--enable-static
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: unrecognized options: --enable-isystem, --with-icu, --with-png, --with-qrencode
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... clang-5.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang-5.0 accepts -g... yes
checking for clang-5.0 option to accept ISO C89... none needed
checking whether clang-5.0 understands -c and -o together... yes
checking dependency style of clang-5.0... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by clang-5.0... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang-5.0 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... clang-5.0 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang-5.0 supports -fno-rtti -fno-exceptions... yes
checking for clang-5.0 option to produce PIC... -fPIC -DPIC
checking if clang-5.0 PIC flag -fPIC -DPIC works... yes
checking if clang-5.0 static flag -static works... yes
checking if clang-5.0 supports -c -o file.o... yes
checking if clang-5.0 supports -c -o file.o... (cached) yes
checking whether the clang-5.0 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcc... clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking dependency style of clang... (cached) gcc3
checking how to run the C preprocessor... clang -E
checking for clang-5.0 option to accept ISO C89... (cached) none needed
checking dependency style of clang-5.0... gcc3
checking if clang-5.0 supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if clang-5.0 supports -fvisibility=hidden... yes
checking for __int128... yes
checking if native clang supports -Wall -Wextra -Wno-unused-function... yes
checking for working native compiler: clang... yes
checking for x86_64 assembly availability... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-isystem, --with-icu, --with-png, --with-qrencode
Build Options:
  with endomorphism       = yes
  with ecmult precomp     = yes
  with external callbacks = no
  with jni                = no
  with benchmarks         = yes
  with coverage           = no
  module ecdh             = no
  module recovery         = yes
  asm                     = x86_64
  bignum                  = gmp
  field                   = 64bit
  scalar                  = 64bit
  ecmult window size      = 15
  ecmult gen prec. bits   = 4
  CC                      = clang-5.0
  CFLAGS                  = -Os -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -O3
  CPPFLAGS                = 
  LDFLAGS                 = 
  CC       src/bench_verify.o
  CC       src/bench_sign.o
  CC       src/exhaustive_tests-tests_exhaustive.o
  CC       src/bench_recover.o
In file included from src/tests_exhaustive.c:26:
./src/secp256k1.c:72:9: warning: missing field 'pre_g_128' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
./src/secp256k1.c:73:9: warning: missing field 'blind' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
clang -I. -I./src -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
clang -g -O2 -Wall -Wextra -Wno-unused-function  gen_context.o -o gen_context
./gen_context
  CC       src/libsecp256k1_la-secp256k1.lo
src/secp256k1.c:72:9: warning: missing field 'pre_g_128' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
src/secp256k1.c:73:9: warning: missing field 'blind' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
2 warnings generated.
  CC       src/bench_internal-bench_internal.o
In file included from src/bench_internal.c:19:
./src/secp256k1.c:72:9: warning: missing field 'pre_g_128' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
./src/secp256k1.c:73:9: warning: missing field 'blind' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
2 warnings generated.
  CC       src/bench_ecmult-bench_ecmult.o
In file included from src/bench_ecmult.c:18:
./src/secp256k1.c:72:9: warning: missing field 'pre_g_128' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
./src/secp256k1.c:73:9: warning: missing field 'blind' initializer
      [-Wmissing-field-initializers]
    { 0 },
        ^
2 warnings generated.
  CCLD     exhaustive_tests
  CCLD     libsecp256k1.la
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  CCLD     bench_internal
  CCLD     bench_recover
  CCLD     bench_verify
  CCLD     bench_sign
2 warnings generated.
  CCLD     bench_ecmult
...

MSVC: options ecdh/recovery not configured on exe builds.

1>------ Rebuild All started: Project: secp256k1, Configuration: ReleaseLIB x64 ------
1>ConfigurationType : StaticLibrary
1>Configuration     : ReleaseLIB
1>PlatformToolset   : v141
1>TargetPath        : secp256k1\builds\msvc\vs2017\secp256k1\..\..\..\..\bin\x64\Release\v141\static\secp256k1.lib
1>Option-gmp          :
1>Option-assembly     :
1>Option-endomorphism : true
1>Option-config       :
1>Option-field64      :
1>Option-scalar64     :
1>Option-ecdh         : true
1>Option-recovery     : true
1>Option-schnorrsig   : true
1>lax_der_parsing.c
1>lax_der_privatekey_parsing.c
1>secp256k1.c
1>secp256k1\src\ecmult_impl.h(1028): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) (compiling source file ..\..\..\..\src\secp256k1.c)
1>secp256k1.vcxproj -> secp256k1\builds\msvc\vs2017\secp256k1\..\..\..\..\bin\x64\Release\v141\static\secp256k1.lib
1>Done building project "secp256k1.vcxproj".
2>------ Rebuild All started: Project: secp256k1_bench, Configuration: ReleaseSEXE x64 ------
3>------ Rebuild All started: Project: secp256k1_tests, Configuration: ReleaseSEXE x64 ------
2>ConfigurationType : Application
2>Configuration     : ReleaseSEXE
2>PlatformToolset   : v141
2>TargetPath        : secp256k1\builds\msvc\vs2017\secp256k1_bench\..\..\..\..\bin\x64\Release\v141\static\secp256k1_bench.exe
2>Option-gmp          :
2>Option-assembly     :
2>Option-endomorphism : true
2>Option-config       :
2>Option-field64      :
2>Option-scalar64     :
2>Option-ecdh         :
2>Option-recovery     :
2>Linkage-secp256k1   : static
2>bench_schnorrsig.c
2>..\..\..\..\src\bench_schnorrsig.c(70): warning C4090: 'function': different 'const' qualifiers
2>..\..\..\..\src\bench_schnorrsig.c(121): warning C4090: 'function': different 'const' qualifiers
2>..\..\..\..\src\bench_schnorrsig.c(122): warning C4090: 'function': different 'const' qualifiers
2>..\..\..\..\src\bench_schnorrsig.c(123): warning C4090: 'function': different 'const' qualifiers
3>ConfigurationType : Application
3>Configuration     : ReleaseSEXE
3>PlatformToolset   : v141
3>TargetPath        : secp256k1\builds\msvc\vs2017\secp256k1_tests\..\..\..\..\bin\x64\Release\v141\static\secp256k1_tests.exe
3>Option-gmp          :
3>Option-assembly     :
3>Option-endomorphism : true
3>Option-config       :
3>Option-field64      :
3>Option-scalar64     :
3>Option-testssl      :
3>Option-ecdh         :
3>Option-recovery     :
3>Linkage-secp256k1   : static
3>tests.c
3>secp256k1\src\ecmult_impl.h(1028): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
2>secp256k1_bench.vcxproj -> secp256k1\builds\msvc\vs2017\secp256k1_bench\..\..\..\..\bin\x64\Release\v141\static\secp256k1_bench.exe
2>Done building project "secp256k1_bench.vcxproj".
3>ConfigurationType : StaticLibrary
3>Configuration     : ReleaseLIB
3>PlatformToolset   : v141
3>TargetPath        : secp256k1\builds\msvc\vs2017\secp256k1\..\..\..\..\bin\x64\Release\v141\static\secp256k1.lib
3>Option-gmp          :
3>Option-assembly     :
3>Option-endomorphism : true
3>Option-config       :
3>Option-field64      :
3>Option-scalar64     :
3>Option-ecdh         : true
3>Option-recovery     : true
3>Option-schnorrsig   : true

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.