Still confused about PIE/PIC and default build flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I run into this occasionally and it's still not clear to me. In this specific case I'm trying to build nanomq[1] and I get the following error:

/usr/bin/ld: CMakeFiles/nano_test.dir/test.c.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: CMakeFiles/nano_test.dir/test_hash.c.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
[ 36%] Building C object nng/CMakeFiles/nng.dir/src/sp/protocol/reqrep0/rep.c.o
/usr/bin/ld: CMakeFiles/nano_test.dir/test_dbtree.c.o: relocation R_X86_64_32 against symbol `topic0' can not be used when making a PIE object; recompile with -fPIE

Any hints are appreciated.

Thanks,
Richard

[1] https://github.com/emqx/nanomq
_______________________________________________
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux