Issue 18250 - sparc linux linking large modules dbaccess, sd, sc, sw
Summary: sparc linux linking large modules dbaccess, sd, sc, sw
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: Other Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Martin Hollmichel
QA Contact: issues@porting
URL:
Keywords:
Depends on: 15352
Blocks: 15502
  Show dependency tree
 
Reported: 2003-08-15 11:38 UTC by sparcmoz
Modified: 2003-09-30 22:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2003-08-15 11:38:13 UTC
i have filed this as debian Bug#205548

linking fails on large modules dbaccess, sd, sc, sw

(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]
Comment 1 sparcmoz 2003-08-15 11:39:30 UTC
these issues have related linking probelms
Comment 2 sparcmoz 2003-08-15 11:44:41 UTC
related linking issue (correction)
Comment 3 sparcmoz 2003-09-30 22:18:17 UTC
debian has fixed this bug
Comment 4 sparcmoz 2003-09-30 22:19:22 UTC
closed