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

Bug 355899

Summary: sys-libs/glibc: installs useless libbsd.a static library
Product: Gentoo Linux Reporter: Kevin McCarthy (RETIRED) <signals>
Component: [OLD] LibraryAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin McCarthy (RETIRED) gentoo-dev 2011-02-21 19:25:23 UTC
sys-libs/glibc installs libbsd.a in the standard libdir. It is a symbolic link to libbsd-compat.a This conflicts with the freedesktop libbsd (see bug #354271). Inspecting the glibc-provided one gives this:

% nm /usr/lib64/libbsd.a

dummy.o:
0000000000000000 T __dummy__

It would appear that this file is useless; there are no symbols. Since there now exists an ebuild for the freedesktop version, which does contain quite a few implementations of BSD-only functions, I think glibc should not install the libbsd.a link, and anything that needs to link against libbsd can require dev-libs/libbsd, which is more likely to work than the glibc provided one, anyway. 


Reproducible: Always
Comment 2 SpanKY gentoo-dev 2013-12-19 08:16:32 UTC
fyi, upstream glibc is punting libbsd-compat.a now too, so it'll be gone starting in glibc-2.19