[osv-dev] [COMMIT osv master] scripts: expand %(libgcc_s_dir) when generating usr.manifest

2022-05-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master scripts: expand %(libgcc_s_dir) when generating usr.manifest The manifest skeleton files like usr.manifest.skel have an entry for libgcc_s_dir looking like this: /usr/lib/libgcc_s.so.1: %(libgcc_s_dir)s/libgcc_s.so.1 This actually

[osv-dev] [PATCH] scripts: expand %(libgcc_s_dir) when generating usr.manifest

2022-05-10 Thread Waldemar Kozaczuk
The manifest skeleton files like usr.manifest.skel have an entry for libgcc_s_dir looking like this: /usr/lib/libgcc_s.so.1: %(libgcc_s_dir)s/libgcc_s.so.1 This actually gets expanded quite late during the build process by upload_manifest.py. The unfortunate consequence of this is that loader.py

[osv-dev] [PATCH] scripts: tweak loader.py to load libstdc++.so.*-gdb.py on Ubuntu 22.04

2022-05-10 Thread Waldemar Kozaczuk
On newest version of Ubuntu, the location of the python script libstdc++.so.*-gdb.py has moved to a subdirectory under /usr/share/gcc/python. This patch tweaks the relevant logic to try this new place if the /usr/share/gcc-*/python does not work. Signed-off-by: Waldemar Kozaczuk --- scripts/loa

[osv-dev] [PATCH] aarch64: parse correctly cpu nodes in DTB tree

2022-05-10 Thread Waldemar Kozaczuk
It looks like the code to parse the /cpus node in DTB tree assumed that all subnodes would represent the cpus. Unfortunately, it is not the case any more as recent QEMU on both RPI 4 and Odroid show a structure looking like this: cpus { #address-cells = <0x02>; #size-cells = <0x00>

[osv-dev] [COMMIT osv master] libc: add number of glibc _chk extension functions

2022-05-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master libc: add number of glibc _chk extension functions This patch adds 5 new glibc extension functions that are part of the glibc binary standard and are needed to build OSv kernel on Ubuntu 22.04: - __mbsnrtowcs_chk - __mbsrtowcs_chk