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

next in thread | previous in thread | raw e-mail | index | archive | help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

hey,

i found this Makefile:
http://dxr.mozilla.org/mozilla-central/security/nss/lib/freebl/Makefile.html
with the same intructions.

ifdef INTEL_GCM                         --> "Makefile", line 107: Need
an operator
fneq (,$(findstring clang,$(AS))) --> line 118: Missing dependency operator

that dosnt work.


Am 20.02.2013 11:18, schrieb Alex Dupre:
> 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.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBCAAGBQJRJNSTAAoJEDyDkpKh+9pT8oUQAL5tRvoauJ0TJ4sEI8Pawn/8
FD/6r4Jdv5/QPd1TSOppN02r0ZSRmIoDFwgOVpLg6aDkt4kUzA/f1uGr463T6iYY
WCvU9QWBE8Yy0sAdG7S3aTMCyK5QXToQ7Ua1tq8rRJ47u7njJD30l+W6kcmtGZOq
SrS4/ZhyDblk8FJ1ODC5cYsYEQx+lPKqQlSFrIkOj6Djdi1YizVlTZBn9gcBLe5m
ORjmbsDMzB1rhomskhOdF8+2YGiXu+3kDE1sTWhUUXM+ArMwX0PHLPv5lAvriv21
3Z0tYtAqYltONcapmgmCHJOhxxw5RMO7Q+/MwKP49yIwr6Ayivu3dKX9Ex5/jV11
zMrnZe2ery48QDRsFRDQaC2u1P6XSj3LquD1xhrI7SUCRf8pN9+IJqryW3YKe9g1
w64oVNj0F0STuZkzAMpUo+w/A01KcdA6RWlLLkQdPnMLDPgfOfPY0Op2PDzpJb2I
Wx91fV7n9LNlly+QEplJmYIb2US3Qf2grmLBnWoS9TvIjVvjPBLwtlr0uVMIU1AC
oZjlqpTl+hglIu0O+6azxi/tScUbDTQbZo5eHSBIzW0pepgK0n43u4fvigNxrZ8L
Y/Aj5CNbx0kxT2MGeXnCKRyZivW2w/uqIykcubyNPfkiO5RiMhW4UThEaRNOKUbX
QfHatdSrTns3QC9Qqp5d
=mGFM
-----END PGP SIGNATURE-----




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