Re: Cross-Compilation of NSS for MIPS platform fails.

Andrew Cagney <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAJeAr6tN3uZxiWxdcuBdBvgFoO42AuYvLR+uGTP6yKqhqz6SHA@mail.gmail.com>
On 18 March 2016 at 07:40, <[email protected]> wrote:

> Hi,
>    I went through the Firefox makefile and observed that I had set the
> flags which are listed there. So, I believe that might not be the problem.
> Yet, I shall build Firefox and see the build logs for better understanding
> as you had suggested.
> Initially, the libfreebl3.so was not building for MIPS platform, so I
> included a few lines of code to eliminate the following error :
> {standard input}: Assembler messages:
> {standard input}:79: Error: unrecognized opcode `bswap $2'
>
>

While there, hack the make file and add a printenv command.  From memory,
not all the make variables are passed explicitly, some get tunnelled via
the environment.



> Then libfreebl3.so got built and was being loaded.
>
>  The next issue which I faced at run time was in pkc11load.c .Here,
> C_Initialize() call returns CKR_CRYPTOKI_NOT_INITIALIZED due to which
> "CKR_GENERAL_ERROR" flag is being raised.
>   So, can you give any pointers on how I should debug further?
> --
> dev-tech-crypto mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.