Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't enable flto if ld version <= 2.22, as there are bugs with some version of GCC
authorAugustin Degomme <degomme@idpann.imag.fr>
Mon, 14 Apr 2014 10:38:52 +0000 (12:38 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Mon, 14 Apr 2014 10:58:57 +0000 (12:58 +0200)
commitdb1d884a9bcd3ea041d89b42bdf1e6ed17de23f9
tree591a1ae7c098411f8a4ee6c704f0fe1e13237e71
parent65f020ece2b5a393e49f4a8a7bdb4dc392d2ff32
don't enable flto if ld version <= 2.22, as there are bugs with some version of GCC
Its not clear whether bugs were actually in gcc < 4.7.2 or in the bfl ld version ...
example of related bugs : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53780 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52900
Disabling flto when ld is too old is one of the possible fixes, as ld 2.24 doesn't triggers these bugs.
CMakeLists.txt
buildtools/Cmake/Flags.cmake