Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80467 - gcc-3.4.3-r1/ia64 installs some shared libraries in /usr/lib/gcc/ia64-unknown-linux-gnu/3.4.4/
Summary: gcc-3.4.3-r1/ia64 installs some shared libraries in /usr/lib/gcc/ia64-unknown...
Status: RESOLVED DUPLICATE of bug 80434
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: IA64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 07:29 UTC by Henrik Grubbström
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Henrik Grubbström 2005-02-02 07:29:25 UTC
gcc-3.4.3-r1 installes some shared objects in /usr/lib/gcc/ia64-unknown-linux-gnu/3.4.4/:

$ ls /usr/lib/gcc/ia64-unknown-linux-gnu/3.4.4/
crtbegin.o     include        libgcc_s.so.1  libstdc++.so.6      libunwind.so
crtbeginS.o    install-tools  libgcov.a      libstdc++.so.6.0.3  libunwind.so.7
crtend.o       libgcc.a       libstdc++.a    libsupc++.a         specs
crtendS.o      libgcc_eh.a    libstdc++.la   libsupc++.la
crtfastmath.o  libgcc_s.so    libstdc++.so   libunwind.a
$ qpkg -I -v -f /usr/lib/gcc/ia64-unknown-linux-gnu/3.4.4/libunwind.so
sys-devel/gcc-3.4.3-r1 *

This is not a good idea, since it doesn't add the corresponding path to /etc/env.d/ so several binaries fail on load:

$ /bin/tar
/bin/tar: error while loading shared libraries: libunwind.so.7: cannot open shared object file: No such file or directory
$ ldd /bin/tar
        linux-gate.so.1 =>  (0xa000000000000000)
        librt.so.1 => /lib/tls/librt.so.1 (0x2000000000044000)
        libunwind.so.7 => not found
        libc.so.6.1 => /lib/tls/libc.so.6.1 (0x2000000000064000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x2000000000288000)
        /lib/ld-linux-ia64.so.2 (0x2000000000000000)

In addition it's confusing to have stuff belonging to 3.4.3 in a directory called 3.4.4.


Reproducible: Always
Steps to Reproduce:
1. emerge gcc-3.4.3-r1 on an ia64 system.
2. try to use something that needs libunwind.so.7


Actual Results:  
See above.

Expected Results:  
ld.so should have found libunwind.so.7.

# emerge info
Portage 2.0.51-r15 (default-linux/ia64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r3 ia64)
=================================================================
System uname: 2.6.8-gentoo-r3 ia64 
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 29 2004, 11:29:43)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.4, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.14.90.0.8-r1, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="ia64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="C"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi berkdb bitmap-fonts bzlib canna cjk crypt cups emacs encode f77
font-server foomaticdb fortran freetds gdbm gif gmp gnutls gpm gtk gtk2 ia64
imlib ipv6 jpeg libg++ libwww maildir mbox mhash mikmod mime motif mozilla mule
mysql mysqli ncurses nis nls nptl odbc offensive oggvorbis opengl oss pam pcre
pdflib perl pic pie png posix python qt quicktime readline recode samba sdl
spell sqlite ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode
xml2 xmms xpm xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS
Comment 1 Roland Bär 2005-02-02 07:36:11 UTC
Douplicate of Bug #80434
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-02 08:19:11 UTC

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