Position Independent Code

Issues related to applications and software problems
Post Reply
Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Position Independent Code

Post by Mike_Rochefort » 2018/05/29 05:33:35

When building libraries/binaries that will be used system wide, would you recommend building with the -fPIC/-fPIE flags? I’ve run into issues in the past when building my own libraries and trying to mix with system libraries where I would get relocation errors. Is there a recommended policy here? Are core libraries built with PIC? Just looking for any guidance on this front.

Cheers,
Mike
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

Post Reply