-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

joerg_surmann wrote:
> hi all,
> 
> can't update security/nss.

INTEL_GCM option of nss is quite flawed.

ifdef INTEL_GCM
#
# GCM binary needs -mssse3
#
$(OBJDIR)/$(PROG_PREFIX)intel-gcm-wrap$(OBJ_SUFFIX): CFLAGS += -mssse3

# The integrated assembler in Clang 3.2 does not support % in the
# expression of a .set directive. intel-gcm.s uses .set to give
# symbolic names to registers, for example,
#     .set  Htbl, %rdi
# So we can't use Clang's integrated assembler with intel-gcm.s.
ifneq (,$(findstring clang,$(AS)))
$(OBJDIR)/$(PROG_PREFIX)intel-gcm$(OBJ_SUFFIX): ASFLAGS +=
- -no-integrated-as
endif
endif


It requires -mssse3 flag, so it cannot be built on 8.x with base gcc:

cc1: error: unrecognized command line option "-mssse3"

It uses assembly code not recognized by clang.

I'd say we should disable it to start.

- -- 
Alex Dupre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/

iEYEARECAAYFAlEkowMACgkQgRXp2M5fVU0CmQCfRWC2jiKHHTXTx4bbCNqnhcF0
gWAAni78byI4KTAPEklHzEJviGMbG/yu
=w+iQ
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to