This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
binutils 2.14 vs gcc 3.3, sparc-sun-solaris2.9
- From: George Karas <gkaras at mail2 dot jpl dot nasa dot gov>
- To: bug-binutils at gnu dot org, binutils at sources dot redhat dot com
- Date: Fri, 20 Jun 2003 12:38:03 -0700
- Subject: binutils 2.14 vs gcc 3.3, sparc-sun-solaris2.9
- Organization: Jet Propulsion Laboratory
- Reply-to: George dot N dot Karas at jpl dot nasa dot gov
All,
I've run into a problem recompiling gcc 3.3 using the v2.14 binutils.
I'm running on a Sun-Blade-100, running Solaris 9. Both the binutils
and gcc configures are using 'sparc-sun-solaris2.9', which automatically
builds the 32- and 64-bit multilibs.
All the configures and makes run through correctly, as they do using the
Sun (/usr/ccs/bin) binutils, until it gets to some 64-bit libstc++ stuff.
Examples of the errors before the 'make bootstrap' chokes and dies are:
/usr/local/build/gnu/build_gcc_sparc/gcc/g++ -shared-libgcc
-B/usr/local/build/gnu/build_gcc_sparc/gcc/ -nostdinc++
-B/usr/local/sparc-sun-solaris2.9/bin/
-B/usr/local/sparc-sun-solaris2.9/lib/ -isystem
/usr/local/sparc-sun-solaris2.9/include -m64 -mtune=ultrasparc
-mno-app-regs -w -O3 -pipe -mtune=ultrasparc -mno-app-regs -m64
-mtune=ultrasparc -mno-app-regs -m64 -mtune=ultrasparc -mno-app-regs -o
abi_check abi_check.o
-L/usr/local/build/gnu/build_gcc_sparc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src
-L/usr/local/build/gnu/build_gcc_sparc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src/.libs
-lm
/usr/local/build/gnu/build_gcc_sparc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src/.libs/libstdc++.a(io-inst.o)(.eh_frame+0x2b0):
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZNSdD1Ev
/usr/local/build/gnu/build_gcc_sparc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src/.libs/libstdc++.a(io-inst.o)(.eh_frame+0x2d0):
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZThn16_NSdD1Ev
/usr/local/build/gnu/build_gcc_sparc/sparc-sun-solaris2.9/sparcv9/libstdc++-v3/src/.libs/libstdc++.a(io-inst.o)(.eh_frame+0x2e8):
relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZNSdD0Ev
You'll note that I do tune for Ultrasparcs, but I get these errors with
or without the 'mtune' directives.
Doing a search for these error messages returns a long thread showing
the same exact errors for binutils v2.12.x and v2.13.x. Those do
contain some suggested fixes, which seem to have already happened in v2.14.
Well, I already have gcc 3.3 working with the Sun binutils, but I would,
obviously, prefer to use the GNU binutils, but no such luck!
Any advice would be much appreciated. I don't read any of the mailing
lists, so please reply directly if possible.
Thanks in advance!
-george karas
Jet Propulsion Lab
4800 Oak Grove Drive
Pasadena, CA 91109