2010/5/23 Ruben Van Boxem <omitted>
> Hi,
>
> Recently, mingw64 has chosen to be compatible with MSVC's symbol decoration
> conventions, ie no underscore for x64 dll's. The underscore assumption has
> been made in one file (afaik), namely:
>
> x86_64-xlate.pl: line 83: if ($flavour eq "mingw64") { $gas=1; $elf=0;
> $win64=1; $prefix="_"; }
>
> There could be more, but I have no in-depth knowledge of OpenSSL source
> code. You can check the result with the newest sezero builds from
> mingw-w64.sourceforge.net
>
> The original thread on your mailing list talking about the change I need
> reversed:
> http://www.mail-archive.com/[email protected]/msg25041.html
>
> This is a recent change in mingw-w64, but is here to stay. This ensures
> compatibility with MSVC's linker for x64. AFAIK nothing should be changed
> for win32 compiles by mingw-w32. Again, I don't know if and how other files
> use the "mingw64" compiler, but the above fixes the build for mingw-w64 (all
> tests pass). Haven't tested mingw.org's gcc or mingw-w32.
>
> Greetings,
>
> Ruben
>Sorry for the double mail, but there is a better fix than just omitting the _ from "_": "__USER_LABEL_PREFIX__" is a GCC define that fits this purpose nicely. Hope this is helpful.
2010/5/23 Ruben Van Boxem <omitted>
Sorry for the double mail, but there is a better fix than just omitting the _ from "_": "__USER_LABEL_PREFIX__" is a GCC define that fits this purpose nicely. Hope this is helpful.
Hi,
Recently, mingw64 has chosen to be compatible with MSVC's symbol decoration conventions, ie no underscore for x64 dll's. The underscore assumption has been made in one file (afaik), namely:
x86_64-xlate.pl: line 83: if ($flavour eq "mingw64") { $gas=1; $elf=0; $win64=1; $prefix="_"; }
There could be more, but I have no in-depth knowledge of OpenSSL source code. You can check the result with the newest sezero builds from mingw-w64.sourceforge.net
The original thread on your mailing list talking about the change I need reversed: http://www.mail-archive.com/[email protected]/msg25041.html
This is a recent change in mingw-w64, but is here to stay. This ensures compatibility with MSVC's linker for x64. AFAIK nothing should be changed for win32 compiles by mingw-w32. Again, I don't know if and how other files use the "mingw64" compiler, but the above fixes the build for mingw-w64 (all tests pass). Haven't tested mingw.org's gcc or mingw-w32.
Greetings,
Ruben
Sorry for the double mail, but there is a better fix than just omitting the _ from "_": "__USER_LABEL_PREFIX__" is a GCC define that fits this purpose nicely. Hope this is helpful.
