bug-gnu-utils
[Top][All Lists]
Advanced

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

Relocation problem when building GCC 2.95.2 using binutils 2.9.1 linker


From: Jerome MILAZZO
Subject: Relocation problem when building GCC 2.95.2 using binutils 2.9.1 linker/assembler
Date: Wed, 08 Aug 2001 19:24:07 +0200

Hello

I'am working on an alpha EV6 running under Tru64 4.0F. I'am trying to
build
GCC 2.95.2 using the binutils 2.9.1 tools...

I get this error when building :
...
stage1/xgcc -Bstage1/ -B/opt/alphaev6-dec-osf4.0f/bin/  -DIN_GCC
-DHAIFA   -O2 -g -O2  -DHAVE_CONFIG_H  -o cccp cccp.o cexp.o intl.o
prefix.o version.o  mbchar.o  obstack.o       -lmld
../libiberty/libiberty.a
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/cmplrs/cc/crt0.o(.pdata+0x4): relocation truncated to fit:
SREL32 xdata
/lib/libc.a(exit.o): In function `exit':
exit.o:172: relocation truncated to fit: SREL32 xdata
exit.o:172: relocation truncated to fit: SREL32 xdata
/lib/libc.a(read.o)(.pdata+0x4): relocation truncated to fit: SREL32
xdata
/lib/libc.a(read.o)(.pdata+0xc): relocation truncated to fit: SREL32
xdata
/lib/libc.a(write.o)(.pdata+0x4): relocation truncated to fit: SREL32
xdata
/lib/libc.a(write.o)(.pdata+0xc): relocation truncated to fit: SREL32
xdata
/lib/libc.a(fprintf.o): In function `fprintf':
fprintf.o:115: relocation truncated to fit: SREL32 xdata
/lib/libc.a(strlen.o)(.pdata+0x4): relocation truncated to fit: SREL32
xdata
/lib/libc.a(fputc.o): In function `fputc':
fputc.o:80: relocation truncated to fit: SREL32 xdata
/lib/libc.a(printf.o): In function `printf':
printf.o:119: relocation truncated to fit: SREL32 xdata
/lib/libc.a(getrlimit.o)(.pdata+0x4): relocation truncated to fit:
SREL32 xdata
/lib/libc.a(setrlimit.o)(.pdata+0x4): relocation truncated to fit:
SREL32 xdata
/lib/libc.a(signal.o): In function `signal':
signal.o:136: relocation truncated to fit: SREL32 xdata

Here are the configure options I used (binutils shared lib are in
"/opt/lib", binaries are in "/opt/bin") :

CC=gcc LDFLAGS="-Wl,-rpath -Wl,/opt/lib" ../configure --prefix=/opt/bin
--enable-shared --enable-static --enable-languages=c,c++ --with-gnu-as
--with-as=/opt/bin/as --with-gnu-ld --with-ld=/opt/bin/ld

Any idea would be helpfull ...

Thanks in advance

Jerome Milazzo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]