Bug#649164: getconf: missing POSIX_V7_THREADS_CFLAGS, POSIX_V7_THREADS_LDFLAGS variables
Package: libc-bin
Version: 2.13-21
Severity: wishlist
Justification: POSIX.1-2008 XCU.c99 extended description, table 4-6
Tags: upstream
Hi,
POSIX says:
In addition to the type size programming environments above,
all implementations support a multi-threaded programming
environment that is orthogonal to all the programming
environments listed above. The getconf utility can be used to
get flags for the threaded environment, as indicated in
Table 4-6.
and continues by documenting that
getconf POSIX_V7_THREADS_CFLAGS
getconf POSIX_V7_THREADS_LDFLAGS
retrieve the compiler flags and linker flags, respectively, for
building multithreaded programs. glibc getconf does not seem to
support this.
Certainly not urgent, but thought I should report it before I forget.
Sincerely,
Jonathan
(Side note: on amd64, "getconf -v POSIX_V7_LP64_OFF64 POSIX2_VERSION"
works but "getconf -v POSIX_V7_ILP32_OFF32 POSIX2_VERSION" produces
"getconf: Couldn't execute /usr/lib/getconf/POSIX_V7_ILP32_OFF32: No
such file or directory". So something seems awry, though I care even
less about it. Please let me know if you would like a report about
that.)
Reply to: