[MacPorts] #45675: cryptlib fails to build on 10.10 with XCode 6.1 (was: Crypt lib fails to build on 10.10 with XCode 6.1)

MacPorts noreply at macports.org
Tue Oct 28 19:49:43 PDT 2014


#45675: cryptlib fails to build on 10.10 with XCode 6.1
-----------------------+--------------------------------
  Reporter:  dhein@…   |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.2
Resolution:            |   Keywords:
      Port:  cryptlib  |
-----------------------+--------------------------------
Changes (by larryv@…):

 * cc: dhein@… (removed)
 * port:   => cryptlib


Old description:

> Getting errors like this:
>
> :info:build bn/bn_asm.c:734:2: error: integer constant is larger than the
> largest unsigned integer type
> :info:build         sqr_add_c2(a,1,0,c2,c3,c1);
> :info:build         ^
>
> And lots of warnings like this:
>
> info:build bn/bn_asm.cbn/bn_asm.c::8888::33::  warning: warning: shift
> count >= width of type [-Wshift-count-overflow]
> :info:build                 mul_add(rp[0],ap[0],w,c1);
> :info:build                 ^~~~~~~~~~~~~~~~~~~~~~~~~
> :info:build ./bn/bn_lcl.hshift count >= width of type [-Wshift-count-
> overflow]
> :info:build                 mul_add(rp[0],ap[0],w,c1);
> :info:build                 ^~~~~~~~~~~~~~~~~~~~~~~~~
> :info:build ./bn/bn_lcl.h:315:7: note: expanded from macro 'mul_add'
> :info:build         (c)= Hw(t); \
> :info:build              ^~~~~
> :info:build ./bn/bn_lcl.h:296:34: note: expanded from macro 'Hw'
> :info:build #define Hw(t)    (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
> :info:build                                  ^ ~~~~~~~~
>
> Full log is attached.

New description:

 Getting errors like this:
 {{{
 :info:build bn/bn_asm.c:734:2: error: integer constant is larger than the
 largest unsigned integer type
 :info:build         sqr_add_c2(a,1,0,c2,c3,c1);
 :info:build         ^
 }}}

 And lots of warnings like this:
 {{{
 info:build bn/bn_asm.cbn/bn_asm.c::8888::33::  warning: warning: shift
 count >= width of type [-Wshift-count-overflow]
 :info:build                 mul_add(rp[0],ap[0],w,c1);
 :info:build                 ^~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build ./bn/bn_lcl.hshift count >= width of type [-Wshift-count-
 overflow]
 :info:build                 mul_add(rp[0],ap[0],w,c1);
 :info:build                 ^~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build ./bn/bn_lcl.h:315:7: note: expanded from macro 'mul_add'
 :info:build         (c)= Hw(t); \
 :info:build              ^~~~~
 :info:build ./bn/bn_lcl.h:296:34: note: expanded from macro 'Hw'
 :info:build #define Hw(t)    (((BN_ULONG)((t)>>BN_BITS2))&BN_MASK2)
 :info:build                                  ^ ~~~~~~~~
 }}}

 Full log is attached.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/45675#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list