-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app-admin/keepassxc-2.2.2 requires -fPIC to compile #58
Comments
Hi @soredake , thanks for the heads up on this. As much as I'd like to include a workaround for this in this repo, unfortunately I have to keep things focused around the LTO goal, and this definitely non-LTO related. I'm going to have to close the issue for now, but if you find later that LTO does indeed affect this, I will for sure reopen it. Thanks! |
i ran into the same problem and found that if you enable the i don't use any other use flags so i don't know what cflags they work with (but compiling without autotype works with the default lto flags) is it lto-related enough? i could build the same version (2.2.4) fine with safe cflags before i started using gentooLTO
the only keepassxc-related bug i see is the submitter's with |
Ahh sorry, just saw this. |
Fixed in |
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: /var/tmp/portage/app-admin/keepassxc-2.2.2/temp/ccERKDVM.ltrans0.ltrans.o: requires dynamic R_X86_64_PC32 reloc against '_ZN16AutoTypeExecutor9execDelayEP13AutoTypeDelay' which may overflow at runtime; recompile with -fPIC
app-admin/keepassxc *FLAGS+=-fPIC
fixes build. I do not know if this is due to gentooLTO, can someone test?UPD: seems gentooLTO is not related https://bugs.gentoo.org/buglist.cgi?quicksearch=fPIC&list_id=3710774
The text was updated successfully, but these errors were encountered: