public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17348] New: Can't link 64-bit executable on Solaris 8
@ 2004-09-07 15:19 work at paul dot dubuc dot org
2004-09-07 15:21 ` [Bug c++/17348] " work at paul dot dubuc dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: work at paul dot dubuc dot org @ 2004-09-07 15:19 UTC (permalink / raw)
To: gcc-bugs
Using g++ 3.3.1 (same results with 3.3.4) and binutils 2.14:
Configured with: ../gcc-3.3.1/configure --prefix=/vol/gnu/gcc-3.3.1
--enable-shared --enable-threads --enable-cpp --enable-languages=c++
--with-gnu-as --with-as=/vol/gnu/gcc-3.3.1/bin/as --with-gnu-ld
--with-ld=/vol/gnu/gcc-3.3.1/bin/ld --host=sparc-sun-solaris2.8
Thread model: posix
gcc version 3.3.1
we get many errors like the following when trying to link an executable (all
libraries and .o files have been built 64-bit (-m64 option):
/vol/gnu/gcc-3.3.1/bin/g++ -m64 -o /vobs/toe/local/bin/sun5g/toe
sun5g/VersionInfo.o sun5g/toe.o /vobs/toe/src/lib/*/sun5g/*.o
/vobs/is_foundations/snacc/lib/sun5g/obj/*.o
/vobs/is_foundations/vendor/zregx/zregx-2.1a/objs/*.o -O2 -Xlinker -E -lpthread
-lposix4 -liberty -ldl -lnsl -lsocket -lstdc++ -R/usr/local/lib/gcc-3.3.1/sparcv9
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x128):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:41:
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZN9TOEStringD1Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x148):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:42:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr7xstringINS_12var_char_bufILm32EcSt11char_traitsIcESaIcEEEED2Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x168):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:35:
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZN9TOEStringD0Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x188):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:36:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr12var_char_bufILm32EcSt11char_traitsIcESaIcEED2Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x1a8):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:36:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr12var_char_bufILm32EcSt11char_traitsIcESaIcEE17release_resourcesEv
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x1c8):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:36:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr7xstringINS_12var_char_bufILm32EcSt11char_traitsIcESaIcEEEED1Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x1e8):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:37:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr7xstringINS_12var_char_bufILm32EcSt11char_traitsIcESaIcEEEED0Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x208):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:40:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr12var_char_bufILm32EcSt11char_traitsIcESaIcEED1Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacet.o(.eh_frame+0x228):/vobs/toe/src/lib/cfg/TOECfgFacet.cc:40:
relocation truncated to fit: R_SPARC_DISP32
.gnu.linkonce.t._ZN4xstr12var_char_bufILm32EcSt11char_traitsIcESaIcEED0Ev
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacility.o(.eh_frame+0x308):/vol/gnu/gcc-3.3.1/include/c++/3.3.1/ext/stl_hashtable.h:898:
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZN9TOEStringC1ERKSs
/vobs/toe/src/lib/cfg/sun5g/TOECfgFacility.o(.eh_frame+0x328):/vobs/toe/src/lib/cfg/TOECfgFacility.cc:52:
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZN9TOEStringD1Ev
...
--
Summary: Can't link 64-bit executable on Solaris 8
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: work at paul dot dubuc dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17348
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/17348] Can't link 64-bit executable on Solaris 8
2004-09-07 15:19 [Bug c++/17348] New: Can't link 64-bit executable on Solaris 8 work at paul dot dubuc dot org
@ 2004-09-07 15:21 ` work at paul dot dubuc dot org
2004-09-07 16:51 ` [Bug target/17348] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: work at paul dot dubuc dot org @ 2004-09-07 15:21 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |work at paul dot dubuc dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17348
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17348] Can't link 64-bit executable on Solaris 8
2004-09-07 15:19 [Bug c++/17348] New: Can't link 64-bit executable on Solaris 8 work at paul dot dubuc dot org
2004-09-07 15:21 ` [Bug c++/17348] " work at paul dot dubuc dot org
@ 2004-09-07 16:51 ` pinskia at gcc dot gnu dot org
2004-09-09 18:37 ` work at paul dot dubuc dot org
2004-09-10 5:11 ` ebotcazou at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-07 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-07 16:51 -------
Are you sure that binutils 2.14 is being used as there was a ld bug which had the same symptom, see
PR 7506. Also most likely this is not a GCC bug at all but a binutils one.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Component|c++ |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17348
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17348] Can't link 64-bit executable on Solaris 8
2004-09-07 15:19 [Bug c++/17348] New: Can't link 64-bit executable on Solaris 8 work at paul dot dubuc dot org
2004-09-07 15:21 ` [Bug c++/17348] " work at paul dot dubuc dot org
2004-09-07 16:51 ` [Bug target/17348] " pinskia at gcc dot gnu dot org
@ 2004-09-09 18:37 ` work at paul dot dubuc dot org
2004-09-10 5:11 ` ebotcazou at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: work at paul dot dubuc dot org @ 2004-09-09 18:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From work at paul dot dubuc dot org 2004-09-09 18:37 -------
Thanks, Andrew. You are right. It's apprently a binutils bug. I tried the
latest snapshot of binutils (040909) and the problem goes away. I couldn't use
the latest release (2.15) because it has a core dump problem on Solaris 8.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17348
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17348] Can't link 64-bit executable on Solaris 8
2004-09-07 15:19 [Bug c++/17348] New: Can't link 64-bit executable on Solaris 8 work at paul dot dubuc dot org
` (2 preceding siblings ...)
2004-09-09 18:37 ` work at paul dot dubuc dot org
@ 2004-09-10 5:11 ` ebotcazou at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-09-10 5:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-09-10 05:11 -------
Binutils 2.15 release is indeed broken on the platform; however binutils 2.15
CVS should work fine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17348
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-10 5:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07 15:19 [Bug c++/17348] New: Can't link 64-bit executable on Solaris 8 work at paul dot dubuc dot org
2004-09-07 15:21 ` [Bug c++/17348] " work at paul dot dubuc dot org
2004-09-07 16:51 ` [Bug target/17348] " pinskia at gcc dot gnu dot org
2004-09-09 18:37 ` work at paul dot dubuc dot org
2004-09-10 5:11 ` 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).