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

Bug#368326: libc6: LD_ASSUME_KERNEL=2.4.1 no longer works



Torsten Wolf wrote:
Package: libc6
Version: 2.3.6-9
Severity: normal


The visualization software Fieldview (www.ilight.com) stops with the
following error message:

symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link
time reference

This error appeared even with older versions of libc6 but could be
prevented by setting LD_ASSUME_KERNEL=2.4.1 (last tested with 2.3.6-7).
In #368022 it is suggested that in such cases the software is outdated
or buggy. However, this also happens with the most recent versions.

Even if this happens with the most recent versions, that does not mean it is not buggy. Using "extern int errno" in a program is deprecated for years.

> Is
there any chance, that the old compatibility will be restored? I also
read this in the mentioned BTS entry:

"Well since glibc 2.3.6-7, all our "flavours" of the glibc now have TLS
enabled, since it is needed by libstdc++. So I doubt it will work."

Is there any way to disable TLS before running problematic programs?

Disabling TLS will render our system unusable, as it would make your system unable to run C++ programs (which include for example apt).

The only solution I can see is to provided a libc6 without TLS support that should be used with LD_LIBRARY_PATH. Not sure it will work though.

--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: