I have a relatively fresh install of 3.16.5 that I've been trying to get Sage installed on for the past 5 days.

After install I followed these instructions for enabling graphite and lto:

http://yuguangzhang.com/blog/enabling-gcc-graphite-and-lto-on-gentoo/

Since then I've been attempting to finish a sage emerge.
Singular is failing and it seems to be an ld exit status 1 type fail so I'm pretty sure its lto.

Thing is I've got singular in package.env with no-lto.conf (as set out by the instructions above).

It seems singular is just ignoring my no-lto flags like in this bug:

http://trac.sagemath.org/ticket/12738

I can't really tell from that bug if there was a resolution or workaround, so I don't know where to go from here.

Anybody have any idea how to fix or get around this?

attached are:

info output
build log
whatever -pqv outputsĀ 
environment

Thanks,
Jeramia