Advertisement
Guest User

Untitled

a guest
Jan 25th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. [sobe@xy go-43886-repro]$ go version
  2. go version go1.15.7 linux/amd64
  3. [sobe@xy go-43886-repro]$ zig version
  4. 0.8.0-dev.1048+0cfa39304
  5. [sobe@xy go-43886-repro]$ cat zcc
  6. #!/bin/sh
  7. zig cc -target x86_64-windows-gnu $@
  8. [sobe@xy go-43886-repro]$ cat zc++
  9. #!/bin/sh
  10. zig c++ -target x86_64-windows-gnu $@
  11. [sobe@xy go-43886-repro]$ export PATH="$PATH:/home/sobe/zig/go-43886-repro"
  12. [sobe@xy go-43886-repro]$ CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC="zcc" CXX="zc++" go build main.go
  13. # command-line-arguments
  14. warning: unsupported linker arg: --compress-debug-sections=zlib-gnu
  15. [sobe@xy go-43886-repro]$ wine main.exe
  16. wine: Unhandled page fault on write access to 0000000140106488 at address 0000000140139551 (thread 00ec), starting debugger...
  17. Unhandled exception: page fault on write access to 0x140106488 in 64-bit code (0x0000000140139551).
  18. Register dump:
  19. rip:0000000140139551 rsp:000000000111fd20 rbp:0000000000000000 eflags:00010297 ( R- -- I S -A-P-C)
  20. rax:0000000000800f11 rbx:0000000002100800 rcx:000000007ed8320b rdx:00000000178bfbff
  21. rsi:000000000000000d rdi:00000001400d5240 r8:00000000000150a0 r9:00000000014b1490 r10:00000000014b1390
  22. r11:00000000014b0138 r12:0000000000000000 r13:0000000000000000 r14:00000000014b1320 r15:0000000000000001
  23. Stack dump:
  24. 0x000000000111fd20: 0000000000000000 0000000000000000
  25. 0x000000000111fd30: 0000000000000029 0000000000013e40
  26. 0x000000000111fd40: 0000000000013e40 000000014000192a
  27. 0x000000000111fd50: 0000000000000000 0000000000000000
  28. 0x000000000111fd60: 0000000000000000 0000000000000000
  29. 0x000000000111fd70: 0000000000000000 0000000000000000
  30. 0x000000000111fd80: 0000000000000000 0000000000000000
  31. 0x000000000111fd90: 0000000000000000 0000000000000000
  32. 0x000000000111fda0: 0000000000000000 0000000000000000
  33. 0x000000000111fdb0: 0000000000000000 0000000000000000
  34. 0x000000000111fdc0: 0000000000000000 0000000000000000
  35. 0x000000000111fdd0: 0000000000000000 0000000000000000
  36. Backtrace:
  37. =>0 0x0000000140139551 runtime.rt0_go+0x71() in main (0x0000000000000000)
  38. 0x0000000140139551 runtime.rt0_go+0x71 in main: movl %eax,0xfffffffffffccf31(%rip)
  39. Modules:
  40. Module Address Debug info Name (5 modules)
  41. PE 6a080000- 6a10d000 Deferred msvcrt
  42. PE 7b000000- 7b0d4000 Deferred kernelbase
  43. PE 7b600000- 7b811000 Deferred kernel32
  44. PE 7bc00000- 7bc96000 Deferred ntdll
  45. PE 140000000- 140333000 PDB main
  46. Threads:
  47. process tid prio (all id:s are in hex)
  48. 00000038 services.exe
  49. 0000003c 0
  50. 00000040 0
  51. 0000004c 0
  52. 00000050 0
  53. 00000070 0
  54. 00000088 0
  55. 000000b0 0
  56. 000000d0 0
  57. 000000d4 0
  58. 00000044 winedevice.exe
  59. 00000048 0
  60. 00000054 0
  61. 00000058 0
  62. 0000005c 0
  63. 00000060 plugplay.exe
  64. 00000064 0
  65. 00000074 0
  66. 00000078 0
  67. 0000007c 0
  68. 00000098 0
  69. 0000009c 0
  70. 00000068 explorer.exe
  71. 0000006c 0
  72. 000000bc 0
  73. 000000c0 0
  74. 00000080 winedevice.exe
  75. 00000084 0
  76. 0000008c 0
  77. 00000090 0
  78. 00000094 0
  79. 000000a0 0
  80. 000000a4 0
  81. 000000a8 svchost.exe
  82. 000000ac 0
  83. 000000b4 0
  84. 000000b8 0
  85. 000000c8 rpcss.exe
  86. 000000cc 0
  87. 000000d8 0
  88. 000000dc 0
  89. 000000e0 0
  90. 000000e4 0
  91. 000000f0 0
  92. 000000f4 0
  93. 000000e8 (D) Z:\home\sobe\zig\go-43886-repro\main.exe
  94. 000000ec 0 <==
  95. 000000f8 conhost.exe
  96. 000000fc 0
  97. System information:
  98. Wine build: wine-6.0
  99. Platform: x86_64
  100. Version: Windows 7
  101. Host system: Linux
  102. Host version: 5.10.10-arch1-1
  103. [sobe@xy go-43886-repro]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement