[Buildroot] [PATCH 1/1] package/gdb: fix musl build on riscv
Peter Korsgaard
peter at korsgaard.com
Wed Nov 17 21:37:44 UTC 2021
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
> Fix the following build failure raised since gdb 10.1 and
> https://github.com/bminor/binutils-gdb/commit/bf84f7066626c78884436e1c39fb60f04c665f21:
> ../../gdbserver/linux-riscv-low.cc: In function 'void riscv_fill_fpregset(regcache*, void*)':
> ../../gdbserver/linux-riscv-low.cc:140:19: error: 'ELF_NFPREG' was not declared in this scope; did you mean 'ELF_NGREG'?
> 140 | for (i = 0; i < ELF_NFPREG - 1; i++, regbuf += flen)
> | ^~~~~~~~~~
> | ELF_NGREG
> musl fixed the issue with
> https://github.com/ifduyue/musl/commit/e5d2823631bbfebacf48e1a34ed28f28d7cb2570
> Fixes:
> - http://autobuild.buildroot.org/results/16b19198980ce9c81a618b3f6e8dc9fe28247a28
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> .../10.2/0007-fix-musl-build-on-riscv.patch | 60 +++++++++++++++++++
> .../11.1/0007-fix-musl-build-on-riscv.patch | 60 +++++++++++++++++++
Committed (without the 11.1 patch) to 2021.02.x and 2021.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list