pkgsrc-Bugs archive

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

Re: pkg/55158: nss 3.51 compile failed on earmv6hf/v7hf and aarch64



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

From: Jun Ebihara <jun%soum.co.jp@localhost>
To: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Cc: 
Subject: Re: pkg/55158: nss 3.51 compile failed on earmv6hf/v7hf and aarch64
Date: Tue, 21 Apr 2020 14:43:24 +0900 (JST)

 From: Jun Ebihara <jun%soum.co.jp@localhost>
 Subject: Re: pkg/55158: nss 3.51 compile failed on earmv6hf/v7hf and aarch64
 Date: Tue, 21 Apr 2020 09:21:50 +0900 (JST)
 
 With backout gcm.c,earmv6hf make succeeded on RaspberryPi,
 this change deleted on 3.49.1 to 3.49.2
 earmv7hf still failed. need fix ifdefs.
 
 --- nss/lib/freebl/gcm.c.orig	2020-01-24 07:22:25.000000000 +0900
 +++ nss/lib/freebl/gcm.c	2020-04-21 13:40:49.562785558 +0900
 @@ -21,8 +21,11 @@
  #if defined(__aarch64__) && defined(IS_LITTLE_ENDIAN) && \
      (defined(__clang__) || defined(__GNUC__) && __GNUC__ > 6)
  #define USE_ARM_GCM
 -#elif defined(__arm__) && defined(IS_LITTLE_ENDIAN)
 -/* We don't test on big endian platform, so disable this on big endian. */
 +#elif defined(__arm__) && defined(IS_LITTLE_ENDIAN) && \
 +    (defined(__ARM_NEON__) || defined(__ARM_NEON))
 +/* We don't test on big endian platform, so disable this on big endian.
 + * Also, we don't check whether compiler support NEON well, so this uses
 + * that compiler uses -mfpu=neon only. */
  #define USE_ARM_GCM
  #endif
  
 


Home | Main Index | Thread Index | Old Index