pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48141: Update of net/synergy to 1.4.12



The following reply was made to PR pkg/48141; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/48141: Update of net/synergy to 1.4.12
Date: Tue, 29 Oct 2013 17:04:01 +0900

 On Fri, 30 Aug 2013 23:55:01 +0900, Tobias Nygren <tnn%nygren.pp.se@localhost> 
wrote:
 
 >  I had a look at the code. I tested on sparc64 where it worked fine, but
 >  there are some x86 specific ifdefs in there that probably could cause
 >  breakage on i386.
 
 Yes.
 
 In tools/cryptopp562/GNUmakefile, -DCRYPTOPP_DISABLE_{ASM,SSE3,AESNI} will be 
added
 to CXXFLAGS conditionally, and such definitions will affect to 
CRYPTOPP_BOOL_ALIGN16_ENABLED
 in tools/cryptopp562/config.h, and it is the knob whether 
AlignedAllocate/AlignedDeallocate
 will be declared or not in tools/cryptopp562/misc.{cpp,h}.
 Such knob is also used in tools/cryptopp562/secblock.h, and it will be 
included indirectly from
 src/lib/synergy/CCryptoMode.cpp, but Makefile for it does not take care about
 -DCRYPTOPP_DISABLE_{ASM,SSE3,AESNI} same as tools/cryptopp562/GNUmakefile.
 
 For the case of NetBSD-5.2.1-i386, -DCRYPTOPP_DISABLE_ASM is added for building
 tools/cryptopp562/misc.cpp, but not for src/lib/synergy/CCryptoMode.cpp,
 so linkage failures are happened.
 
 -- 
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index