This is the mail archive of the glibc-bugs@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]

[Bug libc/6398] New: "make check" error encountered in glibc-2.7


Hi,
I am building a Linux based toolchain for SH4 target using GCC-4.2.2 and Glibc-
2.7. 
After compiling the glibc using the "make" command, I ran ?make check? but it 
gave me the following error---

1) /var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux- 
   gnu/glibc-2.7/work/build-default-sh4-unknown-linux-gnu-nptl/elf/tst-tls1-   
   static.o: In function `do_test':
   /var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-   
   gnu/glibc-2.7/work/glibc-2.7/elf/tst-tls1.c:48: undefined reference to     
   `__tls_get_addr'
   /var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux- 
   gnu/glibc-2.7/work/glibc-2.7/elf/tst-tls1.c:49: undefined reference to 
   `__tls_get_addr'
   /var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-
   gnu/glibc-2.7/work/glibc-2.7/elf/tst-tls1.c:66: undefined reference to 
   `__tls_get_addr'
   /var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-
   gnu/glibc-2.7/work/glibc-2.7/elf/tst-tls1.c:67: undefined reference to 
   `__tls_get_addr'
   collect2: ld returned 1 exit status
	
	The above mentioned error occurs for the following testcases,
	"elf/tst-tls1.c" 
	"elf/tst-tls2.c"

2) /var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-   
   gnu/glibc-2.7/work/build-default-sh4-unknown-linux-gnu-nptl/dlfcn/bug-  
   atexit3-lib.os: could not read symbols: File in wrong format
   collect2: ld returned 1 exit status
   make[2]: *** [/var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-
   unknown-linux-gnu/glibc-2.7/work/build-default-sh4-unknown-linux-gnu- 
   nptl/dlfcn/bug-atexit3-lib.so] Error 1

Any help would be appreciated.

Regards,
Suma Sharma
KPIT Cummins Infosystems Ltd,
Pune (INDIA)
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 
Free download of GNU based SH-Linux toolchains for Renesas' SH 
Series.          
The following site also offers free technical support to its 
users.             
Visit http://www.kpitgnutools.com for details.                                
Latest versions of KPIT GNU SH-Linux tools were released on October 19, 
2007.      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
           Summary: "make check" error encountered in glibc-2.7
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: suma dot sharma at kpitcummins dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh4-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=6398

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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