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]

cvs head build failure on Linux/athlon


Hi,

I can't compile the current glibc from cvs head.  I use this binutils:

GNU ld version 2.11.93.0.2 20020207
  Supported emulations:
   elf_i386
   i386linux
   elf_i386_glibc21

and this GCC:

Reading specs from /usr/lib/gcc-lib/athlon-redhat-linux/3.1/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=athlon-redhat-linux --with-system-zlib
Thread model: posix
gcc version 3.1 20020414 (prerelease)

Here is the end of the build log:

make[2]: Entering directory `/usr/src/redhat/BUILD/libc/elf'
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
/usr/src/redhat/BUILD/libc/build-athlon-linux/libc_pic.a(init-first.os):/usr/src/redhat/BUILD/libc/csu/../sysdeps/unix/sysv/linux/init-first.c:114: multiple definition of `__libc_multiple_libcs'
/usr/src/redhat/BUILD/libc/build-athlon-linux/elf/dl-allobjs.os:/usr/src/redhat/BUILD/libc/elf/rtld.c:763: first defined here
/usr/src/redhat/BUILD/libc/build-athlon-linux/libc_pic.a(_itoa.os): In function `_itoa':
/usr/src/redhat/BUILD/libc/stdio-common/_itoa.c:173: multiple definition of `_itoa'
/usr/src/redhat/BUILD/libc/build-athlon-linux/elf/dl-allobjs.os:/usr/src/redhat/BUILD/libc/elf/dl-minimal.c:294: first defined here
/usr/bin/ld: Warning: size of symbol `_itoa' changed from 136 to 474 in /usr/src/redhat/BUILD/libc/build-athlon-linux/libc_pic.a(_itoa.os)
collect2: ld returned 1 exit status
make[2]: *** [/usr/src/redhat/BUILD/libc/build-athlon-linux/elf/librtld.os] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/libc/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/libc'
make: *** [all] Error 2
error: Bad exit status from /tmp/rpm-tmp.74639 (%build)


BTW, here is a list of warnings I get while compiling:

auth_des.c:366: warning: operation on `ixdr' may be undefined
auth_des.c:367: warning: operation on `ixdr' may be undefined
bindrsvprt.c:76: warning: operation on `port' may be undefined
dngettext.c:56: warning: implicit declaration of function `__dcngettext_internal'
dngettext.c:56: warning: return makes pointer from integer without a cast
../iconv/skeleton.c:557: warning: division by zero
../include/sys/stat.h:49:1: warning: "__fxstat64" redefined
../include/sys/stat.h:51:1: warning: "__lxstat64" redefined
ngettext.c:63: warning: implicit declaration of function `__dcngettext_internal'
ngettext.c:63: warning: return makes pointer from integer without a cast
rpc_cmsg.c:106: warning: operation on `buf' may be undefined
rpc_cmsg.c:107: warning: operation on `buf' may be undefined
rpc_cmsg.c:112: warning: operation on `buf' may be undefined
rpc_cmsg.c:117: warning: operation on `buf' may be undefined
rpc_cmsg.c:118: warning: operation on `buf' may be undefined
rpc_cmsg.c:119: warning: operation on `buf' may be undefined
rpc_cmsg.c:121: warning: operation on `buf' may be undefined
rpc_cmsg.c:122: warning: operation on `buf' may be undefined
rpc_cmsg.c:160: warning: operation on `buf' may be undefined
rpc_cmsg.c:161: warning: operation on `buf' may be undefined
../stdio-common/_itoa.h:74: warning: `_fitoa_word' defined but not used
../stdio-common/_itoa.h:84: warning: `_fitoa' defined but not used
svcauth_des.c:143: warning: operation on `ixdr' may be undefined
svcauth_des.c:147: warning: operation on `ixdr' may be undefined
svcauth_des.c:247: warning: operation on `ixdr' may be undefined
svcauth_des.c:248: warning: operation on `ixdr' may be undefined
svcauth_des.c:265: warning: operation on `ixdr' may be undefined
svcauth_des.c:266: warning: operation on `ixdr' may be undefined
svc_authux.c:77: warning: operation on `buf' may be undefined
svc_authux.c:78: warning: operation on `buf' may be undefined
svc_authux.c:88: warning: operation on `buf' may be undefined
svc_authux.c:89: warning: operation on `buf' may be undefined
svc_authux.c:90: warning: operation on `buf' may be undefined
svc_authux.c:99: warning: operation on `buf' may be undefined
../sysdeps/i386/backtrace.c:50: warning: `ebp' might be used uninitialized in this function
../sysdeps/i386/dl-machine.h:69: warning: `fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:72: warning: `profile_fixup' declared `static' but never defined
../sysdeps/unix/grantpt.c:119: warning: implicit declaration of function `__chown_internal'
../sysdeps/unix/sysv/linux/i386/fxstat.c:22:1: warning: this is the location of the previous definition
../sysdeps/unix/sysv/linux/i386/lxstat.c:22:1: warning: this is the location of the previous definition
../sysdeps/unix/sysv/linux/i386/sigaction.c:50: warning: `restore_rt' declared `static' but never defined
../sysdeps/unix/sysv/linux/i386/sigaction.c:52: warning: `restore' declared `static' but never defined


Regards,
					Christian



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