Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198657 - >=sys-libs/glibc-2.6.1 - USE="glibc-compat20" does not do anything useful
Summary: >=sys-libs/glibc-2.6.1 - USE="glibc-compat20" does not do anything useful
Status: RESOLVED DUPLICATE of bug 183190
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-10 12:10 UTC by Benjamin Schindler
Modified: 2008-01-30 13:02 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 Benjamin Schindler 2007-11-10 12:10:44 UTC
I wanted to enable the old glibc libraries, because matlab does not like newer glibc. In order to make matlab (symbolic toolbox) work, I need a LD_ASSUME_KERNEL=2.4.1.

When installing glibc-2.6.1 with compat useflag enabled, I am not getting any compat-libraries besides libnss-compat. However, I need libdl, libc etc which are compatible with LD_ASSUME_KERNEL=2.4.1. When starting matlab with LD_ASS... set I get an error 
that libdl is not found

I grepped the ebuild for 2.6.1 and noted, that the if statement present in the 2.6 ebuild is gone in 2.6.1... has support been removed? 

io lib # eu-readelf -n /lib/libdl.so.2

Note segment of 32 bytes at offset 0x154:
  Owner          Data size  Type
  GNU                   16  VERSION
    OS: Linux, ABI: 2.6.9

This clearly is not compatible with LD_ASSUME_KERNEL=2.4.1 :)


Reproducible: Always




io lib # emerge --info
Portage 2.1.3.19 (default-linux/x86, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21.1 i686)
=================================================================
System uname: 2.6.21.1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Fri, 09 Nov 2007 08:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="confcache cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="de_CH.UTF-8"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx alsa asf bash-completion beagle berkdb bitmap-fonts bluetooth bzip2 cdparanoia cisco cli cracklib crypt curl dbus divx4linux dri dvd dvdread encode ethereal exif fam fortran gif gimpprint glitz gphoto2 graphviz gtk2 hal history iconv isdnlog java jpeg kde ldap mad madwifi mailwrapper mbox midi mmx mono mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf perl png pppd python qt3 qt3support qt4 readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xosd xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse synaptics keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-10 12:29:40 UTC

*** This bug has been marked as a duplicate of bug 149581 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-10 12:46:22 UTC
Not that one...
Comment 3 SpanKY gentoo-dev 2007-11-10 14:38:57 UTC

*** This bug has been marked as a duplicate of bug 183190 ***