build fail on sparc64 for glibc-2.3.2-200306120810

Balint Cristian rezso@rdsor.ro
Mon Jun 16 09:08:00 GMT 2003


Hi !

Its about glibc-2.3.2-51.src.rpm (RH rawhide one) is dated from 200306120810.

On sparc32 compiles fine and work OK, but fail for sparc64 one:
cd build-sparc64-linux
make
***** blah blah bla ***************
make[4]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306120810/time'
make[3]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306120810/elf'
gcc -m64   -nostdlib -nostartfiles -shared                      \
  -Wl,-z,combreloc -Wl,-z,defs -Wl,--verbose 2>&1 |     \
          sed -e '/^=========/,/^=========/!d;/^=========/d'    \
              -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
          > /usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/elf/ld.so.lds
gcc -m64   -nostdlib -nostartfiles -shared -o /usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/elf/ld.so   \
          -Wl,-z,combreloc -Wl,-z,defs                          \
          /usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/elf/librtld.os -Wl,--version-script=/usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/ld.map            \
          -Wl,-soname=ld-linux.so.2 -T /usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/elf/ld.so.lds
/usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/elf/librtld.os(.text+0x11764): In function `__xstat64_conv':
../sysdeps/unix/sysv/linux/xstatconv.c:111: undefined reference to `xstat_conv'
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.2-200306120810/build-sparc64-linux/elf/ld.so] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306120810/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200306120810'
make: *** [all] Error 2
[root@sun build-sparc64-linux]#

It doesnt find xstat_conv .... none workaronds of mine worked, it hurt my brain,
supposing dont include the right header file ...


I have these:
gcc-3.3-5
binutils-2.14.90.0.4-6

Any help indications made me more happy.

Trhanks,

Cristian



More information about the Libc-alpha mailing list