All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v1] package/gdb: fix gdb-10.2 compile for uclibc < v1.0.35 (getrandom related)
Date: Sat, 6 Nov 2021 12:30:13 +0100	[thread overview]
Message-ID: <20211106123013.5773071a@gmx.net> (raw)
In-Reply-To: <20211106115027.79c8bc06@windsurf>

Hello Thomas,

On Sat, 6 Nov 2021 11:50:27 +0100, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> On Sat,  6 Nov 2021 10:15:08 +0100
> Peter Seiderer <ps.report@gmx.net> wrote:
> 
> > - fix getrandom compile for uclibc < v1.0.35, add missing stddef.h
> >   include (fixed in uclibc since v1.0.35, see [1])
> > 
> > Fixes:
> > 
> >   - http://autobuild.buildroot.net/results/6d4a62c703c85dd993ddb2d90ebe1f6cad24e0b0
> > 
> >   .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name ‘size_t’
> >      27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
> >         |                                   ^~~~~~
> > 
> > [1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=00972c02c2b6e0a95d5def4a71bdfb188e091782t
> > 
> > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> > ---
> >  ...getrandom-compile-for-uclibc-v1.0.35.patch | 39 +++++++++++++++++++
> >  1 file changed, 39 insertions(+)
> >  create mode 100644 package/gdb/10.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch  
> 
> Applied to master, thanks. Did you verify that this was only applicable
> to gdb 10.x, and none of the older or newer versions ?

Just now..., gdb-9.2 seems not affected, gdb-11.1 shows the same failure, patch follows...

Regards,
Peter

> 
> Thanks!
> 
> Thomas

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2021-11-06 11:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-06  9:15 [Buildroot] [PATCH v1] package/gdb: fix gdb-10.2 compile for uclibc < v1.0.35 (getrandom related) Peter Seiderer
2021-11-06 10:50 ` Thomas Petazzoni
2021-11-06 11:30   ` Peter Seiderer [this message]
2021-11-09  9:47 ` Peter Korsgaard

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=20211106123013.5773071a@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@buildroot.org \
    --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 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.