From owner-freebsd-ports@FreeBSD.ORG Wed Feb 20 18:23:58 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AB6A2225 for ; Wed, 20 Feb 2013 18:23:58 +0000 (UTC) (envelope-from joerg_surmann@snafu.de) Received: from martini.ops.eusc.inter.net (martini.ops.eusc.inter.net [84.23.254.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5252D9F1 for ; Wed, 20 Feb 2013 18:23:58 +0000 (UTC) X-Trace: 507c6a6f6572675f7375726d616e6e7c39322e3233312e3230352e3138307c3155 38454a562d3030304e48622d39507c31333631333834353631 Received: from martini.ops.eusc.inter.net ([10.158.10.19] helo=localhost) by martini.ops.eusc.inter.net with esmtpsa (Exim 4.80.1) id 1U8EJV-000NHb-9P; Wed, 20 Feb 2013 19:22:41 +0100 Message-ID: <51251451.9050209@snafu.de> Date: Wed, 20 Feb 2013 19:22:09 +0100 From: joerg_surmann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130220 Thunderbird/17.0.3 MIME-Version: 1.0 To: Florian Smeets , Freebsd_mailinglist_PORTS Subject: Re: update failed for security/nss-3.14.3 References: <51249B2A.6000600@snafu.de> <5124A303.6070605@FreeBSD.org> <5124D493.4020202@snafu.de> <5124FE43.9070307@smeets.im> <512506E1.1010601@snafu.de> In-Reply-To: <512506E1.1010601@snafu.de> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 18:23:58 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 it's solved. delete binutils then install security/nss via portmaster. thanks suri Am 20.02.2013 18:24, schrieb joerg_surmann: > > FreeBSD-9.1 amd64 > > .if ${ARCH} == amd64 --> "Makefile", line 63: Need an operator > +.if exists(${LOCALBASE}/${CONFIGURE_TARGET:S/amd64/x86_64/}/bin) --> > "Makefile", line 65: Missing dependency operator > +.else --> "Makefile", line 67: Need an operator > .if defined(WITH_CLANG_IS_CC) || ${CC:Mcc} && ${OSVERSION} > 1000023 > --> "Makefile", line 70: Need an operator > > > > > Am 20.02.2013 17:48, schrieb Florian Smeets: > >> 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. > >> > > > It works fine on anything >= 8.3. The problem seems to be that people > > installed binutils on say 9.0 and have them installed in > > > /usr/local/x86_64-portbld-freebsd9.0 > > > But they upgraded to 9.1 so the port looks for them in > > > /usr/local/x86_64-portbld-freebsd9.1 > > > the thing is that -B to gcc falls back to "well known paths" in case it > > doesn't find anything useful in the specified path (this is even > > documented). Thus using our base linker that's not able to deal with the > > new instructions. > > > I will probably commit something like this later. > > > Index: Makefile > > =================================================================== > > --- Makefile (revision 312608) > > +++ Makefile (working copy) > > @@ -54,7 +54,11 @@ > > > .if ${ARCH} == amd64 > > USE_BINUTILS= # intel-gcm.s > > +.if exists(${LOCALBASE}/${CONFIGURE_TARGET:S/amd64/x86_64/}/bin) > > CFLAGS+= -B${LOCALBASE}/${CONFIGURE_TARGET:S/amd64/x86_64/}/bin > > +.else > > +IGNORE= please reinstall devel/binutils and try again > > +.endif > > .if defined(WITH_CLANG_IS_CC) || ${CC:Mcc} && ${OSVERSION} > 1000023 > > EXTRA_PATCHES+= ${FILESDIR}/extra-bug835050 > > .endif > > > Florian > > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRJRRRAAoJEDyDkpKh+9pTIWYP/2/ThdFK6mjo//yZ/fX7DB5l QSy8kuzYs3BqDIl08HjPgglPRpYgONKnfMsYtbqvME1vJS5sDPepI1sEKf4QSHo7 uv67rpJOdvsKLiqI1/GkubSOYLlZYd440ocQWf5Yy6B1/gu2V4PC3qL42Tlmi12+ YUg/IGlbSAcrHnGKIhMDzniSotGRe0cxssObrFAR0Z8enPv4l7v3Auc89K9Qoqn0 iAXoNIzha8wxyeYD0Zm0rWoYcvCv0tYIFbAB210gsCbuokKmGVf+EP9XpTO+K9fu m2yFf9u2Z289n+5ZIIsKCY3gIDpjLgU20pdbIXJQhwkHCGf3Lcg8+5KwgD05PTWq 1bQcU3sldrDOoKuoV/ZPv0r8dw7cvud0jjd/tp+aQehAJTzGFo0nwcxd+/wT3ebe mFG8JAq0M3bDzjlqLQkkAxnUUVfRMENmvUsfxydcCNu6vaf/Joo9SmFpXT1+Qc/6 vmFLJA1bfBmMt+e6bokyMNOaEFF/XJErz8e0WyAQNsnD2B1Dauh35HllBaWmPnVb 8SSNXatQzHji5F6OI5Qwr4IQ7AK/+cO2kl0nJwkUQpwF+qLchyeLsJGmvnl3Ufny Rjmd8UmPsYyAPcmtb8Av2cqTnC7/Bpg8S8yYn1navubLWAzYJU08T00O6AhdKY5q 9qvm8Emk40jVpuwPrxVe =3Ue7 -----END PGP SIGNATURE-----