Here is an eclectic collection of patches needed to get OSv to compile
on Fedora 34. Most of the patches are about changes in gcc 11.

After this series "make" and "scripts/build image=rogue; scripts/run.py"
work, but the default Lua shell (scripts/build) and the tests (make
check) still don't work and will need more patches.

Nadav Har'El (12):
  fix compatibility features.h for Fedora 34
  Fix __cxa_finalize() signature
  bsd/sha2.c: fix mismatched signatures
  Fix warnings about misleading indentation
  xen: fix overread and overwrite bug
  Makefile: avoid warning in one Musl source file
  fs/vfs/main.cc: fix gcc 11 build error
  core/trace.cc: free aligned_alloc() with free()
  sched: free aligned_alloc() with free()
  core/mmu.cc: silence warning
  add __libc_single_threaded symbol
  scripts/setup.py: add Fedora 34

 scripts/setup.py                |  9 +++-
 include/osv/sched.hh            | 13 ++++++
 bsd/sys/net/if.cc               |  4 +-
 bsd/sys/netinet/in_mcast.cc     |  3 +-
 bsd/sys/netinet/tcp_syncache.cc |  3 +-
 bsd/sys/xen/evtchn.cc           | 77 +++++++++++++++++----------------
 bsd/sys/xen/xenbus/xenbus.cc    | 16 +++----
 core/mmu.cc                     |  4 ++
 core/sched.cc                   | 12 ++---
 core/trace.cc                   |  6 +--
 fs/vfs/main.cc                  |  6 +--
 runtime.cc                      | 18 ++++++--
 Makefile                        |  1 +
 bsd/sys/crypto/sha2/sha2.c      | 12 ++---
 bsd/sys/xen/evtchn.h            |  5 ++-
 include/glibc-compat/features.h |  5 +++
 16 files changed, 119 insertions(+), 75 deletions(-)

-- 
2.31.1

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/20210614062057.1998552-1-nyh%40scylladb.com.

Reply via email to