From: William C. <wc...@us...> - 2020-09-10 19:59:57
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "oprofile". The branch, master has been updated via 91bedd280b8a3fb4665db627559abba960be4212 (commit) via 5ed9bda8baf7465172a99ff86ed7f46397b06c7f (commit) from 7720ad156bbd1a561635d888cfedfe5689d6d1b7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 91bedd280b8a3fb4665db627559abba960be4212 Author: Andrew Savchenko <bi...@gm...> Date: Sat Sep 5 14:40:07 2020 +0300 Fix configure when /bin/sh is not bash --Signature=_Sat__5_Sep_2020_14_40_08_+0300_w+XY/NnD8_G.Kd1s Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable When /bin/sh used by autoconf is not bash, e.g. dash, configure fails because it uses bash-specific equality operator "==". Fix this problem by replacing "==" with POSIX "=" which is sufficient for test where it is being used. Signed-off-by: Andrew Savchenko <bi...@gm...> commit 5ed9bda8baf7465172a99ff86ed7f46397b06c7f Author: Andrew Savchenko <bi...@gm...> Date: Sat Sep 5 14:41:30 2020 +0300 Fix build with musl --Signature=_Sat__5_Sep_2020_14_41_30_+0300_B.qpPPwu83bbA.32 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable When musl is used instead of glibc, oprofile build fails because it uses glibc-specific FTW extension: FTW_ACTIONRETVAL for custom __delete_old_previous_sample_data return codes and FTW_STOP, FTW_CONTINUE for such return codes. Musl supports only POSIX ftw, so build fails. However, this extension is not really needed by oprofile, because FTW_SKIP_* are not used and {FTW_STOP,FTW_CONTINUE} can be handled by standard return codes {1,0} (more precisely standard defines {!0,0}, but in glibc FTW_STOP = 1, so I keep this value). Signed-off-by: Andrew Savchenko <bi...@gm...> ----------------------------------------------------------------------- Summary of changes: configure.ac | 4 ++-- pe_profiling/operf.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) hooks/post-receive -- oprofile |