Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Stefan Ott <stefan@ott.net>, Samuel Martin <s.martin49@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 2/3] package/monero: new package
Date: Tue, 22 Nov 2022 23:38:38 +0100	[thread overview]
Message-ID: <20221122233838.45a5a96b@windsurf> (raw)
In-Reply-To: <20221031195205.429257-2-bernd.kuhls@t-online.de>

Hello Bernd,

Thanks for the contribution. See below some comments.

On Mon, 31 Oct 2022 20:52:04 +0100
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: disabled support for BR2_aarch64_be, not supported upstream:
>     https://github.com/tevador/RandomX/pull/257

What this pull requests says is "The current implementation of JIT
won't work on big endian processors.". So the problem seems to not be
with just AArch64 BE, but all big endian architectures, no? If so,
should this be depends on BR2_ENDIAN != "BIG" ? (With a comment above it).

Curious: what is the use case of a cryptocurrency stuff in Buildroot?


> diff --git a/package/monero/0001-disable-stack-protector.patch b/package/monero/0001-disable-stack-protector.patch
> new file mode 100644
> index 0000000000..0407b4e32d
> --- /dev/null
> +++ b/package/monero/0001-disable-stack-protector.patch
> @@ -0,0 +1,22 @@
> +Disable unconditional stack-protector support
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

They're using Git upstream, so please use Git-formatted patches.

Has this been submitted upstream, for example by making SSP optional?

> diff --git a/package/monero/0002-system-miniupnpc.patch b/package/monero/0002-system-miniupnpc.patch
> new file mode 100644
> index 0000000000..e12d9302bd
> --- /dev/null
> +++ b/package/monero/0002-system-miniupnpc.patch
> @@ -0,0 +1,112 @@
> +Add support for miniupnpc system library
> +
> +Downloaded from
> +https://git.alpinelinux.org/aports/plain/community/monero/system-miniupnpc.patch
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

It also needs to be Git formatted.

Has this been submitted upstream?


> diff --git a/package/monero/Config.in b/package/monero/Config.in
> new file mode 100644
> index 0000000000..59036286cd
> --- /dev/null
> +++ b/package/monero/Config.in
> @@ -0,0 +1,35 @@
> +config BR2_PACKAGE_MONERO
> +	bool "monero"
> +	depends on !BR2_aarch64_be && !BR2_i386

Why is i386 excluded?


> +MONERO_VERSION = 0.18.1.2
> +MONERO_SOURCE = monero-source-v$(MONERO_VERSION).tar.bz2
> +MONERO_SITE = https://downloads.getmonero.org/cli
> +MONERO_LICENSE = MIT
> +MONERO_LICENSE_FILES = LICENSE
> +MONERO_CONF_OPTS = \
> +	-DBUILD_DOCUMENTATION=OFF \
> +	-DCMAKE_CXX_FLAGS="$(MONERO_CXXFLAGS)" \
> +	-DCMAKE_BUILD_TYPE=None \

Is that normal?

> +	-DMANUAL_SUBMODULES=ON \
> +	-DSTACK_TRACE=OFF \
> +	-DUSE_CCACHE=OFF \
> +	-DUSE_DEVICE_TREZOR=OFF
> +MONERO_DEPENDENCIES = \
> +	boost \
> +	czmq \
> +	libminiupnpc \
> +	libsodium \
> +	openssl \
> +	unbound
> +
> +ifeq ($(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64el)$(BR2_sparc64),y)

So you don't support AArch64 BE, but it's handled here ? :-)

> +MONERO_CONF_OPTS += -DNO_AES=ON
> +endif

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-11-22 22:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 19:52 [Buildroot] [PATCH v2 1/3] package/unbound: install to staging Bernd Kuhls
2022-10-31 19:52 ` [Buildroot] [PATCH v2 2/3] package/monero: new package Bernd Kuhls
2022-11-22 22:38   ` Thomas Petazzoni via buildroot [this message]
2022-10-31 19:52 ` [Buildroot] [PATCH v2 3/3] package/p2pool: " Bernd Kuhls
2022-11-22 22:41   ` Thomas Petazzoni via buildroot
2022-11-22 22:41 ` [Buildroot] [PATCH v2 1/3] package/unbound: install to staging Thomas Petazzoni via buildroot

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=20221122233838.45a5a96b@windsurf \
    --to=buildroot@buildroot.org \
    --cc=bernd.kuhls@t-online.de \
    --cc=s.martin49@gmail.com \
    --cc=stefan@ott.net \
    --cc=thomas.petazzoni@bootlin.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox