Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 11:18:43 +0100
From:      Alex Dupre <ale@FreeBSD.org>
To:        joerg_surmann <joerg_surmann@snafu.de>
Cc:        Freebsd_mailinglist_PORTS <freebsd-ports@freebsd.org>
Subject:   Re: update failed for security/nss-3.14.3
Message-ID:  <5124A303.6070605@FreeBSD.org>
In-Reply-To: <51249B2A.6000600@snafu.de>
References:  <51249B2A.6000600@snafu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5124A303.6070605>