On Wed, Sep 22, 2010, Dave Martin wrote:
This tells the compiler to generate PIC code, but it doesn't tell the linker to generate PIC output... which matters if the linker needs to add extra code during the link.
Perhaps a stupid question, but why -fPIC/-shared and not -fPIE/-pie?