https://sourceware.org/bugzilla/show_bug.cgi?id=33507
--- Comment #2 from Sam James <sam at gentoo dot org> --- Yeah, in upstream libtool: commit 0373df7675e4a18f83951ff0c3aff3201a5b3b4f Author: Dave Korn <[email protected]> AuthorDate: Sat Aug 28 14:43:02 2010 +0200 Commit: Ralf Wildenhues <[email protected]> CommitDate: Sat Aug 28 14:43:02 2010 +0200 Ensure cwrapper magic string is not optimized away. * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Declare MAGIC_EXE as volatile. Report by Charles Wilson. Signed-off-by: Ralf Wildenhues <[email protected]> commit 5911665520a53415bafd8bb6da9989b5fe25df80 Author: Peter Rosin <[email protected]> AuthorDate: Fri May 2 14:51:02 2014 +0200 Commit: Peter Rosin <[email protected]> CommitDate: Fri May 2 14:52:30 2014 +0200 libtool: prevent lto from stripping the magic cookie from the cwrapper Whole program optimization may remove unused symbols unless told they are really needed. Fixes sr #108559 reported by LRN. * build-aux/ltmain.in (func_emit_cwrapperexe_src:MAGIC_EXE): Try to ensure that the magic cookie is preserved. Neither of which we have. -- You are receiving this mail because: You are on the CC list for the bug.
