Re: Compiling libc with LTO

2018-03-05 Thread Dimitry Andric
On 5 Mar 2018, at 00:11, Shawn Webb wrote: > > I'm working on Cross-DSO CFI support in HardenedBSD. I've noticed > certain libraries do not like to be compiled with -flto, libc being > one of them. I'm scratching my head a bit, but unsure where to go from > here, so a

Compiling libc with LTO

2018-03-04 Thread Shawn Webb
Hey All, I'm working on Cross-DSO CFI support in HardenedBSD. I've noticed certain libraries do not like to be compiled with -flto, libc being one of them. I'm scratching my head a bit, but unsure where to go from here, so a little direction would be helpful. In the