http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52885
--- Comment #3 from Jeffrey Walton <noloader at gmail dot com> 2012-04-24 04:32:35 UTC --- (In reply to comment #2) > GCC is not a mind reader. I kind of knew that. > There is no way for GCC to know if you want to do > PIC or PIE code. Forgive my ignorance, but why does it matter at the code generation stage? How are relocations different in the object code of a program versus a shared object? At code generation, I did not think there was even the concept of program or shared object.