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#46901 - [binutils] 2.25.1 as tool can't assemble go optimized popcnt in popcnt_amd64.s
Attached to Project:
Arch Linux
Opened by Nicolas PLANEL (nplanel) - Wednesday, 28 October 2015, 14:48 GMT
Last edited by Allan McRae (Allan) - Thursday, 29 October 2015, 04:30 GMT
Opened by Nicolas PLANEL (nplanel) - Wednesday, 28 October 2015, 14:48 GMT
Last edited by Allan McRae (Allan) - Thursday, 29 October 2015, 04:30 GMT
|
DetailsDescription:
Binutils _as_ seems buggy as is not able to compile the optimized version of popcnt go assembly routine on x86_64. Additional info: * package version : 2.25.1-3 Steps to reproduce: wget https://raw.githubusercontent.com/golang/tools/master/container/intsets/popcnt_amd64.s as popcnt_amd64.s Output : popcnt_amd64.s: Assembler messages: popcnt_amd64.s:8: Error: no such instruction: `text ·havePOPCNT(SB),4,$0' popcnt_amd64.s:13: Error: too many memory references for `mov' popcnt_amd64.s:17: Error: no such instruction: `text ·popcnt(SB),NOSPLIT,$0-8' popcnt_amd64.s:18: Error: too many memory references for `xor' popcnt_amd64.s:19: Error: junk `(FP)' after expression popcnt_amd64.s:19: Error: too many memory references for `movq' popcnt_amd64.s:22: Error: no such instruction: `byte $0xf3' popcnt_amd64.s:23: Error: no such instruction: `byte $0x48' popcnt_amd64.s:24: Error: no such instruction: `byte $0x0f' popcnt_amd64.s:25: Error: no such instruction: `byte $0xb8' popcnt_amd64.s:26: Error: no such instruction: `byte $0xc6' popcnt_amd64.s:27: Error: too many memory references for `movq' |
This task depends upon
To reproduce (from user perspective)
# go get -u golang.org/x/tools/container/intsets
So it's not an binutils/as bug but an golang/gcc-go bug.
You can close this bug.
Thanks