[BUG] libffi needs to be rebuilt for i386
Pavel Fedin
pavel_fedin@mail.ru
Mon Oct 13 19:44:00 GMT 2014
Hello, Marco.
Monday, October 13, 2014, 13:56:57 you wrote:
> FYI
> debug symbols are in libffi-debuginfo package
Thank you, i know this.
Actually, when i started my research, i noticed that DllMain() and
corresponding init code is not called for libffi. I started to examine
that. I don't know the exact mechanism of how DllMain() becomes
so special, but i suggested that it might be up to symbol name. I used
objdump -t on libffi, and it displayed nothing. I became curious and
checked some other libraries, including cygwin1.dll. All these
libraries had populated symbol tables. I suggested that this may be
the thing that goes wrong, rebuilt the libffi, and installed
instripped version (just by copying the file). It perfectly worked,
the problem is gone.
Just for curiosity i tried 'make install' which strips the symbols.
This variant also worked fine. So, apparently, the root cause was
likely some bug in the linker which was used to build the original
package.
--
Kind regards,
Pavel
More information about the Cygwin-apps
mailing list