sys-libs/glibc (bentoo)

Search

Install

Install this package:

emerge -a sys-libs/glibc

Package Information

Description:
GNU libc C library
Homepage:
https://www.gnu.org/software/libc/
License:
LGPL-2.1+ BSD HPND ISC inner-net rc PCRE

Versions

Version EAPI Keywords Slot
2.44 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 2.2

Metadata

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>toolchain@gentoo.org</email>
		<name>Gentoo Toolchain Project</name>
	</maintainer>
	<use>
		<flag name="cet">Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8)</flag>
		<flag name="clang">Allow building with clang (if proper environment is set). Highly experimental. Disable to auto-force gcc usage.</flag>
		<flag name="clone3">Enable the new clone3 syscall within glibc. Can be disabled to allow compatibility with older Electron applications.</flag>
		<flag name="compile-locales">build *all* locales in src_install; this is generally meant for stage building only as it ignores /etc/locale.gen file and can be pretty slow</flag>
		<flag name="crypt">build and install libcrypt and crypt.h</flag>
		<flag name="debug">When USE=hardened, allow fortify/stack violations to dump core (SIGABRT) and not kill self (SIGKILL)</flag>
		<flag name="experimental-loong">Add experimental LoongArch patchset</flag>
		<flag name="gd">build memusage and memusagestat tools</flag>
		<flag name="hash-sysv-compat">enable sysv linker hashes in glibc for compatibility with binary software (EAC via wine/proton)</flag>
		<flag name="multiarch">enable optimizations for multiple CPU architectures (detected at runtime)</flag>
		<flag name="multilib-bootstrap">Provide prebuilt libgcc.a and crt files if missing. Only needed for ABI switch.</flag>
		<flag name="nscd">Build, and enable support for, the Name Service Cache Daemon</flag>
		<flag name="old-kernel">Support the oldest kernel also supported by upstream glibc, otherwise the oldest in the Gentoo tree</flag>
		<flag name="perl">Install additional scripts written in Perl</flag>
		<flag name="sframe">enable building with sframe backtrace support</flag>
		<flag name="ssp">protect stack of glibc internals</flag>
		<flag name="stack-realign">Realign the stack in the 32-bit build for compatibility with older binaries at some performance cost</flag>
		<flag name="static-pie">Enable static PIE support (runtime files for -static-pie gcc option).</flag>
		<flag name="suid">Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5</flag>
		<flag name="systemtap">
			Enable enhanced debugging hooks/interface via SystemTap static probe points.

			Note that this isn't exclusive to SystemTap, despite the name. This provides
			an interface which <pkg>dev-debug/gdb</pkg> optionally uses, see
			https://sourceware.org/gdb/wiki/LinkerInterface.
		</flag>
	</use>
	<upstream>
		<remote-id type="cpe">cpe:/a:gnu:glibc</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p sys-libs/glibc | euse -E <flag> -p sys-libs/glibc | euse -D <flag> -p sys-libs/glibc

Flag Description 2.44
audit Enable support for <pkg>sys-process/audit</pkg> ⚠️ ✓
caps Link against sys-libs/libcap so lemond can pass capabilities on to the backend processes it spawns ⚠️ ✓
cet Enable Intel Control-flow Enforcement Technology (needs binutils 2.29 and gcc 8) ✓
clang Allow building with clang (if proper environment is set). Highly experimental. Disable to auto-force gcc usage. ✓
compile-locales build *all* locales in src_install; this is generally meant for stage building only as it ignores /etc/locale.gen file and can be pretty slow ✓
custom-cflags ⚠️ ✓
doc Build the Doxygen API documentation for the library. Upstream enables this by default; here it is opt-in so that installing the library does not pull in app-text/doxygen and Graphviz. ⚠️ ✓
gd build memusage and memusagestat tools ✓
hash-sysv-compat enable sysv linker hashes in glibc for compatibility with binary software (EAC via wine/proton) ✓
headers-only Build and install only the headers. This is mostly useful for toolchain bootstrapping, to avoid circular deps. ⚠️ ✓
multiarch enable optimizations for multiple CPU architectures (detected at runtime) ⊕
multilib ⚠️ ✓
multilib-bootstrap Provide prebuilt libgcc.a and crt files if missing. Only needed for ABI switch. ✓
nscd Build, and enable support for, the Name Service Cache Daemon ✓
old-kernel Support the oldest kernel also supported by upstream glibc, otherwise the oldest in the Gentoo tree ✓
perl Install additional scripts written in Perl ✓
profile Build profiling runtime. ⚠️ ✓
selinux Enable SELinux policy support for enhanced security in SELinux-enabled systems. Required for proper operation on systems with SELinux in enforcing mode. ⚠️ ✓
sframe enable building with sframe backtrace support ✓
ssp protect stack of glibc internals ⊕
stack-realign Realign the stack in the 32-bit build for compatibility with older binaries at some performance cost ✓
static-libs ⚠️ ⊕
suid Make internal pt_chown helper setuid -- not needed if using Linux and have /dev/pts mounted with gid=5 ✓
systemd Install the system and user systemd units for the lemond daemon, plus the sysusers.d snippet. Upstream provides no OpenRC service and the units use systemd-only directives, so they are omitted on non-systemd installs. ⚠️ ✓
systemtap Enable enhanced debugging hooks/interface via SystemTap static probe points. Note that this isn't exclusive to SystemTap, despite the name. This provides an interface which <pkg>dev-debug/gdb</pkg> optionally uses, see https://sourceware.org/gdb/wiki/LinkerInterface. ✓
test Build and run the upstream test suite (requires dbus-test-runner) ⚠️ ✓
vanilla Disable Gentoo-specific behavior and compatibility quirks ⚠️ ✓

Files

Manifest

Type File Size Versions
DIST gcc-multilib-bootstrap-20201208.tar.xz 5528452 bytes 2.44
DIST glibc-2.44-patches-5.tar.xz 90032 bytes 2.44
DIST glibc-2.44.tar.xz 20620544 bytes 2.44
DIST glibc-2.44.tar.xz.sig 870 bytes 2.44
DIST glibc-systemd-20210729.tar.gz 1480 bytes 2.44
Unmatched Entries
Type File Size