[pkg-squid-devel] Bug#784876: squid3: not compiled with -fpic/-fPIC causes execmod issue

Luigi Gangitano luigi at debian.org
Wed Jul 22 15:57:46 UTC 2015


Hi Russel,

Thanks for taking your time and reporting this bug. I did not understand completely what it’s going on and maybe you can help me find out.

From my understanding:

  - no library is compiled from squid3 sources, thus -fPIC should not be needed. -fPIE should be used instead;
  - squid3 is compiled with hardening=+all flags and this includes ‘-fPIE’ which should handle text relocations;
  - two symbols are reported from eu-findtextrel:
    * _IO_stdin_used is a private symbol from libc and is not defined in squid3 sources (nor used directly);
    * _ZTS11ACLStrategyIPKcE does not map to a function, but this may be my fault in understanding symbol names.

Can you please help me sort this out? A debug binary is available in squid3-dbg package if needed.

Regards,

L

--
Luigi Gangitano -- <luigi at debian.org> -- <gangitano at lugroma3.org>
GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972  C24A F19B A618 924C 0C26
GPG: 4096R/2BA97CED: 8D48 5A35 FF1E 6EB7 90E5  0F6D 0284 F20C 2BA9 7CED




More information about the pkg-squid-devel mailing list