[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.
Re: "make tests" fails with "libc.so: text relocations used" in glibc-2.3.2 for sh4
Mon, 28 Jul 2003 17:32:38 -0700
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: *** [/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.