Re: COFF_TYPE on x86_64

2020-11-02 Thread Jeremy Drake
On Mon, 2 Nov 2020, Marco Bodrato wrote: > Ciao Jeremy, > > Il 2020-10-02 20:45 Jeremy Drake ha scritto: > > Looking at the ld code, it only generated the thunk in the import library > > if it thought the symbol was a function. Checking the output of gcc -S > > show

Re: COFF_TYPE on x86_64

2020-10-02 Thread Jeremy Drake
On Fri, 2 Oct 2020, Torbjörn Granlund wrote: > https://gmplib.org/repo/gmp-6.2/file/09e101b6f2ff/acinclude.m4#l2128 > > This is a link to a huge file. Many things are mentioned there. I anchored the link to a particular line: dnl On MINGW, recent versions of the linker have an automatic

COFF_TYPE on x86_64

2020-10-02 Thread Jeremy Drake
On msys2's MINGW-packages, we recently hit an issue[1] which I eventually tracked down to the very issue documented in https://gmplib.org/repo/gmp-6.2/file/09e101b6f2ff/acinclude.m4#l2128 > > My current theory is that for some unknown reason, gmp's assembly > > functions are resulting in symbols