build MPFR in GCC stage 1 without LTO if (system) GCC used is too old#1435
build MPFR in GCC stage 1 without LTO if (system) GCC used is too old#1435migueldiascosta merged 4 commits intoeasybuilders:developfrom
Conversation
|
@migueldiascosta Please test this for building |
|
@migueldiascosta testing in easybuilders/easybuild-easyconfigs#6431 shows that the current solution doesn't work... While without this patch, the build dies in stage 1 when building MPFR: it now dies in stage 3 for basically the same reason: That makes sense, since we've actually built the GCC in stage 1 with The correct fix is to only build MPFR itself with |
|
2nd try, please test @migueldiascosta? |
|
|
||
| def disable_lto_mpfr_old_gcc(self, objdir): | ||
| """ | ||
| # if GCC version used to build stage 1 is too old, build GCC without LTO support in stage 1 |
There was a problem hiding this comment.
update comment to build MPFR, instead of GCC?
|
Successful test reports on CentOS 6.9 for |
|
Also tested on CentOS 7 with |
|
lgtm, happy that the suggestion worked out alright. |
fix for easybuilders/easybuild-easyconfigs#6374