public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41292]  New: Link error on Solaris 10 / GNU 3.4.2
@ 2009-09-07  6:36 vijay dot x dot jain at jpmchase dot com
  2009-09-07  7:00 ` [Bug c++/41292] " ebotcazou at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-07  6:36 UTC (permalink / raw)
  To: gcc-bugs

Reference bug # 15267 .
We are migrating from solaris 8 to solaris 10. On Solaris 10 we are getting
link error as mentioned in this bug #15267. Initially we were using ld 2.16. As
the fix for the link error below is available with ld 2.18, we installed 2.18
on our solaris 10 box. But we are still getting the same error.

Please note that the build is sucessful on solaris 8 box

Folllowing is the link command along with the error

  /3rdparty/fsf/gcc/4.3.2/bin/g++ -v -o qmhelpergen -std=gnu++98 -pedantic
-fPIC -Wall -Wno-format-y2k -Wno-long-long -Wno-write-strings -O2 -DGNU_GCC
-DACE54_CODE    -LBuildLibDir iqmhtmldocnode.o iqmhtmltoken.o iqmnodevisitor.o
tqmassignopcodevisitor.o tqmcodegenerator.o tqmcopyctorcodevisitor.o
tqmdeclarecodevisitor.o tqmdeeppostcodevisitor.o tqmdeepprecodevisitor.o
tqmdocfieldvisitor.o tqmgetsetcodevisitor.o tqmhtmldoctree.o tqmhtmlfile.o
tqmhtmlparameter.o tqmhtmltag.o tqmhtmltext.o tqmparsetree.o  qmversionlabel.o 
-Xlinker -Bstatic -ljpmutils -Xlinker -Bdynamic -lrwtool_mt7032
-L/vobs/odyssey/system/rogue7.0.3/sol2/lib 
-L/vobs/odyssey/system/persist3.656/dyn_pslibs
-L/vobs/odyssey/system/rogue7.0.3/sol2/lib -L/3rdparty/fsf/flex/2.5.4/lib
-L/3rdparty/sybase/ocs/12_5/OCS-12_5/lib -L/vobs/odyssey/system/gmc/lib
-L/vobs/odyssey/system/zlib/lib -L/vobs/odyssey/system/mimepp-1.3.1/rel 
-L/vobs/odyssey/system/ace5.5.1/install/lib -L/vobs/odyssey/shared/lib-public 
-L/vobs/odyssey/refdata/lib-public -L/vobs/odyssey/busutils/lib-public 
-L/vobs/odyssey/system/cel/sol2/lib    -L.

Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with:
/net/clpt-v490-1/export/data1/bldmstr/20090604_ceres_gcc432/src/configure
--prefix= --enable-shared --disable-static --with-system-zlib
--enable-checking=release --enable-languages=c,c++ --with-cpu=v9
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --disable-gnattools --enable-tls
--with-as=/usr/ccs/bin/as --without-gnu-as
Thread model: posix
gcc version 4.3.2 (20090604) (gccfss) (GCC)
COMPILER_PATH=/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../libexec/gcc/sparc-sun-solaris2.10/4.3.2/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../libexec/gcc/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../../SUNW0scgfss/4.3.2/prod/bin/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/SUNW0scgfss/4.3.2/prod/bin/:/usr/ccs/bin/
LIBRARY_PATH=/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/:/usr/ccs/lib/:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-Zsunir-backend' '-mcpu=v9' '-Zarch=v8plus'
'-Zarchm32=v8plus' '-Zarchm64=v9' '-xchip=generic' '-xcache=generic' '-v' '-o'
'qmhelpergen' '-std=gnu++98' '-pedantic' '-xcode=pic32' '-Wall'
'-Wno-format-y2k' '-Wno-long-long' '-Wno-write-strings' '-O2'
'-Zalias_level=basic' '-xprefetch=auto,explicit' '-xprefetch_level=2'
'-xdepend=yes' '-DGNU_GCC' '-DACE54_CODE' '-LBuildLibDir'
'-L/vobs/odyssey/system/rogue7.0.3/sol2/lib'
'-L/vobs/odyssey/system/persist3.656/dyn_pslibs'
'-L/vobs/odyssey/system/rogue7.0.3/sol2/lib' '-L/3rdparty/fsf/flex/2.5.4/lib'
'-L/3rdparty/sybase/ocs/12_5/OCS-12_5/lib' '-L/vobs/odyssey/system/gmc/lib'
'-L/vobs/odyssey/system/zlib/lib' '-L/vobs/odyssey/system/mimepp-1.3.1/rel'
'-L/vobs/odyssey/system/ace5.5.1/install/lib'
'-L/vobs/odyssey/shared/lib-public' '-L/vobs/odyssey/refdata/lib-public'
'-L/vobs/odyssey/busutils/lib-public' '-L/vobs/odyssey/system/cel/sol2/lib'
'-L.' '-umalloc' '-shared-libgcc'
COLLECT_GCC_OPTIONS='-Zsunir-backend' '-mcpu=v9' '-Zarch=v8plus'
'-Zarchm32=v8plus' '-Zarchm64=v9' '-xchip=generic' '-xcache=generic' '-v' '-o'
'qmhelpergen' '-std=gnu++98' '-pedantic' '-xcode=pic32' '-Wall'
'-Wno-format-y2k' '-Wno-long-long' '-Wno-write-strings' '-O2'
'-Zalias_level=basic' '-xprefetch=auto,explicit' '-xprefetch_level=2'
'-xdepend=yes' '-DGNU_GCC' '-DACE54_CODE' '-LBuildLibDir'
'-L/vobs/odyssey/system/rogue7.0.3/sol2/lib'
'-L/vobs/odyssey/system/persist3.656/dyn_pslibs'
'-L/vobs/odyssey/system/rogue7.0.3/sol2/lib' '-L/3rdparty/fsf/flex/2.5.4/lib'
'-L/3rdparty/sybase/ocs/12_5/OCS-12_5/lib' '-L/vobs/odyssey/system/gmc/lib'
'-L/vobs/odyssey/system/zlib/lib' '-L/vobs/odyssey/system/mimepp-1.3.1/rel'
'-L/vobs/odyssey/system/ace5.5.1/install/lib'
'-L/vobs/odyssey/shared/lib-public' '-L/vobs/odyssey/refdata/lib-public'
'-L/vobs/odyssey/busutils/lib-public' '-L/vobs/odyssey/system/cel/sol2/lib'
'-L.' '-umalloc' '-shared-libgcc'

/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../libexec/gcc/sparc-sun-solaris2.10/4.3.2/collect2
/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/crt1.o
/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/crti.o
/usr/ccs/lib/values-Xa.o
/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/crtbegin.o
-V -Y
P,/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/SUNW0scgfss/4.3.2/prod/lib/v8plus:/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/SUNW0scgfss/4.3.2/prod/lib:/usr/ccs/lib:/usr/lib
-R /sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/ -Qy -o qmhelpergen
-umalloc -LBuildLibDir -L/vobs/odyssey/system/rogue7.0.3/sol2/lib
-L/vobs/odyssey/system/persist3.656/dyn_pslibs
-L/vobs/odyssey/system/rogue7.0.3/sol2/lib -L/3rdparty/fsf/flex/2.5.4/lib
-L/3rdparty/sybase/ocs/12_5/OCS-12_5/lib -L/vobs/odyssey/system/gmc/lib
-L/vobs/odyssey/system/zlib/lib -L/vobs/odyssey/system/mimepp-1.3.1/rel
-L/vobs/odyssey/system/ace5.5.1/install/lib -L/vobs/odyssey/shared/lib-public
-L/vobs/odyssey/refdata/lib-public -L/vobs/odyssey/busutils/lib-public
-L/vobs/odyssey/system/cel/sol2/lib -L.
-L/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2
-L/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc
-L/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib
-L/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2
-L/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc -L/usr/ccs/lib
-L/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/../../..
iqmhtmldocnode.o iqmhtmltoken.o iqmnodevisitor.o tqmassignopcodevisitor.o
tqmcodegenerator.o tqmcopyctorcodevisitor.o tqmdeclarecodevisitor.o
tqmdeeppostcodevisitor.o tqmdeepprecodevisitor.o tqmdocfieldvisitor.o
tqmgetsetcodevisitor.o tqmhtmldoctree.o tqmhtmlfile.o tqmhtmlparameter.o
tqmhtmltag.o tqmhtmltext.o tqmparsetree.o qmversionlabel.o -Bstatic -ljpmutils
-Bdynamic -lrwtool_mt7032 -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -lc
-zld32=-S/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/SUNW0scgfss/4.3.2/prod/lib/libld_annotate.so
-zld64=-S/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/SUNW0scgfss/4.3.2/prod/lib/v9/libld_annotate.so
/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/crtend.o
/sts/dev-dom/3rdparty/fsf/gcc/4.3.2/gcc/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.2/crtn.o
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.482
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d4a7b is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4b3d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4b59 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4d19 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4d51 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4d6d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4e4d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4e69 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4ed9 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4ef5 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d4ff1 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d500d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d5029 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d5045 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d5061 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d507d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d5099 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfd8d50b5 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d50d3 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d5109 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d5125 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d5141 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d515d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d5179 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d5195 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d51b1 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfd8d51cd is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d51eb is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfd8d5221 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfd8d523d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfd8d5291 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfd8d52ad is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfd8d52c9 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfd8d52e5 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d5303 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d531d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d5339 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d5371 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d538d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d53c5 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d53e1 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d53fd is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfd8d5419 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebase.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d5437 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebase.o): symbol <unknown>:
offset 0xfd8d554d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d556b is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfd8d5585 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfd8d55a1 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfd8d55bd is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfd8d55d9 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol
DW.ref.__gxx_personality_v0: offset 0xfd8d55f7 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfd8d5611 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfd8d562d is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfd8d5665 is non-aligned
ld: fatal: relocation error: R_SPARC_DISP32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfd8d5681 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07ec7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07f25 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07f42 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07f5a is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07f77 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07f89 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07f9b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07fae is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07fc1 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb07fed is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb08005 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebase.o): symbol <unknown>:
offset 0xfdb08029 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfdb08fc7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfdb09025 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfdb09037 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(ttimebaseio.o): symbol <unknown>:
offset 0xfdb09047 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb0983b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb09899 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb098b1 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb098c3 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb098d5 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb09901 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb09919 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tintervalfixed.o): symbol
<unknown>: offset 0xfdb0993d is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfdb0a025 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfdb0a083 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfdb0a09d is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfdb0a0b2 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdate.o): symbol <unknown>:
offset 0xfdb0a0d6 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebase.o): symbol <unknown>:
offset 0xfdb0a7a5 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfdb0af0f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfdb0af21 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tdatebaseio.o): symbol <unknown>:
offset 0xfdb0af31 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfdb0b73e is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfdb0b7ae is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
/vobs/odyssey/shared/lib-public/libjpmutils.a(tinterval.o): symbol <unknown>:
offset 0xfdb0b85f is non-aligned
collect2: ld returned 1 exit status


-- 
           Summary: Link error on Solaris 10 / GNU 3.4.2
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vijay dot x dot jain at jpmchase dot com
  GCC host triplet: SunOS 5.10 Generic_125100-04 sun4us sparc FJSV,GPUZC-M


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41292


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/41292] Link error on Solaris 10 / GNU 3.4.2
  2009-09-07  6:36 [Bug c++/41292] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
@ 2009-09-07  7:00 ` ebotcazou at gcc dot gnu dot org
  2009-09-07  7:35 ` vijay dot x dot jain at jpmchase dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-09-07  7:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2009-09-07 07:00 -------
> We are migrating from solaris 8 to solaris 10. On Solaris 10 we are getting
> link error as mentioned in this bug #15267. Initially we were using ld 2.16.
> As the fix for the link error below is available with ld 2.18, we installed
> 2.18 on our solaris 10 box. But we are still getting the same error.

Your compiler is not configured to use GNU binutils:

/net/clpt-v490-1/export/data1/bldmstr/20090604_ceres_gcc432/src/configure
--prefix= --enable-shared --disable-static --with-system-zlib
--enable-checking=release --enable-languages=c,c++ --with-cpu=v9
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --disable-gnattools --enable-tls
--with-as=/usr/ccs/bin/as --without-gnu-as

so you need to use the system as/ld instead or reconfigure and rebuild it.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41292


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/41292] Link error on Solaris 10 / GNU 3.4.2
  2009-09-07  6:36 [Bug c++/41292] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
  2009-09-07  7:00 ` [Bug c++/41292] " ebotcazou at gcc dot gnu dot org
@ 2009-09-07  7:35 ` vijay dot x dot jain at jpmchase dot com
  2009-09-07  7:58 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vijay dot x dot jain at jpmchase dot com @ 2009-09-07  7:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from vijay dot x dot jain at jpmchase dot com  2009-09-07 07:34 -------
I have set my PATH such that path for ld preceds from binutils.
So my understanding was ld will be picked from binutils.

As suggested by you I then set my PATH precedence to /usr/ccs/bin
even then I am getting the same error. 

Could you please help me on this?
I have stuck on this error for a long time.
We are using precompiled version of gcc 4.3.2. Is there a way where by we can
change path for ld to bin utils? or reconfiguration and rebuild is the only
option to set the path for ld?


-- 

vijay dot x dot jain at jpmchase dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41292


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/41292] Link error on Solaris 10 / GNU 3.4.2
  2009-09-07  6:36 [Bug c++/41292] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
  2009-09-07  7:00 ` [Bug c++/41292] " ebotcazou at gcc dot gnu dot org
  2009-09-07  7:35 ` vijay dot x dot jain at jpmchase dot com
@ 2009-09-07  7:58 ` ebotcazou at gcc dot gnu dot org
  2009-09-08  7:03 ` ebotcazou at gcc dot gnu dot org
  2009-09-11  5:41 ` [Bug other/41292] Link error on Solaris 10 / GCC 3.4.2 ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-09-07  7:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2009-09-07 07:58 -------
> As suggested by you I then set my PATH precedence to /usr/ccs/bin
> even then I am getting the same error. 

Please verify with '-v' which 'as' is really used to assemble the problematic
files (ttimebase.o, intervalfixed.o and so on).

> We are using precompiled version of gcc 4.3.2. Is there a way where by we can
> change path for ld to bin utils? or reconfiguration and rebuild is the only
> option to set the path for ld?

This compiler was configured --without-gnu-as --without-gnu-ld so it cannot use
GNU binutils, only the system as/ld.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41292


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/41292] Link error on Solaris 10 / GNU 3.4.2
  2009-09-07  6:36 [Bug c++/41292] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (2 preceding siblings ...)
  2009-09-07  7:58 ` ebotcazou at gcc dot gnu dot org
@ 2009-09-08  7:03 ` ebotcazou at gcc dot gnu dot org
  2009-09-11  5:41 ` [Bug other/41292] Link error on Solaris 10 / GCC 3.4.2 ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-09-08  7:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41292


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/41292] Link error on Solaris 10 / GCC 3.4.2
  2009-09-07  6:36 [Bug c++/41292] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
                   ` (3 preceding siblings ...)
  2009-09-08  7:03 ` ebotcazou at gcc dot gnu dot org
@ 2009-09-11  5:41 ` ebotcazou at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-09-11  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-09-11 05:41 -------
Not a compiler issue.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
          Component|c++                         |other
         Resolution|                            |INVALID
            Summary|Link error on Solaris 10 /  |Link error on Solaris 10 /
                   |GNU 3.4.2                   |GCC 3.4.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41292


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-11  5:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-07  6:36 [Bug c++/41292] New: Link error on Solaris 10 / GNU 3.4.2 vijay dot x dot jain at jpmchase dot com
2009-09-07  7:00 ` [Bug c++/41292] " ebotcazou at gcc dot gnu dot org
2009-09-07  7:35 ` vijay dot x dot jain at jpmchase dot com
2009-09-07  7:58 ` ebotcazou at gcc dot gnu dot org
2009-09-08  7:03 ` ebotcazou at gcc dot gnu dot org
2009-09-11  5:41 ` [Bug other/41292] Link error on Solaris 10 / GCC 3.4.2 ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).