pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/nss linking error on aarch64
Hi,
Maybe FreeBSD Ports' patch,
https://svnweb.freebsd.org/ports/head/security/nss/files/patch-bug1432455?revision=460255&view=markup&sortby=date
will resolve your problem.
However I have no aarch64 environment yet.
From: Mayuresh <mayuresh%acm.org@localhost>, Date: Thu, 1 Mar 2018 07:37:20 +0530
> When building nss, for firefox I get the following error on aarch64:
>
> Linux3.18_aarch64_gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/chacha20poly1305.o:
> In function `Poly1305PadUpdate':
> chacha20poly1305.c:(.text.Poly1305PadUpdate+0x34): undefined reference to
> `Hacl_Poly1305_64_update'
> chacha20poly1305.c:(.text.Poly1305PadUpdate+0x84): undefined reference to
> `Hacl_Poly1305_64_update'
> Linux3.18_aarch64_gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/chacha20poly1305.o:
> In function `Poly1305Do':
> chacha20poly1305.c:(.text.Poly1305Do+0x64): undefined reference to
> `Hacl_Poly1305_64_mk_state'
> chacha20poly1305.c:(.text.Poly1305Do+0x78): undefined reference to
> `Hacl_Poly1305_64_init'
> chacha20poly1305.c:(.text.Poly1305Do+0xec): undefined reference to
> `Hacl_Poly1305_64_update'
> chacha20poly1305.c:(.text.Poly1305Do+0x100): undefined reference to
> `Hacl_Poly1305_64_finish'
> collect2: error: ld returned 1 exit status
> ../../coreconf/rules.mk:289: recipe for target
> 'Linux3.18_aarch64_gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/libfreebl3.so'
> failed
> gmake[3]: ***
> [Linux3.18_aarch64_gcc_glibc_PTH_64_OPT.OBJ/Linux_SINGLE_SHLIB/libfreebl3.so]
> Error 1
> gmake[3]: Leaving directory
> '/usr/pkgsrc/devel/nss/work/nss-3.35/nss/lib/freebl'
>
>
> I think it's already the latest version 3.35.
>
> Any hints on how to go about this?
>
> Mayuresh
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index