[IRCServices] Compiler warning with Gentoo and gcc 4.1.1

Andrew Church achurch at achurch.org
Mon Apr 2 09:10:51 PDT 2007


>I'm getting the following compiler warning when compiling Services
>(5.0.60 and 5.0.61) on an x86-32 machine (Celeron 1.7GHz) using Gentoo
>2006.1 and gcc 4.1.1:
>
>/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
>warning: creating a DT_TEXTREL in object.
>
>Services does compile successfully, however, and it seems to run just fine.
>
>Any advice on how to proceed with this, or is this something that I
>shouldn't worry too much about?

     If it works, don't worry about it. (:  Some systems don't deal well
with text relocations (this is related to the -fPIC issue just mentioned),
so that's probably why ld is complaining, but if Services works fine on
your system, it's not relevant to you.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/