Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [sobe@xy go-43886-repro]$ go version
- go version go1.15.7 linux/amd64
- [sobe@xy go-43886-repro]$ zig version
- 0.8.0-dev.1048+0cfa39304
- [sobe@xy go-43886-repro]$ cat zcc
- #!/bin/sh
- zig cc -target x86_64-windows-gnu $@
- [sobe@xy go-43886-repro]$ cat zc++
- #!/bin/sh
- zig c++ -target x86_64-windows-gnu $@
- [sobe@xy go-43886-repro]$ export PATH="$PATH:/home/sobe/zig/go-43886-repro"
- [sobe@xy go-43886-repro]$ CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC="zcc" CXX="zc++" go build main.go
- # command-line-arguments
- warning: unsupported linker arg: --compress-debug-sections=zlib-gnu
- [sobe@xy go-43886-repro]$ wine main.exe
- wine: Unhandled page fault on write access to 0000000140106488 at address 0000000140139551 (thread 00ec), starting debugger...
- Unhandled exception: page fault on write access to 0x140106488 in 64-bit code (0x0000000140139551).
- Register dump:
- rip:0000000140139551 rsp:000000000111fd20 rbp:0000000000000000 eflags:00010297 ( R- -- I S -A-P-C)
- rax:0000000000800f11 rbx:0000000002100800 rcx:000000007ed8320b rdx:00000000178bfbff
- rsi:000000000000000d rdi:00000001400d5240 r8:00000000000150a0 r9:00000000014b1490 r10:00000000014b1390
- r11:00000000014b0138 r12:0000000000000000 r13:0000000000000000 r14:00000000014b1320 r15:0000000000000001
- Stack dump:
- 0x000000000111fd20: 0000000000000000 0000000000000000
- 0x000000000111fd30: 0000000000000029 0000000000013e40
- 0x000000000111fd40: 0000000000013e40 000000014000192a
- 0x000000000111fd50: 0000000000000000 0000000000000000
- 0x000000000111fd60: 0000000000000000 0000000000000000
- 0x000000000111fd70: 0000000000000000 0000000000000000
- 0x000000000111fd80: 0000000000000000 0000000000000000
- 0x000000000111fd90: 0000000000000000 0000000000000000
- 0x000000000111fda0: 0000000000000000 0000000000000000
- 0x000000000111fdb0: 0000000000000000 0000000000000000
- 0x000000000111fdc0: 0000000000000000 0000000000000000
- 0x000000000111fdd0: 0000000000000000 0000000000000000
- Backtrace:
- =>0 0x0000000140139551 runtime.rt0_go+0x71() in main (0x0000000000000000)
- 0x0000000140139551 runtime.rt0_go+0x71 in main: movl %eax,0xfffffffffffccf31(%rip)
- Modules:
- Module Address Debug info Name (5 modules)
- PE 6a080000- 6a10d000 Deferred msvcrt
- PE 7b000000- 7b0d4000 Deferred kernelbase
- PE 7b600000- 7b811000 Deferred kernel32
- PE 7bc00000- 7bc96000 Deferred ntdll
- PE 140000000- 140333000 PDB main
- Threads:
- process tid prio (all id:s are in hex)
- 00000038 services.exe
- 0000003c 0
- 00000040 0
- 0000004c 0
- 00000050 0
- 00000070 0
- 00000088 0
- 000000b0 0
- 000000d0 0
- 000000d4 0
- 00000044 winedevice.exe
- 00000048 0
- 00000054 0
- 00000058 0
- 0000005c 0
- 00000060 plugplay.exe
- 00000064 0
- 00000074 0
- 00000078 0
- 0000007c 0
- 00000098 0
- 0000009c 0
- 00000068 explorer.exe
- 0000006c 0
- 000000bc 0
- 000000c0 0
- 00000080 winedevice.exe
- 00000084 0
- 0000008c 0
- 00000090 0
- 00000094 0
- 000000a0 0
- 000000a4 0
- 000000a8 svchost.exe
- 000000ac 0
- 000000b4 0
- 000000b8 0
- 000000c8 rpcss.exe
- 000000cc 0
- 000000d8 0
- 000000dc 0
- 000000e0 0
- 000000e4 0
- 000000f0 0
- 000000f4 0
- 000000e8 (D) Z:\home\sobe\zig\go-43886-repro\main.exe
- 000000ec 0 <==
- 000000f8 conhost.exe
- 000000fc 0
- System information:
- Wine build: wine-6.0
- Platform: x86_64
- Version: Windows 7
- Host system: Linux
- Host version: 5.10.10-arch1-1
- [sobe@xy go-43886-repro]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement