HomeFreeBSD

Support uClibc for the tests compilations

Description

Support uClibc for the tests compilations

There are two issues that don't allow ZFS to be compiled using uClibc.
backtrace(), and program_invocation_short_name as a const.
This patch adds uClibc to the conditionals in the same way there are
already for Glibc for backtrace(); and removes the external param
program_invocation_short_name because its only used here for the
whole project.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Closes #11600

Details

Provenance
José Luis Salvador Rufo <salvador.joseluis@gmail.com>Authored on Feb 17 2021, 5:51 AM
GitHub <noreply@github.com>Committed on Feb 17 2021, 5:51 AM
Parents
rG436ab35a53ba: Make inline ABD predicates compatible with C++
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGaef1830f932c: Support uClibc for the tests compilations (authored by José Luis Salvador Rufo <salvador.joseluis@gmail.com>).Feb 17 2021, 5:51 AM