[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#205548: gcc-3.3: linking fails for large shared libaries



Is oo built with the jdk1.4?

ld is not stripped, so you could get a stacktrace.


Jim Watson writes:
> Package: gcc-3.3
> Version: 1:3.3.1-1
> Severity: important
> 
> 
> 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: sparc
> Kernel: Linux sun 2.4.18 #1 SMP Mon Jan 27 14:07:39 EST 2003 sparc64
> Locale: LANG=C, LC_CTYPE=en_US.UTF-8
> 
> Versions of packages gcc-3.3 depends on:
> ii  binutils                 2.14.90.0.5-0.2 The GNU assembler, linker and bina
> ii  cpp-3.3                  1:3.3.1-1       The GNU C preprocessor
> ii  gcc-3.3-base             1:3.3.1-1       The GNU Compiler Collection (base 
> ii  libc6                    2.3.2-2         GNU C Library: Shared libraries an
> ii  libgcc1                  1:3.3.1-1       GCC support library
> 
> -- debconf information excluded
> (a) linking large modules fails with gcc-3.3.1.
> collect2: ld terminated with signal 11 [Segmentation fault]
> 
> in openoffice sparc linux this problem is only with large modules
> dbaccess, sd, sw, sc
> 
> (b) the same files will link OK using gcc-3.2.3
> 
> (c) for gcc-3.3.1 the same files will link OK using -Wl,--export-dynamic
> 
> (d) from sc/util/makefile.mk might be relevant??
> .IF "$(COM)"=="ICC"
> LINKFLAGS+=/SEGMENTS:512 /PACKD:32768
> .ENDIF
> .IF "$(OS)"=="IRIX"
> LINKFLAGS+=-Wl,-LD_LAYOUT:lgot_buffer=30
> .ENDIF
> 
> (f) the build log
> Making: ../unxlngs.pro/lib/libsc645ls.so
> gcc -c -fPIC -o ../unxlngs.pro/slo/sc_dflt_version.o -DUNX
> -I../unxlngs.pro/inc /usr/local/oo_src/solenv/src/version.c
> gcc -z combreloc -shared -Wl,--version-script
> ../unxlngs.pro/misc/sc_sc645ls.map -L../unxlngs.pro/lib -L../lib
> -L/usr/local/oo_src/solenv/unxlngs/lib
> -L/usr/local/oo_src/solver/645/unxlngs.pro/lib
> -L/usr/local/oo_src/solenv/unxlngs/lib -L/usr/local/j2sdk1.4.1/lib
> -L/usr/local/j2sdk1.4.1/jre/lib/sparc
> -L/usr/local/j2sdk1.4.1/jre/lib/sparc/client
> -L/usr/local/j2sdk1.4.1/jre/lib/sparc/native_threads -L/usr/X11R6/lib
> ../unxlngs.pro/slo/sc_dflt_version.o
> ../unxlngs.pro/slo/sc_dflt_description.o -o ../unxlngs.pro/lib/libsc645ls.so
> 
> <snip> ~400 --.o files </snip>
> 
> ../unxlngs.pro/slo/fapihelper.o ../unxlngs.pro/slo/scflt.o
> ../unxlngs.pro/slo/scfobj.o -lysch -lsb645ls -lsfx645ls -lso645ls -lsvt645ls
> -lsvl645ls -lsvx645ls -lgo645ls -lofa645ls -lvcl645ls -lcppu
> -lcppuhelpergcc3 -lcomphelp3gcc3 -lucbhelper2gcc3 -ltk645ls -lvos3gcc3 -lsal
> -ltl645ls -lutl645ls -lsot645ls -lxo645ls -ldbtools2 -ldl -lpthread -lm
> -Wl,-Bdynamic -lstlport_gcc -lstdc++
> collect2: ld terminated with signal 11 [Segmentation fault]



Reply to: