[Top][All Lists]

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

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

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

kaz Kojima wrote:
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 ...

If you looked the output of readelf -a libc.so closely, you could
find that the only text relocation occurs for __fpscr_values in
__udivsi3_i4 which is a libgcc function. So a fix would be to
write a PIC version of __udivsi3_i4. But it seems a trade-off
between slight inefficiency of the integral division and one text

Aha.  So glibc's check-textrel regression test is being overly picky,
and should not abort the run here?

Thanks for the info.
- Dan

reply via email to

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