Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 60911

Summary: libgcc_s.so is part of gcc
Product: Gentoo Linux Reporter: Christian Zoffoli (RETIRED) <xmerlin>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: embedded
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 6093, 54363, 60190    
Bug Blocks:    
Attachments: fixes the rdepend in uclibc

Description Christian Zoffoli (RETIRED) gentoo-dev 2004-08-19 11:14:37 UTC
rdepend is not correctly setted ...please correct them it's important to have the right dependencies (in particular on a embedded-uclibc env)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.8-rc2)
=================================================================
System uname: 2.6.8-rc2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb cdr crypt cups dlz dvd encode esd
fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde kerberos ldap
libg++ libwww lzw mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis
opendlm opengl oss pam pdflib perl png postgres python qmail qt quicktime
readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff tinydyndns
truetype virus-scan x86 xml xml2 xmms xv zlib"
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-19 11:15:07 UTC
Created attachment 37743 [details, diff]
fixes the rdepend in uclibc
Comment 2 solar (RETIRED) gentoo-dev 2004-08-19 12:40:54 UTC
Thank you for reporting this one.
0.9.26-r{1,2,3,4,5} have been updated.

Just a tip/note..
You will get better results for embedded envionments with a portage-2.0.51-preX revision vs the .50 stuff.

My guess from looking at your CHOST="i686-pc-linux-gnu" is your not exactly using an embedded-uclibc env.
Comment 3 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-19 13:08:34 UTC
thanks for the tip on portage.

in the next weeks you'll see better CHOSTs :-) via C3, geode old pentiums and ...my zaurus :)

Comment 4 SpanKY gentoo-dev 2004-08-19 14:03:22 UTC
bad solar, you cant do that

gcc installs libgcc_s.so which as you may remember, is *quite* critical to a healthy embedded system
Comment 5 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-19 14:14:38 UTC
but ...correct me if I'm wrong ...I can't see a uclibc file linked with  libgcc_s.so 
Comment 6 solar (RETIRED) gentoo-dev 2004-08-19 14:23:42 UTC
bad solar.. 
Ok he is right. we need libgcc_s for some arches.. 
Lets start a list here?

ARCH = arm (needs libgcc_s)
ARCH = x86 ( can be "" )
OTHERS ?
Comment 7 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-19 14:30:25 UTC
Is there a way to install only the need files of the gcc package? ...and is there a way to prevend header installs (/usr/include/* etc) ?
Comment 8 SpanKY gentoo-dev 2004-08-19 15:03:46 UTC
ia64 needs it sometimes

perhaps we should break out the shared libraries like libstdc++ ?
Comment 9 solar (RETIRED) gentoo-dev 2004-08-19 15:25:11 UTC
Re: comment #7
Perhaps of some use to you.
http://marc.theaimsgroup.com/?l=gentoo-embedded&m=109087569529731&w=2

Re: comment #8
Thats the ideal solution. But how to make gcc behave as a metapkg?
Comment 10 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 14:54:22 UTC
The original issue has been fixed.  

Making gcc behave as a metapkg is an entirely different issue that we could
address at some point, but I don't think there is any interest currently since
this bug has not been untouched for some time.