gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

sys-apps/systemd: disable Ofast

Open blackteahamburger opened this issue 2 years ago • 2 comments

Configure fails with error.

blackteahamburger avatar Jan 05 '23 08:01 blackteahamburger

I found that the O3 workaround for systemd is only required if the homed USE flag is enabled according to the comment. So is there a way to detect that USE flag and decide if a workaround is needed?

blackteahamburger avatar Jan 06 '23 13:01 blackteahamburger

I am completely unsure about that as I have homed USE flag disabled. Maybe it's still broken, or it isn't. My issue maybe wrong, as the configure error clearly states: -Ofast, -ffast-math, or -ffinite-math-only is specified in c_args Which I think means that -Ofast is also blacklisted for some reason. So I guess the correct corrections would be: sys-apps/systemd /-Ofast/'-O2 ${SAFEST_FAST_MATH}' /-ffast-math/'${SAFEST_FAST_MATH}' /-ffinite-math-only/'${SAFEST_FAST_MATH}' # configure fails with error or the same with -O3.

Xpeq7 avatar Feb 13 '23 16:02 Xpeq7

Close this since this project is in maintenance mode.

blackteahamburger avatar Mar 03 '24 02:03 blackteahamburger