On Fri, Aug 19, 2016 at 9:25 PM, Mario Emmenlauer <[email protected]> wrote:
>
> On 19.08.2016 16:17, David Macek wrote:
>> On 19. 8. 2016 14:55, Mario Emmenlauer wrote:
>>> #> dlltool -z /tmp/somedll.def --export-all-symbol '/c/Program 
>>> Files/Java/jdk1.8.0_101/jre/bin/server/jvm.dll'
>>>
>>> C:\msys2\mingw64\bin\dlltool.exe: C:/Program 
>>> Files/Java/jdk1.8.0_101/jre/bin/server/jvm.dll: no symbols
>>>
>>> Indeed the generated def-file has only a header, no symbols.
>>> Can you please suggest what I'm doing wrong? I'm on the mingw64
>>> MSYS2 shell and its 64bit Java.
>>
>> It seems `nm` and `dlltool` don't recognize exports in non-mingw libraries. 
>> `objdump` recognizes it. I suggest you check with the #mingw-w64 project if 
>> this is expected behavior or a known bug, or if the fault lies in our 
>> (MSYS2) builds.
>>
>
> I also tried dlltool from mingw-w64 and it does not export anything.
> On the mingw-w64 mailing list I got the recommendation to try gendef,
> and this works! Thanks again.
>

What we really need is for someone to contribute a mingw-w64-openjdk
PKGBUILD to MSYS2.

> Cheers,
>
>     Mario
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users

------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to