[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc - capaibility control mechanism

On Fri, Apr 01, 2005 at 07:11:04PM +0200, Bastian Blank wrote:
> On Fri, Apr 01, 2005 at 11:35:49AM -0500, Daniel Jacobowitz wrote:
> > You need to be a lot more specific than that.  It works.  I use it every day.
> So? Than please show me how to ask it to enable sse optimized libs and
> disable tls.

Debian doesn't offer a way to do this for libc, because we only ship
SSE optimized libraries which use TLS.  If we did ship them, then
LD_ASSUME_KERNEL=2.4 would work fine.  That disables TLS, but not
hardware capabilities.

> > No way.  An additional data source with a grammar that needs to be
> > parsed at every application's startup?
> /etc/ld.so.conf don't get read every time? This one generates IO and
> syscalls, while my extension only needs some cpu cycles.
> Also I don't say that a compiled version can't end in /etc/ld.so.cache
> and only the overwrite needs to be parsed.

ld.so.conf doesn't get read every time.  It's only used by ldconfig.

Daniel Jacobowitz
CodeSourcery, LLC

Reply to: