Basically this is https://bugs.gentoo.org/show_bug.cgi?id=562060 affecting flint. Installing binutils 2.25-r1 fixes the build.
*** Bug 572164 has been marked as a duplicate of this bug. ***
Yes, downgrading binutils to 2.25-r1 enables flint to emerge.
Created attachment 426226 [details, diff] flint-2.5.2 ebuild patch Attached patch should fix this issue. I cannot test it since all of my systems was migrated to SYMLINK_LIB=no, so paths like /usr/lib in LD_LIBRARY_PATH seems to be harmless for native ABI builds. :)
(In reply to Alexander Tsoy from comment #3) > Attached patch should fix this issue. I confirm that with this patch flint emerges fine with binutils-2.25.1-r1 on the same ~x86 computer on which the unpatched ebuild failed.
Created attachment 426328 [details, diff] flint-2.5.2 ebuild patch - revbump is not necessary for the build fix - simplify sed script
patch seems like it should work, but i'll leave it to the maintainers
*** Bug 596246 has been marked as a duplicate of this bug. ***
This seems to be bothering users. Please move forward with the resolution and stabilization of a fixed version.
*bump* please fix. Or do you need help?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8c6f143df46ad4f661c05890717ba7ff2d4b76 commit 2f8c6f143df46ad4f661c05890717ba7ff2d4b76 Author: Alexander Tsoy <alexander@tsoy.me> AuthorDate: 2017-09-24 19:11:10 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2017-09-24 19:17:36 +0000 sci-mathematics/flint: Fix compilation with >=sys-devel/binutils-2.25.1 Closes: https://bugs.gentoo.org/573868 Package-Manager: Portage-2.3.10, Repoman-2.3.3 Acked-by: Patrick Lauer <patrick@gentoo.org> sci-mathematics/flint/flint-2.4.4-r1.ebuild | 6 +++++- sci-mathematics/flint/flint-2.4.5.ebuild | 6 +++++- sci-mathematics/flint/flint-2.5.2.ebuild | 8 +++++++- 3 files changed, 17 insertions(+), 3 deletions(-)