This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | MSYS2: error while loading shared libraries: .../ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | -- Other -- | Assignee: | ilia |
Status: | NEW --- | ||
Severity: | normal | CC: | ilia |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 8.1 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
library
This binary works perfectly with 32bit systems. Stripped library for 32-bit systems Stripped library for 64-bit systems (not tested yet) |
Description
soldatov
2017-02-03 14:37:58 UTC
Note: ldd called from MSYS2 and from Cygwin shows different results -----------------8<---------------- $ cat file.c int main() {} ----------------------------------- ldd ./file.exe -------------- MSYS2 -------------- ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffa55110000) KERNEL32.DLL => /c/Windows/system32/KERNEL32.DLL (0x7ffa53490000) KERNELBASE.dll => /c/Windows/system32/KERNELBASE.dll (0x7ffa51c60000) ----------------------------------- ------------- Cygwin -------------- ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffa55110000) KERNEL32.DLL => /cygdrive/c/Windows/system32/KERNEL32.DLL (0x7ffa53490000) KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll (0x7ffa51c60000) cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) ----------------------------------- Valera, could you, please, try the attached unbuffer.dll for x86_64? For me it fails with message: 0 [main] make 4200 C:\msys64\usr\bin\make.exe: *** fatal error - error while loading shared libraries: /E/release82/nbbuild/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll: cannot open shared object file: Exec format error 4108 [main] make 4200 cygwin_exception::open_stackdumpfile: Dumping stack trace to make.exe.stackdump Created attachment 163993 [details]
library
Library should be replaced here: nbbuild/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll Yes. I see: 19 [main] make 14184 C:\msys64\usr\bin\make.exe: *** fatal error - error while loading shared libraries: /C/hudson/workspace/cnd-test-win8-mingw/netbeans/ide/bin/nativeexecution/Windows-x86_64/unbuffer.dll: cannot open shared object file: Exec format error 4790 [main] make 14184 cygwin_exception::open_stackdumpfile: Dumping stack trace to make.exe.stackdump Created attachment 164024 [details]
This binary works perfectly with 32bit systems.
Created attachment 164025 [details]
Stripped library for 32-bit systems
Created attachment 164026 [details]
Stripped library for 64-bit systems (not tested yet)
(In reply to ilia from comment #8) > Created attachment 164026 [details] > Stripped library for 64-bit systems (not tested yet) I replaced my original unbuffer.dll library with this one and my unit testing framework works now unlike before. I am running Netbeans 8.2 on a Windows 10 system. |