* Daniel P. Berrangé:

> One notable thing is Ubuntu's use of --enable-default-pie. Some Google
> links also suggested -fPIC as a possible solution to my error, so I
> tried modifying the build system to add -fPIC to CFLAGS/LDFLAGS, but
> that merely gave me a differrent set of errors :-(

Have you tried building with -fPIE?  Why jump straight to -fPIC?

With -fPIE, the mapping address does not matter to the compiler (so no
absolute R_X86_64_32S relocations), and external calls should stop using
the GOT, too (so no more relaxation issues).

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to