Question: what is fpic in linux?
Answer: -fpic Generate position-independent code (PIC) suitable for use in a shared library, if supported for the target machine. Such code accesses all constant addresses through a global offset table (GOT). ... Position-independent code requires special support, and therefore works only on certain machines.