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

issue about GLIBC(2.7 and above) on REDHAT 5.5


hi
I want to upgrade GLIBC(2.7 or 2.10) on redhat5.5_x86_64, I compiling the source packages and generated lib* files are 64 bit, and have been installed /lib64.
but I want 32bit files due to some applications need to that, someone told me this way can compile 32 files, but faild when "make".
# linux32 /usr/local/src/glibc-2.7/configure --prefix=/usr/
#make
......
nptl/sysdeps/i386/i686/../tls.h:71:3: error: #error "TLS support is required."
In file included from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:71:3: error: #error "TLS support is required."
In file included from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:71:3: error: #error "TLS support is required."
In file included from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
......
In file included from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/i386/i686/../tls.h:71:3: error: #error "TLS support is required."
In file included from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:24,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:108,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/time.h:51: warning: ‘stdcall’ attribute ignored
../include/time.h:102: warning: ‘stdcall’ attribute ignored
In file included from ../inet/netinet/in.h:25,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:12,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:108,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/sys/socket.h:21: warning: ‘stdcall’ attribute ignored
make[2]: *** [/usr/local/glibc/tcb-offsets.h] Error 1
make[2]: Leaving directory `/usr/local/src/glibc-2.7/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/src/glibc-2.7'
make: *** [all] Error 2
And below are some information
# ld -v
GNU ld version 2.17.50.0.6-14.el5 20061020
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --
enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-
exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --
host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
I have tried many ways but still can't do it. Is this can't be reached?Regards
Charles jiang 		 	   		  

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