Bug 6398 - "make check" error encountered in glibc-2.7
Summary: "make check" error encountered in glibc-2.7
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 10:51 UTC by Suma Sharma
Modified: 2014-07-03 11:38 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: sh4-unknown-linux-gnu
Build: i686-pc-linux-gnu
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Suma Sharma 2008-04-14 10:51:16 UTC
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.      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Ulrich Drepper 2008-04-14 14:04:19 UTC

*** This bug has been marked as a duplicate of 333 ***