[PATCH] Fix build with gcc LTO

Ralph Boehme slow at samba.org
Wed Jun 1 16:11:32 UTC 2016


On Wed, Jun 01, 2016 at 09:04:18AM -0700, Jeremy Allison wrote:
> On Wed, Jun 01, 2016 at 04:24:55PM +0200, Ralph Boehme wrote:
> > Hi!
> > 
> > Attached is a simple patch that fixes a build problem when building
> > with gcc LTO. Simple fix, took me ages to find it...
> > 
> > Please review & push if ok.
> 
> Oh, good catch Ralph ! How did you track that one down ?

one would think git grep and be done in a few minutes, right? Took me
hours carefully removing subsystems and modules from the target. In
the end the talloc test source file remained and everything pointed at
it. I opened the file in emacs and nearly fell off my chair... :)

Cheerio!
-slow



More information about the samba-technical mailing list