Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146035 - A(nother) warning is needed for glibc-2.4
Summary: A(nother) warning is needed for glibc-2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 12:51 UTC by Jeffrey Gardner (RETIRED)
Modified: 2006-09-29 14:40 UTC (History)
0 users

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


Attachments
Patch to warn users that nptlonly will break Matlab et al. (glibc-2.4-r3-warning.patch,553 bytes, patch)
2006-09-02 12:53 UTC, Jeffrey Gardner (RETIRED)
Details | Diff
warning patch (temp.txt,548 bytes, patch)
2006-09-03 18:05 UTC, Jeffrey Gardner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Gardner (RETIRED) gentoo-dev 2006-09-02 12:51:37 UTC
I think another warning is appropriate for users (who don't have access to the no-nptl profile like amd64) to recieve a warning that glibc-2.4 will break compatability with a lot of binary-only commercial software. Something small and simple like the attached patch.
Comment 1 Jeffrey Gardner (RETIRED) gentoo-dev 2006-09-02 12:53:43 UTC
Created attachment 95781 [details, diff]
Patch to warn users that nptlonly will break Matlab et al.
Comment 2 SpanKY gentoo-dev 2006-09-02 12:57:33 UTC
nptl and linuxthreads should be binary compatible
Comment 3 Jeffrey Gardner (RETIRED) gentoo-dev 2006-09-03 13:03:00 UTC
Okay, I can confirm that Matlab 7.0.4.352 (R14) works with the new glibc.
I've set up a chroot and I'm installing my binary packages there for testing....
Comment 4 Jeffrey Gardner (RETIRED) gentoo-dev 2006-09-03 17:00:57 UTC
Hello again SpanKY, it looks like the issue we faced in:
http://bugs.gentoo.org/show_bug.cgi?id=138028

Basically "a program that I use for work fails to run with the new glibc-2.4 (I suspect this is the case for a lot of other people who rely on old binary programs for work.)"

Here's some info that (I think) helped trace the problem last time. This is from a chrooted 32bit environment.
It looks like it might work if you apply the same magic that you did last time :D
Wave your magic wand!!!!


user% file insightII 
insightII: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped


user% ./insightII 
./insightII: relocation error: /usr/accelrys/I2005/Linux_2_Intel_32/biosymso/libcblib.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference


 user% ldd insightII 
        linux-gate.so.1 =>  (0xffffe000)
        ...............................................
.................
        libXm.so.2 => /usr/lib/lesstif-2.1/libXm.so.2 (0xf1b6e000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xf1b2e000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xf1b27000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xf1b1c000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf1a51000)
        libGL.so.1 => //usr//lib/opengl/xorg-x11/lib/libGL.so.1 (0xf1a01000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf1997000)
        libm.so.6 => /lib/libm.so.6 (0xf196f000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0xf191b000)
        libc.so.6 => /lib/libc.so.6 (0xf17dd000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf17c8000)
        libdl.so.2 => /lib/libdl.so.2 (0xf17c4000)
        libgcc_s.so.1 => /usr/accelrys/I2005/Linux_2_Intel_32/biosymso/libgcc_s.so.1 (0xf17b9000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xf17b0000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xf179d000)
        libXp.so.6 => /usr/lib/libXp.so.6 (0xf1796000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf1793000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf178e000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf1789000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf1783000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6 (0xf16a2000)
        /lib/ld-linux.so.2 (0xf7fba000)

user% strings /usr/accelrys/I2005/Linux_2_Intel_32/biosymso/libcblib.so | grep GLIBC
GLIBC_2.1
GLIBC_2.0
GLIBC_2.1.3
GLIBC_2.2.3


user% strings /lib/libc.so.6 | grep GLIBC
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_PRIVATE


objdump -x /lib/libc.so.6
/lib/libc.so.6:     file format elf32-i386
/lib/libc.so.6
architecture: i386, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x00015a10
...
...
Version definitions:
1 0x01 0x0865f4e6 libc.so.6
2 0x00 0x0d696910 GLIBC_2.0
3 0x00 0x0d696911 GLIBC_2.1



Last but not least...

Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -pipe -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa avi berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbus dga directfb divx4linux dlloader dri dvd dvdr dvdread emboss encode esd fam fat ffmpeg fftw firefox flac fontconfig foomaticdb fortran gdbm gif glibc-omitfp gnome gs gstreamer gtk gtk2 hal hfs imagemagick isdnlog java jfs jpeg jpg kde ldap lesstif libg++ logitech-mouse mad maildir matroska mikmod mozcalendar moznocompose moznomail mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis opengl oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt4 quicktime rar readline reflection reiser4 sdl session spell spl ssl startup-notification subtitles svg svga sysfs tcl tcltk tcp tcpd theora threads tiff tk toolbar truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd video_cards_nvidia vorbis wifi win32codecs wma wmf xfs xinetd xml xorg xscreensaver xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev input_devices_vmmouse kernel_linux linguas_en userland_GNU video_cards_apm video_cards_chips video_cards_fbdev video_cards_v4l video_cards_v4l2 video_cards_fglrx video_cards_i740 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_r128 video_cards_radeon video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_trident video_cards_vesa video_cards_vga video_cards_via video_cards_voodoo video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Jeffrey Gardner (RETIRED) gentoo-dev 2006-09-03 18:05:09 UTC
Created attachment 95904 [details, diff]
warning patch

Removed matlab since it works.
Comment 6 SpanKY gentoo-dev 2006-09-29 14:40:15 UTC
thanks, added to cvs