Opened 10 years ago

Last modified 8 years ago

#45675 closed defect

cryptlib fails to build on 10.10 with XCode 6.1 — at Version 3

Reported by: JeNeSuisPasDave (Dave Hein) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: cryptlib

Description (last modified by larryv (Lawrence Velázquez))

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.

Change History (4)

Changed 10 years ago by JeNeSuisPasDave (Dave Hein)

Attachment: main.log added

build log

comment:1 Changed 10 years ago by JeNeSuisPasDave (Dave Hein)

Drat. port in ticket metadata should be 'cryptlib'. Weird that I can't fix that after submission. :-(

comment:2 Changed 10 years ago by JeNeSuisPasDave (Dave Hein)

Cc: dhein@… added

Cc Me!

comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: dhein@… removed
Description: modified (diff)
Port: cryptlib added
Summary: Crypt lib fails to build on 10.10 with XCode 6.1cryptlib fails to build on 10.10 with XCode 6.1
Note: See TracTickets for help on using tickets.