Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 524482

Summary: sys-libs/glibc should not build c_stubs
Product: Gentoo Linux Reporter: PaX Team <pageexec>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description PaX Team 2014-10-05 01:04:39 UTC
glibc's src_configure.eblit:glibc_do_configure() already filters out glibc-compat, is there any reason why c_stubs is still needed? (FYI, it's totally crap code, mixes up function signatures all over the place)
Comment 1 SpanKY gentoo-dev 2014-10-17 18:03:14 UTC
the compat code and the stubs code fulfilled different purposes.  the compat was to ease migration between <=glibc-2.0 and newer versions.  the oldest version Gentoo cares about nowadays is glibc-2.3.6.

the stubs code however is for building small static apps that don't rely on external gconv.  that applies today still.

who actually uses this, i'm not sure.  but the overhead on our side is nil.