This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc/binutils or glibc ? RELOC problem while build glibc for alpha.


Hi !

	I try to build CVS from 20040220 but still get strange reloc error,

Someone had success on alpha with latest CVS ?

I use self compiled Fedora toolchain:
# gcc -v
Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=alpha-redhat-linux
Thread model: posix
gcc version 3.3.3 20040216 (Red Hat Linux 3.3.3-2)

#ld --version
GNU ld version 2.14.90.0.8 20040114
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

# rpm -qa | grep glibc
glibc-2.3.2-101

The error:
------------------------------------------------------------//////////////////////////////------------------------------------------->
make[4]: Entering directory `/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/time'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/time'
make[3]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/elf'
gcc   -nostdlib -nostartfiles -shared                   \
  -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,--verbose 2>&1 |        \
          LC_ALL=C \
          sed -e '/^=========/,/^=========/!d;/^=========/d'    \
              -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
          > /usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/elf/ld.so.lds
gcc   -nostdlib -nostartfiles -shared -o /usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/elf/ld.so                     \
          -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs                             \
          /usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/elf/librtld.os -Wl,--version-script=/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/ld.map                \
          -Wl,-soname=ld-linux.so.2 -T /usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/elf/ld.so.lds
/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/elf/librtld.os(.text+0x18): In function `_dl_start_user':
: relocation truncated to fit: GPREL16 _dl_skip_args
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/build-alpha-linux/elf/ld.so] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.3-200402201559'
make: *** [all] Error 2
[root@alpha build-alpha-linux]#
--------------------------------------------------///////////////////////////------------------------------------------------------------>

	Strange why give me "relocation truncated to fit: GPREL16 _dl_skip_args", cant understand why,
played with various switch of gcc (-fpic etc etc) while re-re-compile this but no result, verifyed debian/libc bugzillas
for gcc/binutils/glibc but no alpha regarding patch/bug report. 

Any idea suggestion where to dig is welcome, maybe something small stupid detail I miss. 


Thank you,
cristian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]