------- Comment #55 from bonzini at gnu dot org 2008-04-22 06:27 ------- Subject: Re: [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap with --enable-shared
>> (BTW, were you libtool maintainers aware of this race/these races?) > > I wasn't. But I don't think we guarantee atomic creation of output. > Take the trivial case: program needs no relink. In that case, it's > up to the compiler/linker whether the program is created atomically. > GCC doesn't do it. :-) > > So I'm not yet convinced this particular race to be a Libtool bug. ... but you can assume it "is created once and for all" after it is built (something you can guarantee with Makefile rules). That's an invariant that libtool's relinking breaks, and that atomic operation would restore. Another possibility would be to force libtool to relink at linking time, i.e. keep the fast install, but do the relinking even before the program is invoked (and the wrapper script installed). But I assume it is a mess? Paolo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752