From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/dieharder: fix build with gcc 10
Date: Wed, 19 Aug 2020 23:34:42 +0200 [thread overview]
Message-ID: <20200819213442.GW24264@scaer> (raw)
In-Reply-To: <20200819163418.2012787-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2020-08-19 18:34 +0200, Fabrice Fontaine spake thusly:
> Disable -fno-common with dieharder, there is more than 100 variables to
> fix and upstream seems dead.
>
> Fixes:
> - http://autobuild.buildroot.org/results/ba70d111cd1f2029a193a88af3b44daf6ef27786
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Initially, I was not very happy that we just papered over the problem,
but this is too daunting to fix, and indeed upstream is not very well
alive it seems: last release in 2011, no public VCS... It's a bit
shamefull that we have a security-related package that is so old an
unmaintained... :-(
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/dieharder/dieharder.mk | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/package/dieharder/dieharder.mk b/package/dieharder/dieharder.mk
> index c3eee64553..cbf28922fd 100644
> --- a/package/dieharder/dieharder.mk
> +++ b/package/dieharder/dieharder.mk
> @@ -36,4 +36,9 @@ endif
> # parallel build fail, disable it
> DIEHARDER_MAKE = $(MAKE1)
>
> +# Too many fixes needed to build with -fno-common which is default since gcc 10
> +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_10),y)
> +DIEHARDER_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -fcommon"
> +endif
> +
> $(eval $(autotools-package))
> --
> 2.27.0
>
> _______________________________________________
> 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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2020-08-19 21:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 16:34 [Buildroot] [PATCH 1/1] package/dieharder: fix build with gcc 10 Fabrice Fontaine
2020-08-19 21:34 ` Yann E. MORIN [this message]
2020-08-20 6:21 ` Julien Viard de Galbert
2020-08-20 20:35 ` Yann E. MORIN
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=20200819213442.GW24264@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.