* Florian Weimer:
* Richard Shaw:
I added the following to the libmqttc library and verified -fPIC -pie
is in the build flags[1] per the recommendation from the hardening
page[2] but the error remains.
Code that is linked into a shared object (with -shared) must be compiled
as PIC, not PIE.
So using "-fPIC -pie" should elicit a warning from the compiler, something like:
warning: '-pie' turns off '-fPIC'
with an analogous warning whenever a command-line parameter conflicts with
an earlier command-line parameter.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure