Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2019 05:53:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236194] math/secp256k1: fails to build with clang 8 (blocks 3 ports)
Message-ID:  <bug-236194-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236194

            Bug ID: 236194
           Summary: math/secp256k1: fails to build with clang 8 (blocks 3
                    ports)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 236062
             Flags: maintainer-feedback?(ale@FreeBSD.org)
          Assignee: ale@FreeBSD.org

$ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https
$ poudriere testport -j clang8 math/secp256k1
[...]
In file included from src/secp256k1.c:12:
In file included from ./src/scalar_impl.h:20:
./src/scalar_4x64_impl.h:379:19: error: value '4624529908474429119' out of
range for constraint 'n'
    : "S"(l), "n"(SECP256K1_N_C_0), "n"(SECP256K1_N_C_1)
                  ^~~~~~~~~~~~~~~
./src/scalar_4x64_impl.h:17:25: note: expanded from macro 'SECP256K1_N_C_0'
#define SECP256K1_N_C_0 (~SECP256K1_N_0 + 1)
                        ^~~~~~~~~~~~~~~~~~~~
./src/scalar_4x64_impl.h:458:74: error: value '4624529908474429119' out of
range for constraint 'n'
    : "g"(m0), "g"(m1), "g"(m2), "g"(m3), "g"(m4), "g"(m5), "g"(m6),
"n"(SECP256K1_N_C_0), "n"(SECP256K1_N_C_1)
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~~~~~~~~~~~
./src/scalar_4x64_impl.h:17:25: note: expanded from macro 'SECP256K1_N_C_0'
#define SECP256K1_N_C_0 (~SECP256K1_N_0 + 1)
                        ^~~~~~~~~~~~~~~~~~~~
./src/scalar_4x64_impl.h:504:64: error: value '4624529908474429119' out of
range for constraint 'n'
    : "g"(p0), "g"(p1), "g"(p2), "g"(p3), "g"(p4), "D"(r),
"n"(SECP256K1_N_C_0), "n"(SECP256K1_N_C_1)
                                                               ^~~~~~~~~~~~=
~~~
./src/scalar_4x64_impl.h:17:25: note: expanded from macro 'SECP256K1_N_C_0'
#define SECP256K1_N_C_0 (~SECP256K1_N_0 + 1)
                        ^~~~~~~~~~~~~~~~~~~~

http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_=
06h42m53s/logs/errors/secp256k1-0.1.20190204.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236062
[Bug 236062] [exp-run] Against projects/clang800-import branch
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236194-7788>