bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"make tests" fails with "libc.so: text relocations used" in glibc-2.3.2


From: Dan Kegel
Subject: "make tests" fails with "libc.so: text relocations used" in glibc-2.3.2 for sh4
Date: Mon, 28 Jul 2003 13:45:34 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030617

I'm cross-building glibc for sh4 using gcc-3.3 and binutils-2.13.90.0.18.
My scripts are online at http://kegel.com/crosstool
and are partly working with glibc-2.2.5 on sh4, with a few glibc
test execution failures (see 
http://www.m17n.org/linux-sh/ml/linux-sh/2003-07/msg00050.html).

Now I'm trying glibc-2.3.2, but "make tests" fails at build time with error
make[2]: *** [/gcc-3.3-glibc-2.3.2/build-glibc/elf/check-textrel.out] Error 1

Looking inside check-textrel.out, I see the errors
/gcc-3.3-glibc-2.3.2/build-glibc/libc.so: text relocations used
/gcc-3.3-glibc-2.3.2/build-glibc/linuxthreads/libc.so: text relocations used
/gcc-3.3-glibc-2.3.2/build-glibc/linuxthreads/libpthread.so: text relocations 
used
/gcc-3.3-glibc-2.3.2/build-glibc/math/libm.so: text relocations used
/gcc-3.3-glibc-2.3.2/build-glibc/resolv/libresolv.so: text relocations used

FWIW, a similar problem was reported on ppc:
http://sources.redhat.com/ml/binutils/2003-02/msg00054.html
and fixed by a patch to glibc:
http://sources.redhat.com/ml/binutils/2003-02/msg00249.html

Do we need a similar fix for sh4?  Or am I perhaps using the wrong version of 
binutils?

Please reply to address@hidden and cc address@hidden
Thanks!
- Dan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]