Open vashirov opened 3 weeks ago
This PR is a copy of https://github.com/389ds/389-ds-base/pull/4929 which got closed when I recreated my fork. Last time there was an issue building with gcc. I tried today to build it on F40 and the build was successful. So giving it another try.
gcc compilation pipeline failed with:
/usr/bin/ld: ldap/servers/snmp/agent-main.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
Pipeline is fixed, compilation with gcc is now successful.
Issue 4596 - Build with clang/lld fails when LTO enabled
Bug Description: Build with clang/lld fails with undefined reference error.
Fix Description:
Fixes: https://github.com/389ds/389-ds-base/issues/4596
Reviewed by: ???