Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355899 - sys-libs/glibc: installs useless libbsd.a static library
Summary: sys-libs/glibc: installs useless libbsd.a static library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 19:25 UTC by Kevin McCarthy (RETIRED)
Modified: 2013-12-19 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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