-----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-unsubscr...@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-----

_______________________________________________
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