This is the mail archive of the libc-hacker@sourceware.cygnus.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]

Build of 2.0.95 on AXP/Linux fails


Host type: alphaev56-unknown-linux-gnu
System: Linux linus 2.0.35 #1 Thu Aug 13 12:37:42 CDT 1998 alpha unknown
Architecture: alpha
Addons: crypt linuxthreads
Build CC: gcc
Compiler version: egcs-2.91.54 19980816 (gcc2 ss-980609 experimental)
Kernel headers: 2.1.116
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: yes
Build bounded: no
Build static-nss: no
Stdio: libio

>Description:
When building GLIBC, gcc fails with:

gcc -g  -nostdlib -nostartfiles -shared -o ld.so                \
        -Wl,-rpath=/lib:/usr/lib        \
        librtld.os      \
         -Wl,-soname=ld-linux.so.2
/usr/alphaev56-unknown-linux-gnu/bin/ld: ld.so: undefined versioned symbol name setitimer@@GLIBC_2.1
/usr/alphaev56-unknown-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make: *** [ld.so] Error 1

This occurs in glibc-2.0.95/elf/  Using nm, one sees that indeed the symbol
setitimer@@GLIBC_2.1 is defined.  I assume that is should just be setitimer.
I cannot find anyplace in the source that would cause this.  Nothing seems
unusual about setitimer's symbol defines as far as I can see.  

I am building with and empty /usr/include, save for symlinks to asm and linux
in my linux-2.1.116 source tree.  (This same error occured with the 2.0.35+AXP
source tree.)

>How-To-Repeat:
Compile.

Any info on a workaround would be greatly appreciated.

-Paul

------------------------------------------------------------
Paul M. Hirsch
System Administrator
Instrumental, Inc.
vox-> 612.603.0295  fax-> 612.602.0781
smtp-> hirsch@instrumental.com  http-> www.instrumental.com  
------------------------------------------------------------



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