Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#46906 - missing "textflag.h" / go get -u golang.org/x/tools/container/intsets failed
Attached to Project:
Arch Linux
Opened by Nicolas PLANEL (nplanel) - Thursday, 29 October 2015, 04:12 GMT
Last edited by Allan McRae (Allan) - Thursday, 29 October 2015, 06:44 GMT
Opened by Nicolas PLANEL (nplanel) - Thursday, 29 October 2015, 04:12 GMT
Last edited by Allan McRae (Allan) - Thursday, 29 October 2015, 06:44 GMT
|
DetailsDescription:
After misreport this bug as an binutils/as issue, https://bugs.archlinux.org/task/46901 It's clearly an gcc-go issue as the header file seems to not exist anymore "textflag.h" So cgo can't preprocess the file correctly Additional info: * package version : 5.2.0-2 Steps to reproduce: go get -u golang.org/x/tools/container/intsets Output : # golang.org/x/tools/container/intsets golang.org/x/tools/container/intsets/popcnt_amd64.s: Assembler messages: golang.org/x/tools/container/intsets/popcnt_amd64.s:8: Error: no such instruction: `text ·havePOPCNT(SB),4,$0' golang.org/x/tools/container/intsets/popcnt_amd64.s:13: Error: too many memory references for `mov' golang.org/x/tools/container/intsets/popcnt_amd64.s:17: Error: no such instruction: `text ·popcnt(SB),NOSPLIT,$0-8' golang.org/x/tools/container/intsets/popcnt_amd64.s:18: Error: too many memory references for `xor' golang.org/x/tools/container/intsets/popcnt_amd64.s:19: Error: junk `(FP)' after expression golang.org/x/tools/container/intsets/popcnt_amd64.s:19: Error: too many memory references for `movq' golang.org/x/tools/container/intsets/popcnt_amd64.s:22: Error: no such instruction: `byte $0xf3' golang.org/x/tools/container/intsets/popcnt_amd64.s:23: Error: no such instruction: `byte $0x48' golang.org/x/tools/container/intsets/popcnt_amd64.s:24: Error: no such instruction: `byte $0x0f' golang.org/x/tools/container/intsets/popcnt_amd64.s:25: Error: no such instruction: `byte $0xb8' golang.org/x/tools/container/intsets/popcnt_amd64.s:26: Error: no such instruction: `byte $0xc6' golang.org/x/tools/container/intsets/popcnt_amd64.s:27: Error: too many memory references for `movq' |
This task depends upon
It's a pitty that gcc-go didn't support go community asm fileformat (TEXT ·func...)
You can close this issue
Thanks for the help :)