Re: Fix libexec/ld.so/dlclose regress

2017-08-03 Thread Ted Unangst
Joerg Sonnenberger wrote: > On Wed, Aug 02, 2017 at 09:03:30PM +0200, Mark Kettenis wrote: > > Couldn't convince clang not to inline duplicateFun() into bbTest2(). > > Splitting things out in a seperate file avoids the issue. Fixes the > > regression test. > > Have you tried the combiniation of

Re: Fix libexec/ld.so/dlclose regress

2017-08-03 Thread Joerg Sonnenberger
On Wed, Aug 02, 2017 at 09:03:30PM +0200, Mark Kettenis wrote: > Couldn't convince clang not to inline duplicateFun() into bbTest2(). > Splitting things out in a seperate file avoids the issue. Fixes the > regression test. Have you tried the combiniation of noinline attribute with asm