All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/libnss: fix build failure on microblaze
Date: Wed, 24 Jun 2020 22:10:23 +0200	[thread overview]
Message-ID: <20200624201023.GI20645@scaer> (raw)
In-Reply-To: <20200624160640.1892981-1-giulio.benetti@benettiengineering.com>

Giulio, All,

On 2020-06-24 18:06 +0200, Giulio Benetti spake thusly:
> By mistake seed.o has been added to public library too, but this way its
> dependencies are not taken into account(stubs.o), this way build fails
> complaining on missing functions from stubs.o file. Let's fix it by
> adding upstream patch:
> https://hg.mozilla.org/projects/nss/rev/f46fca8ced7fca6aa6de60e3170b2a3b6b2df565
> 
> Fixes:
> http://autobuild.buildroot.net/results/4cb/4cbf4c35549a3bfba06222ba509d0263f23a3a2e/
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...-seed.o-back-into-freeblpriv3.-r-bbe.patch | 50 +++++++++++++++++++
>  1 file changed, 50 insertions(+)
>  create mode 100644 package/libnss/0003-Bug-1642146-Move-seed.o-back-into-freeblpriv3.-r-bbe.patch
> 
> diff --git a/package/libnss/0003-Bug-1642146-Move-seed.o-back-into-freeblpriv3.-r-bbe.patch b/package/libnss/0003-Bug-1642146-Move-seed.o-back-into-freeblpriv3.-r-bbe.patch
> new file mode 100644
> index 0000000000..c9321658fd
> --- /dev/null
> +++ b/package/libnss/0003-Bug-1642146-Move-seed.o-back-into-freeblpriv3.-r-bbe.patch
> @@ -0,0 +1,50 @@
> +From 0841ebe3c85bfb12ecf080efb2e28ac18f55ed41 Mon Sep 17 00:00:00 2001
> +From: Mike Hommey <mh@glandium.org>
> +Date: Mon, 15 Jun 2020 18:12:09 +0000
> +Subject: [PATCH] Bug 1642146 - Move seed.o back into freeblpriv3.
> + r=bbeurdouche
> +
> +Differential Revision: https://phabricator.services.mozilla.com/D77595
> +
> +--HG--
> +extra : moz-landing-system : lando
> +
> +Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> +---
> + nss/lib/freebl/Makefile    | 4 ----
> + nss/lib/freebl/manifest.mn | 4 ++++
> + 2 files changed, 4 insertions(+), 4 deletions(-)
> +
> +diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
> +index 29dc940a3..52d827c6a 100644
> +--- a/nss/lib/freebl/Makefile
> ++++ b/nss/lib/freebl/Makefile
> +@@ -545,10 +545,6 @@ ifndef HAVE_INT128_SUPPORT
> +     DEFINES += -DKRML_VERIFIED_UINT128
> + endif
> + 
> +-ifndef NSS_DISABLE_DEPRECATED_SEED
> +-	CSRCS += deprecated/seed.c
> +-endif
> +-
> + ifndef NSS_DISABLE_CHACHAPOLY
> +     ifeq ($(CPU_ARCH),x86_64)
> +         ifndef NSS_DISABLE_AVX2
> +diff --git a/nss/lib/freebl/manifest.mn b/nss/lib/freebl/manifest.mn
> +index 5efb48520..8dd8ddb53 100644
> +--- a/nss/lib/freebl/manifest.mn
> ++++ b/nss/lib/freebl/manifest.mn
> +@@ -160,6 +160,10 @@ CSRCS = \
> + 	$(EXTRA_SRCS) \
> + 	$(NULL)
> + 
> ++ifndef NSS_DISABLE_DEPRECATED_SEED
> ++	CSRCS += deprecated/seed.c
> ++endif
> ++
> + ALL_CSRCS := $(CSRCS)
> + 
> + ALL_HDRS =  \
> +-- 
> +2.25.1
> +
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2020-06-24 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 16:06 [Buildroot] [PATCH] package/libnss: fix build failure on microblaze Giulio Benetti
2020-06-24 20:10 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200624201023.GI20645@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.