--- Comment #3 from kpfleming at digium dot com 2009-09-01 21:11 ---
That talks about using -fpie/-fPIE as a workaround, but according to the gcc
manpage those options are not suitable when the result is going to be used in a
shared library, only as a linked executable.
--
http
--- Comment #1 from kpfleming at digium dot com 2009-09-01 20:53 ---
I have just run into this as well; supplying -fPIC (implied in -shared) without
-fwhole-program works fine, but adding -fwhole-program causes functions that
are called internally to the program being compiled to end up