USE Flag: debug

Search

Local and Metadata Descriptions

Metadata Descriptions (metadata.xml)

Packages Using This Flag

Package Local Description (use.local.desc) Metadata Description (metadata.xml)
cross-x86_64-unknown-linux-musl/gcc - Enables GCC's 'checking' (assertions) facility. For released GCCs: * USE=debug sets --enable-checking=yes,extra,rtl * USE=-debug sets --enable-checking=release For unreleased GCCs: * USE=debug sets --enable-checking=yes,extra,rtl * USE=-debug sets --enable-checking=yes,extra This adds checks to various compiler passes for integrity and input validation. This can help catch possible miscompilations early as well as latent bugs which could become real problems in future, but at the cost of slower compile times when using GCC. Unrelated to backtraces.