[Bug go/105302] gccgo for Windows using MinGW-w64

brechtsanders at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Tue Apr 19 14:29:33 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105302

--- Comment #5 from Brecht Sanders <brechtsanders at users dot sourceforge.net> ---
The generated internal/cpu.gox looks like the below dump. Can you see what the
issue is with the magic string?
```
00000000: 6486 0100 0000 0000 5809 0000 0200 0000  d.......X.......
00000010: 0000 0500 2f34 0000 0000 0000 0000 0000  ..../4..........
00000020: 0000 0000 1c09 0000 3c00 0000 0000 0000  ........<.......
00000030: 0000 0000 0000 0000 4000 3040 7633 3b0a  ........@.0@v3;.
00000040: 7061 636b 6167 6520 6370 750a 706b 6770  package cpu.pkgp
00000050: 6174 6820 696e 7465 726e 616c 2f63 7075  ath internal/cpu
00000060: 0a69 6e69 7420 6370 7520 696e 7465 726e  .init cpu intern
00000070: 616c 5f31 6370 752e 2e69 6d70 6f72 740a  al_1cpu..import.
00000080: 7479 7065 7320 3134 2032 2033 3120 3130  types 14 2 31 10
00000090: 2032 3220 3435 2034 3031 2032 3539 2031   22 45 401 259 1
000000a0: 3531 2038 3920 3131 3220 3530 3320 3235  51 89 112 503 25
000000b0: 2032 3120 3232 0a74 7970 6520 3120 2243   21 22.type 1 "C
000000c0: 6163 6865 4c69 6e65 5061 6422 203c 7479  acheLinePad" <ty
000000d0: 7065 2034 3e0a 7479 7065 2032 2028 290a  pe 4>.type 2 ().
000000e0: 7479 7065 2033 2028 3f20 3c74 7970 6520  type 3 (? <type
000000f0: 2d31 363e 290a 7479 7065 2034 2073 7472  -16>).type 4 str
```


More information about the Gcc-bugs mailing list