Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125133 - [3.x/build] libgcc_s.so symlink missing in 32bit dir of gcc install
Summary: [3.x/build] libgcc_s.so symlink missing in 32bit dir of gcc install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR19525
Whiteboard:
Keywords:
Depends on:
Blocks: 124816
  Show dependency tree
 
Reported: 2006-03-05 13:42 UTC by Simon Stelling (RETIRED)
Modified: 2007-02-19 23:22 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 Simon Stelling (RETIRED) gentoo-dev 2006-03-05 13:42:09 UTC
not sure why it fails, -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32 is set:

/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wall -Wno-unused -O2 -pipe   -o libpoppler.la -rpath /usr/lib32  SplashOutputDev.lo    FlateStream.lo Annot.lo Array.lo BuiltinFont.lo BuiltinFontTables.lo Catalog.lo CharCodeToUnicode.lo CMap.lo Decrypt.lo Dict.lo Error.lo FontEncodingTables.lo FontInfo.lo Function.lo Gfx.lo GfxFont.lo GfxState.lo GlobalParams.lo JArithmeticDecoder.lo JBIG2Stream.lo JPXStream.lo Lexer.lo Link.lo NameToCharCode.lo Object.lo Outline.lo OutputDev.lo Page.lo Parser.lo PDFDoc.lo PDFDocEncoding.lo ProfileData.lo PSTokenizer.lo Stream.lo UnicodeMap.lo UnicodeTypeTable.lo XRef.lo PSOutputDev.lo TextOutputDev.lo PageLabelInfo.lo SecurityHandler.lo XpdfPluginAPI.lo ../goo/libgoo.la ../fofi/libfofi.la -L/usr/lib32 -lfontconfig   ../splash/libsplash.la    -lz -L/usr/lib32 -lfreetype -lz   -lz
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib32/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/crtbeginS.o  .libs/SplashOutputDev.o .libs/FlateStream.o .libs/Annot.o .libs/Array.o .libs/BuiltinFont.o .libs/BuiltinFontTables.o .libs/Catalog.o .libs/CharCodeToUnicode.o .libs/CMap.o .libs/Decrypt.o .libs/Dict.o .libs/Error.o .libs/FontEncodingTables.o .libs/FontInfo.o .libs/Function.o .libs/Gfx.o .libs/GfxFont.o .libs/GfxState.o .libs/GlobalParams.o .libs/JArithmeticDecoder.o .libs/JBIG2Stream.o .libs/JPXStream.o .libs/Lexer.o .libs/Link.o .libs/NameToCharCode.o .libs/Object.o .libs/Outline.o .libs/OutputDev.o .libs/Page.o .libs/Parser.o .libs/PDFDoc.o .libs/PDFDocEncoding.o .libs/ProfileData.o .libs/PSTokenizer.o .libs/Stream.o .libs/UnicodeMap.o .libs/UnicodeTypeTable.o .libs/XRef.o .libs/PSOutputDev.o .libs/TextOutputDev.o .libs/PageLabelInfo.o .libs/SecurityHandler.o .libs/XpdfPluginAPI.o -Wl,--whole-archive ../goo/.libs/libgoo.a ../fofi/.libs/libfofi.a ../splash/.libs/libsplash.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -Wl,--rpath -Wl,/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib32 /usr/lib32/libfontconfig.so -lgcc_s /usr/lib32/libfreetype.so -lz -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib32 -L/usr/lib/../lib32 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so -lm -lc -lgcc_s_32 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib32/crtn.o  -Wl,-soname -Wl,libpoppler.so.0 -o .libs/libpoppler.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libgcc_s.so when searching for -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libgcc_s.so when searching for -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libgcc_s.so when searching for -lgcc_s
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[3]: *** [libpoppler.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/poppler-0.5.0-r4/work/poppler-0.5.0/poppler'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/poppler-0.5.0-r4/work/poppler-0.5.0/poppler'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/poppler-0.5.0-r4/work/poppler-0.5.0'
make: *** [all] Error 2

!!! ERROR: app-text/poppler-0.5.0-r4 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! compilation failed

# file /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/libgcc_s.so.1
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-03-09 10:22:21 UTC
okay, this one was fairly easy ;)

blubb@aqua /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 $ ls libgcc_s.so*
libgcc_s.so  libgcc_s.so.1
blubb@aqua /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 $ ls 32/libgcc_s.so*
32/libgcc_s.so.1

for some reason the symlink is missing. a 'libgcc_s_32.so' link is there though...
Comment 2 SpanKY gentoo-dev 2006-03-27 21:30:14 UTC
gcc-4.x seems to work just fine
Comment 3 SpanKY gentoo-dev 2006-04-28 23:31:36 UTC
looks like we want to back port this fix:
http://gcc.gnu.org/viewcvs?rev=95277&view=rev
http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00653.html
http://gcc.gnu.org/PR19525

gcc-4.0+ include this change
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-05-26 21:20:12 UTC
Backporting that patch isn't terribly simple.  It looks like it requires some other fixes that went in prior to it.  If 4.1.1 does what you need, can we just use that instead? :)
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-07-20 08:26:30 UTC
LATER
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2007-02-19 23:21:40 UTC
reopen to change resolution
Comment 7 Simon Stelling (RETIRED) gentoo-dev 2007-02-19 23:22:12 UTC
fixed in 4.1.1