Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52812 - gcc-3.4.0-r6 missing link to libgcc_s
Summary: gcc-3.4.0-r6 missing link to libgcc_s
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 13:37 UTC by Philippe Trottier (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
2 users (show)

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


Attachments
Fixes a library that is not found under ppc64 (gcc-3.4.0-r6.ebuild.diff,764 bytes, patch)
2004-06-02 14:10 UTC, Philippe Trottier (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Trottier (RETIRED) gentoo-dev 2004-06-02 13:37:42 UTC
the gcc-3.4.0-r6 doesn't always make the libgcc_s available in /usr/lib but keep it for itself in /usr/lib/gcc-lib/powerpc64-unknown-linux-gnu/lib64/libgcc_s.so and libgcc_s.so.1


this is fixing the problem:
cd /usr/lib
ln -sf gcc-lib/powerpc64-unknown-linux-gnu/lib64/libgcc_s.so{,.1}

so far this is the only library I have found missing...

===========================================

Sometimes ebuild emerge stop working and look for libgcc_s.so

===========================================
ranlib ../lib/libncurses++.a
/usr/lib/ccache/bin/g++  -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform -lmenu -lpanel -lncurses -Wl,-rpath,/var/tmp/portage/ncurses-5.4-r1/work/ncurses-5.4/lib  -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -fPIC -fPIC 
/usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[1]: *** [demo] Error 1
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r1/work/ncurses-5.4/c++'
make: *** [all] Error 2

!!! ERROR: sys-libs/ncurses-5.4-r1 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! make failed


catalyst: build script failed

catalyst: Stage build aborting due to error.
Comment 1 Philippe Trottier (RETIRED) gentoo-dev 2004-06-02 14:10:02 UTC
Created attachment 32545 [details, diff]
Fixes a library that is not found under ppc64
Comment 2 Philippe Trottier (RETIRED) gentoo-dev 2004-06-02 14:11:10 UTC
Found the bug, thanks to lv
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-06-02 14:21:32 UTC
glad to be of assistance :)
the fix has been added to CVS, give it some time to reach rsync
Comment 4 Tom Gall (RETIRED) gentoo-dev 2004-06-03 21:19:50 UTC
closing ... tested and works